Skip to content

Commit d2692e9

Browse files
committed
Ensure that a semgrep failure does not stop the workflow
1 parent cf58e83 commit d2692e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/action_scanning.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
repository: 'google/github-team'
2626
path: action_scanning
2727
- name: 'Run Actions semgrep scan'
28-
run: 'semgrep scan --sarif --config action_scanning/semgrep-rules --config "p/github-actions"
29-
>> semgrep-results-actions.sarif'
28+
run: 'semgrep scan --sarif --config action_scanning/semgrep-rules --config "p/github-actions" --sarif-output semgrep-results-actions.sarif'
3029
- name: 'Save Actions SARIF results as artifact'
3130
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # ratchet:actions/upload-artifact@v4
3231
with:

0 commit comments

Comments
 (0)