Repository navigation
fix: grant packages: read on reusable-calling release jobs - #948
Merged
Merged
Conversation
#920 added packages: read to the reusable release workflows' (release-core, release-publish) jobs so they can pull the authenticated GHCR image, but the reusable-workflow-calling jobs (core, publish) in the scaffold release.yml were not updated to grant it. A reusable workflow cannot request a permission its calling job did not grant, so a consumer release run fails with startup_failure. Grant packages: read on both callers (release-extension requests none; the extension caller inherits the workflow-level default). Verified: each caller's grant is now a superset of its callee's requested scopes. Refs: #947
This was referenced Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#920 added
packages: readto the reusable release workflows' jobs (release-corex3,release-publishx2) to pull the authenticated GHCR image, but the reusable-calling jobs (core,publish) in the scaffoldrelease.ymlweren't updated to grant it. A reusable workflow can't request a permission its calling job didn't grant → a consumer release run fails withstartup_failure.Surfaced by the 0.5.0-rc1 smoke-test's downstream release orchestration (release run startup_failure). Worked in 0.4.1 (no
packages: readanywhere). Never caught upstream (the devcontainer repo's own release.yml is monolithic; the split lives only in the shipped scaffold). Refs #943.Fix
Grant
packages: readon thecoreandpublishcalling jobs. Verified each caller's grant is now a superset of its callee's requested scopes:promote-release.ymlaudited: it calls no reusables and already setspackages: readwhere needed — no change.Refs: #947