Repository navigation
Commit bf7db27
committed
ci: stop setup-node writing a token that preempts the OIDC exchange
`registry-url` makes setup-node write `_authToken=${NODE_AUTH_TOKEN}` to the
job's npmrc. Nothing sets that variable now, so npm read a credential, treated
auth as configured, skipped the exchange and sent the placeholder:
"Unable to authenticate, your authentication token seems to be invalid"
(actions/setup-node#1551). registry.npmjs.org is the default, so dropping the
input changes nothing else.
A token reaching the npmrc again fails the job naming the file, rather than
reappearing as a 401 from the registry.
The dist-tag failure now says a configuration has to name this workflow file:
they are keyed on the filename and grant dist-tag per configuration, so the one
covering publish.yaml authorizes nothing here.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y4EZAEvxLfXuMeNz5ZgCMz1 parent 1f2a12f commit bf7db27
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
37 | 48 | | |
38 | 49 | | |
39 | 50 | | |
40 | | - | |
| 51 | + | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
| |||
0 commit comments