We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89b95b commit 309f421Copy full SHA for 309f421
.github/workflows/build.yml
@@ -263,14 +263,10 @@ jobs:
263
summary: true
264
only-fixed: false
265
266
- - name: Trim SARIF to satisfy GitHub limit (max 1000 relatedLocations)
+ - name: Trim SARIF to satisfy GitHub limit (remove relatedLocations)
267
run: |
268
- jq '(.runs[].results[] |=
269
- if .relatedLocations and (.relatedLocations | length) > 1000
270
- then .relatedLocations = (.relatedLocations[:1000])
271
- else .
272
- end
273
- )' sast_docker_scout_sarif.json > sast_docker_scout_sarif_trimmed.json
+ jq 'del(.. | .relatedLocations?)' sast_docker_scout_sarif.json \
+ > sast_docker_scout_sarif_trimmed.json
274
275
- name: Upload Docker Scout SARIF file as artifact
276
uses: actions/upload-artifact@v4
0 commit comments