Skip to content

fix: adding required permissions to top level and jobs in the workflow - #1182

Open
gaganhr94 wants to merge 1 commit into
containernetworking:mainfrom
gaganhr94:fix/token-permissions
Open

fix: adding required permissions to top level and jobs in the workflow#1182
gaganhr94 wants to merge 1 commit into
containernetworking:mainfrom
gaganhr94:fix/token-permissions

Conversation

@gaganhr94

Copy link
Copy Markdown

Currently the score for the Token Permissions is 0 because the top level permissions and a few job level permissions are missing in the workflows. With this change, the score will move to 10, since the workflow jobs will run with the minimal permissions. The PR retains conditions like write only at the job level, where it is necessary.

Fixes #1181

Signed-off-by: Gagan H R <hrgagan4@gmail.com>
@gaganhr94
gaganhr94 force-pushed the fix/token-permissions branch from 47c40fa to 7b7931e Compare April 19, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve OSSF Scorecard Token-Permissions check by tightening GitHub Actions permissions

1 participant