Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-18 12:07:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-18 12:07:26 +0300
commit720d75f7f9897d7deace636e3fa74aa8dde02333 (patch)
tree331f454e1e08b2eb39954e6b1e9c657a2ac309d6 /scripts/process_custom_semgrep_results.sh
parentddc372c412ed3f9566b717a39a9a3dcf68dc795f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/process_custom_semgrep_results.sh')
-rwxr-xr-xscripts/process_custom_semgrep_results.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/process_custom_semgrep_results.sh b/scripts/process_custom_semgrep_results.sh
index 1fdd8e486f3..0eccef00973 100755
--- a/scripts/process_custom_semgrep_results.sh
+++ b/scripts/process_custom_semgrep_results.sh
@@ -22,7 +22,7 @@ jq -crM '.vulnerabilities |
echo "Resulting file:"
cat findings.txt
-EXISTING_COMMENT_ID=$(curl "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/notes" \
+EXISTING_COMMENT_ID=$(curl "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/notes?per_page=100" \
--header "Private-Token: $CUSTOM_SAST_RULES_BOT_PAT" |
jq -crM 'map( select( .author.id == (env.BOT_USER_ID | tonumber) ) | .id ) | first')