Skip to content

fix: add security-events permission to self-scan and docs#352

Merged
sonukapoor merged 1 commit into
mainfrom
fix/self-scan-sarif-permissions
May 14, 2026
Merged

fix: add security-events permission to self-scan and docs#352
sonukapoor merged 1 commit into
mainfrom
fix/self-scan-sarif-permissions

Conversation

@sonukapoor
Copy link
Copy Markdown
Collaborator

@sonukapoor sonukapoor commented May 14, 2026

The self-scan-action job was failing because github/codeql-action/upload-sarif requires security-events: write on the calling job — it cannot be satisfied inside the composite action itself.

Updated website/docs/sarif.md and website/docs/workflow-integration.md to show the full job block with the required permissions declaration, so users know where to put it.

Closes #353

@sonukapoor sonukapoor merged commit 96ada36 into main May 14, 2026
6 checks passed
@sonukapoor sonukapoor deleted the fix/self-scan-sarif-permissions branch May 14, 2026 11:26
The self-scan-action job was missing the security-events: write permission
required by github/codeql-action/upload-sarif. Also updated the SARIF and
workflow-integration docs to show the full job with the required permission
block, so users know it must be declared in the calling workflow.
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.

fix: self-scan-action CI job fails due to missing security-events permission

1 participant