Skip to content

Commit 7c72aee

Browse files
mchmarnyclaude
andcommitted
fix: make SARIF upload graceful when code scanning unavailable
Add continue-on-error to the CodeQL upload-sarif step so the workflow doesn't fail if GitHub Advanced Security code scanning isn't enabled or accessible. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f4d5876 commit 7c72aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/actions/security-scan/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ runs:
7575
with:
7676
sarif_file: ${{ inputs.output_file }}
7777
category: ${{ inputs.category }}
78+
continue-on-error: true # Don't fail if code scanning is unavailable

0 commit comments

Comments
 (0)