Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
schedule:
- cron: '0 19 * * 0'

permissions:
contents: read
Comment on lines +11 to +12

Choose a reason for hiding this comment

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

P1 Badge Restore security-events write permission

Adding a top-level permissions block with only contents: read removes all other default scopes from the job. The subsequent github/codeql-action/analyze@v4 step needs security-events: write to upload SARIF results; without it the CodeQL workflow will fail when trying to publish findings. Explicitly include security-events: write (and any other required scopes) in this block so the scan can complete.

Useful? React with 👍 / 👎.

jobs:
CodeQL-Build:

Expand Down
Loading