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
Fix GitHub workflow token permissions for security compliance (#4992)
* Initial plan
* Fix GitHub workflow token permissions for code scanning compliance
- Add top-level `permissions: contents: read` to 6 workflows (api.yml, documentation.yml, linkspector.yml, main.yml, sbom.yml, ui.yml)
- Fix dependabot.yml: move write permissions from top-level to job-level
- Add job-level `contents: write` permission to documentation.yml for git push operations
All workflows now follow best practices:
- Top-level permissions set as read-all or contents: read
- Write permissions only at job-level where needed
- No permissions: write-all at job level
Co-authored-by: ademidoff <81549+ademidoff@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ademidoff <81549+ademidoff@users.noreply.github.com>
0 commit comments