Skip to content

Commit 00677c4

Browse files
committed
fix: explicitly pass NODE_AUTH_TOKEN in publish workflow
The npm publish has been failing since Dec 31 with "Access token expired or revoked". The token wasn't being explicitly passed to the changesets action. Also removes auto-merge of Version Packages PRs since GITHUB_TOKEN pushes can't trigger subsequent workflows.
1 parent 9cfe018 commit 00677c4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,4 @@ jobs:
3333
publish: bun run release
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
37-
- name: Enable auto-merge for Version Packages PR
38-
if: steps.changesets.outputs.pullRequestNumber
39-
run: gh pr merge --auto --merge ${{ steps.changesets.outputs.pullRequestNumber }}
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 commit comments

Comments
 (0)