Skip to content

Commit f5a14de

Browse files
authored
Ensure that a semgrep failure does not stop the workflow (#29)
1 parent cf58e83 commit f5a14de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/action_scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
path: action_scanning
2727
- name: 'Run Actions semgrep scan'
2828
run: 'semgrep scan --sarif --config action_scanning/semgrep-rules --config "p/github-actions"
29-
>> semgrep-results-actions.sarif'
29+
--sarif-output semgrep-results-actions.sarif || true'
3030
- name: 'Save Actions SARIF results as artifact'
3131
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # ratchet:actions/upload-artifact@v4
3232
with:

0 commit comments

Comments
 (0)