Skip to content

feat: add SARIF output and GitHub Code Scanning upload to self-scan workflow#347

Merged
sonukapoor merged 8 commits into
mainfrom
feature/issue-346-self-scan-sarif
May 13, 2026
Merged

feat: add SARIF output and GitHub Code Scanning upload to self-scan workflow#347
sonukapoor merged 8 commits into
mainfrom
feature/issue-346-self-scan-sarif

Conversation

@sonukapoor
Copy link
Copy Markdown
Collaborator

Adds sarif: "true" to the self-scan action job and uploads the result to GitHub Code Scanning via github/codeql-action/upload-sarif@v3.

if: always() on the upload step ensures findings are surfaced even when the scan exits non-zero due to --fail-on high.

Closes #346

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@sonukapoor sonukapoor merged commit 0adde65 into main May 13, 2026
6 checks passed
@sonukapoor sonukapoor deleted the feature/issue-346-self-scan-sarif branch May 13, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use --sarif in self-scan workflow and upload to GitHub Code Scanning

2 participants