You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trigger-prepare-release job failed because the downstream prepare-release.yml workflow in devcontainer-smoke-test attempted to commit the CHANGELOG freeze directly to the dev branch using ${{ github.token }} (the default GITHUB_TOKEN), but the dev branch ruleset blocks direct pushes.
Failure chain
repository-dispatch.yml (smoke-test)
└─ trigger-prepare-release
└─ dispatches → prepare-release.yml (smoke-test)
└─ "Prepare Release Branch" job
└─ step 8: "Commit prepared CHANGELOG to dev via API"
└─ vig-os/commit-action → BLOCKED by ruleset
Root cause
The smoke-test repo's prepare-release.yml (sourced from the workspace template at assets/workspace/.github/workflows/prepare-release.yml) uses ${{ github.token }} for the vig-os/commit-action step:
# workspace template (prepare-release.yml, line 202-204)
- name: Commit prepared CHANGELOG to dev via APIuses: vig-os/commit-action@...env:
GH_TOKEN: ${{ github.token }} # ← default GITHUB_TOKEN
The dev branch has a "Dev protection" ruleset (ID 13444890) requiring:
Changes made through a pull request
Required status check "CI Summary"
The only bypass actor is integration 2433383 (the Commit App). Since GITHUB_TOKEN is not the Commit App, the commit is rejected:
Repository rule violations found
Changes must be made through a pull request.
Required status check "CI Summary" is expected.
In contrast, the devcontainer repo's ownprepare-release.yml correctly generates a Commit App Token and uses it:
The "Dev protection" ruleset was likely added (or had its bypass actors misconfigured) after the workspace template was deployed to the smoke-test repo. The workspace template was never updated to use Commit App tokens, creating a drift between the devcontainer repo's own workflow and its template.
Activity
c-vigo commentedon Mar 20, 2026
Root Cause Analysis
Summary
The
trigger-prepare-releasejob failed because the downstreamprepare-release.ymlworkflow indevcontainer-smoke-testattempted to commit the CHANGELOG freeze directly to thedevbranch using${{ github.token }}(the defaultGITHUB_TOKEN), but thedevbranch ruleset blocks direct pushes.Failure chain
Root cause
The smoke-test repo's
prepare-release.yml(sourced from the workspace template atassets/workspace/.github/workflows/prepare-release.yml) uses${{ github.token }}for thevig-os/commit-actionstep:The
devbranch has a "Dev protection" ruleset (ID13444890) requiring:The only bypass actor is integration
2433383(the Commit App). SinceGITHUB_TOKENis not the Commit App, the commit is rejected:In contrast, the devcontainer repo's own
prepare-release.ymlcorrectly generates a Commit App Token and uses it:Why it worked before / why it broke now
The "Dev protection" ruleset was likely added (or had its bypass actors misconfigured) after the workspace template was deployed to the smoke-test repo. The workspace template was never updated to use Commit App tokens, creating a drift between the devcontainer repo's own workflow and its template.
State after failure
chore/deploy-0.3.1-rc8): merged successfully — no cleanup neededrelease/0.3.1branch: not created (step skipped after commit failure)Fix
Update
assets/workspace/.github/workflows/prepare-release.ymlto match the devcontainer repo's approach:Generate Commit App Tokenstep usingCOMMIT_APP_ID/COMMIT_APP_PRIVATE_KEYsecretsGH_TOKEN: ${{ github.token }}references in thepreparejob withGH_TOKEN: ${{ steps.commit-app-token.outputs.token }}Generate Release App Tokenstep for PR creation (matching devcontainer's pattern)devcontainer-smoke-testfix(ci): require app tokens in downstream release templates
fix(ci): address copilot follow-ups for release token routing
fix(ci): require app tokens in downstream release templates (#401)
chore: release 0.3.1 (#342)