Skip to content

fix: Add explicit permissions to workflow files#7121

Merged
BYK merged 1 commit intomainfrom
fix/add-workflow-permissions
Feb 10, 2026
Merged

fix: Add explicit permissions to workflow files#7121
BYK merged 1 commit intomainfrom
fix/add-workflow-permissions

Conversation

@BYK
Copy link
Member

@BYK BYK commented Feb 10, 2026

Summary

Resolves all 3 open code-scanning alerts.

Add least-privilege permissions blocks to the 3 workflows flagged by
CodeQL (alerts #2, #5, #6) for missing-workflow-permissions:

- test.yml: contents: read
- publish.yml: contents: read, issues: write
- auto-approve.yml: contents: read
@BYK BYK marked this pull request as ready for review February 10, 2026 22:34
@BYK BYK requested a review from a team as a code owner February 10, 2026 22:34
@BYK BYK merged commit 0269363 into main Feb 10, 2026
7 checks passed
@BYK BYK deleted the fix/add-workflow-permissions branch February 10, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant