-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
area:ciCI/CD, GitHub Actions, workflowsCI/CD, GitHub Actions, workflowschoreGeneral tasks (e.g. update dependencies, contact a manufacturer, read a paper)General tasks (e.g. update dependencies, contact a manufacturer, read a paper)priority:blockingBlocks other work or a releaseBlocks other work or a release
Description
Chore Type
CI / Build change
Description
prepare-release.yml currently uses a single RELEASE_APP token for both git/ref writes and PR operations in the prepare job.
This fails on protected dev branch rules when attempting to commit CHANGELOG.md directly:
- Repository rule violations found
- Changes must be made through a pull request
- Required status check "Test Summary" is expected
Workflow run reference: https://github.com/vig-os/devcontainer/actions/runs/22999412063
Acceptance Criteria
-
prepare-release.ymlgenerates two app tokens in thepreparejob:COMMIT_APP_*token for git/ref operations (commit-action, ref create/update/delete)RELEASE_APP_*token for PR/label/comment operations
- Steps that write to
refs/heads/devand release branch refs useCOMMIT_APPtoken - PR creation and PR metadata operations use
RELEASE_APPtoken - Workflow succeeds without branch-protection/repository-rule violation in release preparation path
Implementation Notes
- Mirror the auth split already documented/used in
.github/workflows/sync-main-to-dev.yml:- COMMIT app = least-privilege git/ref identity
- RELEASE app = pull-request scoped operations
- Primary target:
.github/workflows/prepare-release.yml
Related Issues
None identified.
Priority
Critical
Changelog Category
No changelog needed
Additional Context
Failure excerpt from run:
- "Repository rule violations found"
- "Changes must be made through a pull request"
Prepare Release Branchfailed while committing preparedCHANGELOG.mdtodev.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:ciCI/CD, GitHub Actions, workflowsCI/CD, GitHub Actions, workflowschoreGeneral tasks (e.g. update dependencies, contact a manufacturer, read a paper)General tasks (e.g. update dependencies, contact a manufacturer, read a paper)priority:blockingBlocks other work or a releaseBlocks other work or a release