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
could not create workflow dispatch event: HTTP 403: Resource not accessible by integration
(https://api.github.com/repos/vig-os/devcontainer-smoke-test/actions/workflows/248843304/dispatches)
The RELEASE_APP GitHub App lacks actions:write permission on devcontainer-smoke-test.
The redesigned repository-dispatch.yml (PR #360, merged Mar 19) added trigger-prepare-release and trigger-release jobs that call gh workflow run to dispatch downstream workflows. The Actions API endpoint POST /repos/{owner}/{repo}/actions/workflows/{id}/dispatches requires actions:write on the calling token. The RELEASE_APP was only configured with contents, issues, and pull_requests read/write — actions was never included.
Why was this not caught earlier?
Run date
Run ID
Workflow version
Outcome
Mar 13
23072314370
Old (3 jobs: Validate, Deploy, Summary)
Success — no workflow dispatch needed
Mar 17
23206472689
Old (4 jobs)
Deploy/"Run installer" failed → trigger-prepare-release never existed
Mar 18
23234510565
Old (4 jobs)
"Publish smoke-test release artifact" failed → same
Mar 19
23304352254
New (9 jobs, post-redesign)
Deploy path fixed → first time trigger-prepare-release ran → HTTP 403
Mar 20 ×3
23333150355 / 23335664018 / 23339858643
New
Same 403 on trigger-prepare-release
The redesign shipped new orchestration jobs that exercise a permission (actions:write) the App never had. Earlier failures at the Deploy stage masked this gap.
A downstream re-dispatch using the latest RC reached a different failure point, which confirms the original trigger-prepare-release dispatch-permission problem from this issue is fixed.
Activity
c-vigo commentedon Mar 20, 2026
Root Cause Analysis
Error
Failing step:
trigger-prepare-release→ step 5 "Trigger prepare-release" (gh workflow run prepare-release.yml)Root Cause
The
RELEASE_APPGitHub App lacksactions:writepermission ondevcontainer-smoke-test.The redesigned
repository-dispatch.yml(PR #360, merged Mar 19) addedtrigger-prepare-releaseandtrigger-releasejobs that callgh workflow runto dispatch downstream workflows. The Actions API endpointPOST /repos/{owner}/{repo}/actions/workflows/{id}/dispatchesrequiresactions:writeon the calling token. The RELEASE_APP was only configured withcontents,issues, andpull_requestsread/write —actionswas never included.Why was this not caught earlier?
2307231437023206472689trigger-prepare-releasenever existed2323451056523304352254trigger-prepare-releaseran → HTTP 40323333150355/23335664018/23339858643trigger-prepare-releaseThe redesign shipped new orchestration jobs that exercise a permission (
actions:write) the App never had. Earlier failures at the Deploy stage masked this gap.Documented vs Required Permissions
docs/RELEASE_CYCLE.mddocuments RELEASE_APP with:The new orchestration additionally requires: Actions read/write (for
gh workflow run/ workflow_dispatch API).Fix
Actions: Read and writeto the RELEASE_APP installation onvig-os/devcontainer-smoke-test.docs/RELEASE_CYCLE.mdto include the newActions read/writepermission requirement.0.3.1-rc9(or later) to validate the fix end-to-end.docs(ci): document RELEASE_APP actions permission for downstream disp…
docs(ci): add release app permission note to changelog
c-vigo commentedon Mar 20, 2026
Closing this as resolved.
A downstream re-dispatch using the latest RC reached a different failure point, which confirms the original
trigger-prepare-releasedispatch-permission problem from this issue is fixed.Evidence run:
Any new failure in that run should be tracked separately.
docs(ci): document release app actions permission for downstream disp…
chore: release 0.3.1 (#342)