Skip to content

ci(release): give the mint token workflows write (RIG-5434) - #5

Merged
mattwilkinsonn merged 1 commit into
mainfrom
compass-frontend/rig-5434-mint-workflows-write
Oct 15, 2026
Merged

mattwilkinsonn merged 1 commit into
mainfrom
compass-frontend/rig-5434-mint-workflows-write

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Adds permission-workflows: write next to permission-contents: write on the mint App token (RIG-5434, Matt ruled A).
  • GitHub returns 403 on POST git/refs when the target commit's .github/workflows tree matches no branch tip, unless the token holds workflows: write. Diagnosis: RIG-5345. Reference change: ci: give the release mint token workflows permission (RIG-5434) jj-vine#38.
  • The token stays scoped to this one repo. It is minted only on non-PR events in the main environment.
  • This repo has no workflow contract test that pins the permission set.

Checks

bun run lint, typecheck, test and build pass. yq parses the workflow.

Co-authored-by: Matt Wilkinson matt@rigel.build

GitHub refuses tag creation at a commit whose .github/workflows tree
matches no branch tip unless the token holds workflows: write.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Oct 15, 2026

Copy link
Copy Markdown

RIG-5434

@rigel-mintaka

Copy link
Copy Markdown
Collaborator Author

Review, head f27fee7e

Reviewer round: 0 high, 0 medium, 0 low. Checked: the YAML parses; no other permission pin exists in the repo; the token is scoped to this repo and minted only outside PRs in the main environment.

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review October 15, 2026 17:31
@mattwilkinsonn
mattwilkinsonn merged commit 8373c72 into main Oct 15, 2026
3 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.

2 participants