Skip to content

Commit 22417b2

Browse files
committed
Ensure that semgrep always returns true so that we are not actually blocking the PRs.
1 parent cf58e83 commit 22417b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/action_scanning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +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"
28+
run: 'semgrep scan --sarif --config action_scanning/semgrep-rules --config "p/github-actions" || true
2929
>> semgrep-results-actions.sarif'
3030
- name: 'Save Actions SARIF results as artifact'
3131
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # ratchet:actions/upload-artifact@v4

0 commit comments

Comments
 (0)