Skip to content

Add a loglevel input to the publish workflow#8

Merged
Acro merged 1 commit into
masterfrom
publish-loglevel-input
Jul 24, 2026
Merged

Add a loglevel input to the publish workflow#8
Acro merged 1 commit into
masterfrom
publish-loglevel-input

Conversation

@Acro

@Acro Acro commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Two 3.0.0 publish attempts have now failed with E403 Forbidden - PUT https://registry.npmjs.org/simple-builder at the very last step, after all five gates pass. npm's default notice output says nothing about the OIDC exchange — there's no way to tell from the log whether npm attempted it, or what the registry objected to. Both prior hypotheses (the NODE_AUTH_TOKEN env, then the _authToken line registry-url writes) are now ruled out: the guard step confirms no credential is configured and the 403 is unchanged.

Exposes the npm loglevel as a workflow_dispatch choice (notice / verbose / silly) so a publish can be re-run with verbose output without editing this file under time pressure — and so future releases stay debuggable.

release events pass no inputs, hence the || 'notice' fallback. The value goes through env: rather than being interpolated into the script body, matching the existing tag guard's handling.

No source or test changes.

🤖 Generated with Claude Code

Two 3.0.0 publish attempts have now failed with `E403 Forbidden - PUT` at
the very last step, and npm's default `notice` output says nothing at all
about the OIDC exchange — there is no way to tell from the log whether npm
attempted it, or what the registry objected to.

Expose the npm loglevel as a workflow_dispatch choice so a publish can be
re-run with `verbose` (or `silly`) without editing this file under time
pressure. `release` events pass no inputs, hence the `|| 'notice'` fallback,
and the value goes through `env:` rather than being interpolated into the
script body.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Acro
Acro merged commit b0ad136 into master Jul 24, 2026
8 checks passed
@Acro
Acro deleted the publish-loglevel-input branch July 24, 2026 20:57
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