Skip to content

Set default workflow token permissions to read-only - #6

Closed
mattias-kindborg-at-work wants to merge 1 commit into
masterfrom
ossf-scorecard/token-permissions
Closed

Set default workflow token permissions to read-only#6
mattias-kindborg-at-work wants to merge 1 commit into
masterfrom
ossf-scorecard/token-permissions

Conversation

@mattias-kindborg-at-work

Copy link
Copy Markdown
Member

This pull request applies the OSSF Scorecard Token-Permissions remedy.

It sets the default workflow token to read-only by adding a top-level permissions block to workflows that lacked one:

  • .github/workflows/ci.yml

Any job that needs more than read access must be granted those permissions at the job level, otherwise it may fail.

See the OSSF Scorecard guidance for details.

@mattias-kindborg-at-work
mattias-kindborg-at-work deleted the ossf-scorecard/token-permissions branch August 19, 2026 06:05
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.

1 participant