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
{{ message }}
Repository navigation
[FEATURE] release-extension seam: GITHUB_TOKEN ceiling blocks id-token/attestations (provenance attestation cannot live in the extension point) #1144
The managed release.yml calls the release-extension.yml consumer seam with no job-level permissions: block, so the called workflow runs under the caller's workflow-level grant (contents: read, packages: read). GitHub never lets a called reusable workflow ELEVATE the caller's GITHUB_TOKEN — job-level permissions in the callee can only downgrade.
Consequence: any extension step needing more than read (e.g. actions/attest-build-provenance, which requires id-token: write + attestations: write) is silently denied. Found while porting sync-issues-action's provenance attestation into the seam during its devkit adoption (vig-os/sync-issues-action#106) — the attestation had to be re-homed in a consumer-owned tag-push workflow (attest-release.yml) instead, where the job owns its token grant.
Acceptance Criteria
Decide the seam's permission contract: either grant the extension job a documented broader ceiling (e.g. add id-token: write, attestations: write — still deny-by-default at the callee), or explicitly document that write-scoped extensions belong in consumer-owned tag-push/post-release workflows
Document the pattern in the release extension docs either way
Additional Context
The seam grant lives in the managed release.ymlextension: job (no permissions: → workflow default applies).
Workaround shipping in sync-issues-action: attest-release.yml on push: tags: v*.*.* with its own id-token: write + attestations: write grant.
Resolved on dev via #1148 (merge commit 557add0) — option A. The scaffolded release.ymlextension caller job now grants the seam a documented token ceiling (contents: read, packages: write, id-token: write, attestations: write); ceiling-not-grant, default no-op stays read-only, consumers opt in per job. Documented in docs/DOWNSTREAM_RELEASE.md. Ships with the next devkit release.
Activity
test(workflow): assert release-extension seam token ceiling
feat(workflow): raise release-extension seam token ceiling
feat(workflow): raise release-extension seam token ceiling (#1148)
c-vigo commentedon Jul 16, 2026
Resolved on
devvia #1148 (merge commit 557add0) — option A. The scaffoldedrelease.ymlextensioncaller job now grants the seam a documented token ceiling (contents: read,packages: write,id-token: write,attestations: write); ceiling-not-grant, default no-op stays read-only, consumers opt in per job. Documented indocs/DOWNSTREAM_RELEASE.md. Ships with the next devkit release.chore: release 1.3.1 (#270)
build(devkit): adopt devkit 1.3.1
build(devkit): adopt vigOS devkit 1.3.1 in direnv mode
ci(release): move dist attestation into release-extension seam
chore: release 1.3.1 (#1164)
build(devkit): adopt devkit 1.3.1 (#106)
chore(devkit): bump to 1.3.1 + migrate attestation into release-exten…
chore: release 0.3.2 (#136)
chore: release 0.4.1 (#166)
ci(actions): update github-actions (minor and patch) (#1368)