Skip to content

Grant explicit permissions to bump-plutus-version workflow#78

Merged
zeme-wana merged 2 commits into
mainfrom
lorenzo/great-liskov-96d187
May 21, 2026
Merged

Grant explicit permissions to bump-plutus-version workflow#78
zeme-wana merged 2 commits into
mainfrom
lorenzo/great-liskov-96d187

Conversation

@zeme-wana
Copy link
Copy Markdown
Collaborator

@zeme-wana zeme-wana commented May 21, 2026

Summary

Adds an explicit workflow-level permissions: block to .github/workflows/bump-plutus-version.yml:

permissions:
  contents: write
  pull-requests: write

zeme-wana added 2 commits May 21, 2026 10:52
The workflow uses peter-evans/create-pull-request and
peter-evans/enable-pull-request-automerge, which require contents:write
(to push the bump branch) and pull-requests:write (to open the PR and
toggle auto-merge). Declaring the permissions explicitly at the workflow
level makes the requirement self-evident and survives any future
tightening of the repository default GITHUB_TOKEN scopes.

The build-devcontainer workflow is left untouched since it only checks
out and runs docker -- it needs no write access.
@zeme-wana zeme-wana merged commit 96f9ef9 into main May 21, 2026
7 checks passed
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