Skip to content

Commit 21c8c1c

Browse files
piotrskiclaude
andcommitted
fix: enable OIDC provenance for canary snapshot publish
Without NPM_CONFIG_PROVENANCE=true, npm doesn't attempt OIDC auth and immediately fails with ENEEDAUTH. The job already has id-token: write so the OIDC exchange will work once provenance is enabled. Note: the trusted publisher config on npmjs.com also needs to be updated from piotrski/agent-react-devtools to callstackincubator/agent-react-devtools to match the repo move. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 503b17a commit 21c8c1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858

5959
- name: Publish canary snapshot
6060
if: steps.changesets.outputs.published != 'true'
61+
env:
62+
NPM_CONFIG_PROVENANCE: true
6163
run: |
6264
git checkout ${{ github.sha }}
6365
bun install

0 commit comments

Comments
 (0)