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
ci: apply least-privilege permissions to all workflows
Move write permissions from workflow-level to job-level to satisfy
OpenSSF Scorecard Token-Permissions check. This follows the principle
of least privilege - workflows default to read-all, and only specific
jobs that need write access declare it.
Changed workflows:
- claude.yml: id-token: write moved to job level
- claude-code-review.yml: consistent read-all at workflow level
- codeql.yml: security-events: write moved to job level
- labeler.yml: pull-requests: write moved to job level
- pr-tests.yml: pull-requests: write, statuses: write moved to job level
- release.yml: contents: write already at job level, workflow to read-all
- stale.yml: issues: write, pull-requests: write moved to job level
- unity-tests.yml: checks: write moved to job level
Signed-off-by: Jason Xu <jasonxudeveloper@gmail.com>
Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
0 commit comments