Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.

chore(ci): limit workflow token permissions - #9

Merged
dargmuesli merged 1 commit into
masterfrom
chore/ci/workflow-permissions
Oct 27, 2026
Merged

dargmuesli merged 1 commit into
masterfrom
chore/ci/workflow-permissions

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

The workflow declared no permissions block, so the GITHUB_TOKEN ran with the repository's default permissions. The jobs only read the checkout, so the workflow now pins permissions to contents: read.

The workflow only reads the checkout, so pin the GITHUB_TOKEN to
contents: read instead of relying on the repository defaults.
@dargmuesli
dargmuesli merged commit b719319 into master Oct 27, 2026
4 checks passed
@dargmuesli
dargmuesli deleted the chore/ci/workflow-permissions branch October 27, 2026 02:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant