Skip to content

fix: grant security-events write permission to the CodeQL workflow - #808

Merged
rustatian merged 1 commit into
masterfrom
fix/codeql-upload-permissions
Aug 21, 2026
Merged

fix: grant security-events write permission to the CodeQL workflow#808
rustatian merged 1 commit into
masterfrom
fix/codeql-upload-permissions

Conversation

@rustatian

Copy link
Copy Markdown
Collaborator

CodeQL runs on master (push and scheduled) have been failing since June 12 at the final SARIF upload step with Resource not accessible by integration, for example https://github.com/temporalio/roadrunner-temporal/actions/runs/32476971204. The default workflow token became read-only around that date, and the workflow has no permissions block, so the upload to code scanning lacks security-events: write. Pull request runs still pass because code scanning accepts PR uploads on public repositories with a read-only token, which is why only push and scheduled runs are affected.

This grants the analyze job contents: read and security-events: write, restoring the upload for push and scheduled runs while keeping the restrictive default for everything else.

Copilot AI lite review requested due to automatic review settings August 21, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rustatian rustatian self-assigned this Aug 21, 2026
@rustatian
rustatian merged commit e7ba4b3 into master Aug 21, 2026
12 checks passed
@rustatian
rustatian deleted the fix/codeql-upload-permissions branch August 21, 2026 12:22
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.

3 participants