You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declare minimum GITHUB_TOKEN permissions for the twenty validation and CI jobs currently relying on repository defaults, while preserving fork safety, self-hosted-runner isolation, coverage, and label automation.
Background
CodeQL reports twenty missing-permission findings across validation workflows. Current repository and fork pull-request tokens are read-only, so no present write-token exploit was demonstrated. This is p3 CI hardening against a future default change or higher-tier pivot.
Scope
Build a permission matrix for all twenty affected jobs.
Add explicit minimum workflow- or job-level permissions.
Preserve fork, coverage, label, generated-PR, and self-hosted container behavior.
Confirm all twenty scoped CodeQL alerts close after merge.
Acceptance criteria
All twenty jobs declare explicit minimum permissions.
Jobs needing no token permissions receive none, and every non-empty grant has a documented consumer.
Fork pull requests cannot access write permissions or protected secrets.
Self-hosted runner and cache boundaries do not create an undocumented release pivot.
Activity
docs(issues): align the security specs with the issue template
docs(issues): align the security specs with the issue template
Merge #2498: docs(security): [#2493] triage GitHub security findings