Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [main]

permissions:
security-events: write
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

question: are we removing read permissions by only allowing security-events: write?

Copy link
Copy Markdown
Contributor Author

@AdnaneKhan AdnaneKhan Dec 12, 2025

Choose a reason for hiding this comment

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

For public repositories read permissions on the GitHub Token are not required because the endpoints work without any AuthN/AuthZ, with the exception of unique keys like models: read (for AI inference with GitHub models) and packages: read (for workflows that run container jobs).


jobs:
analyze:
name: Analyze
Expand Down
Loading