Skip to content

docs(release): name the Allowed-actions trap in the trusted-publisher notes - #2

Merged
Lenoux01 merged 1 commit into
mainfrom
docs/release-allowed-actions
Sep 9, 2026
Merged

Lenoux01 merged 1 commit into
mainfrom
docs/release-allowed-actions

Conversation

@Lenoux01

@Lenoux01 Lenoux01 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Comment-only change to the trusted-publisher notes in release.yml.

Why: nextup v0.1.2 and v0.1.3 release runs failed with 403 OIDC permission denied for this action after the provenance statement was signed, with a trusted-publisher configuration that matched every field the header lists. The missing piece is npm's "Allowed actions" field: configurations created after 2026-09-03 default to npm stage publish only, while this workflow runs npm publish. Configurations created before 2026-05-20 got npm publish automatically, which is why the identical file publishes @hansenexus/mechanics and not @hansenexus/nextup.

What: the header now lists Allowed actions: npm publish (ticked) next to the other four fields and describes the default and the symptom, so the next package set up from this template does not hit it.

No workflow logic changes. Source: npm docs, Trusted publishing for npm packages.

🤖 Generated with Claude Code

… notes

The header lists the four fields a trusted publisher needs, and a release
run configured exactly that way still failed with
`403 OIDC permission denied for this action` after the provenance was
signed. The fifth field, "Allowed actions", defaults to `npm stage publish`
only for configurations created after 2026-09-03, and this workflow runs
`npm publish`. Older configurations (before 2026-05-20) got `npm publish`
automatically, which is why the same file publishes one package and not
another. The comment now names the field, the default, and the symptom.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Lenoux01
Lenoux01 merged commit 964ce2f into main Sep 9, 2026
3 checks passed
@Lenoux01
Lenoux01 deleted the docs/release-allowed-actions branch September 9, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant