Skip to content

Grant the cut token workflow permission and make the cut resumable - #3

Merged
lorisleiva merged 1 commit into
mainfrom
fix/workflow-permission-and-resume
Aug 28, 2026
Merged

Grant the cut token workflow permission and make the cut resumable#3
lorisleiva merged 1 commit into
mainfrom
fix/workflow-permission-and-resume

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

Second rehearsal finding: pushes touching .github/workflows/* require the app to hold the Workflows permission, so the cut's RELEASE_VERSION edit on main.yml was rejected (GH013 … without \workflows` permission). The contents token now requests permission-workflows: write(requires the Workflows permission to be added to the app installation). The cut also becomes resumable: when the maintenance branch already exists butmainis not yet in pre-release mode — exactly the state a mid-cut failure leaves behind — it resumes from themain` step instead of failing.

@lorisleiva
lorisleiva merged commit d73e74d into main Aug 28, 2026
@lorisleiva
lorisleiva deleted the fix/workflow-permission-and-resume branch August 28, 2026 11:28
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