Skip to content

Commit 4951d66

Browse files
cote-starclaude
andcommitted
ci: point npm publish at AGENT_CHORUS_CI secret
The historical NPM_TOKEN secret returned E404 on v0.12.2's publish attempt (see run 24665699276 `package-node` job log) because its npm-side scope did not cover the agent-chorus package. A fresh "Automation" token with 2FA bypass was provisioned and stored as AGENT_CHORUS_CI; switching the env binding over so the next release hits a credential that can actually PUT to registry.npmjs.org for this package. No other changes. NPM_TOKEN can be deleted from the repo secrets page as a follow-up once v0.13.0 verifies publish end-to-end. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 362e79e commit 4951d66

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ jobs:
7979
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && steps.npm_package_check.outputs.exists != 'true' }}
8080
continue-on-error: true
8181
env:
82-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
82+
# Uses AGENT_CHORUS_CI (npm "Automation" token, 2FA-bypassed,
83+
# scoped to the agent-chorus package). Historical NPM_TOKEN
84+
# secret returned 404 on publish because its scope did not
85+
# cover this package on the owning npm account.
86+
NODE_AUTH_TOKEN: ${{ secrets.AGENT_CHORUS_CI }}
8387
run: npm publish --access public
8488

8589
publish-github-package:

0 commit comments

Comments
 (0)