Skip to content

Commit 4abcad1

Browse files
authored
Merge pull request #20 from phantom/ilan/rotoken
fix: token for publishing
2 parents 72895cf + 5dbca1d commit 4abcad1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
with:
3434
node-version: 20.x
3535
registry-url: "https://registry.npmjs.org"
36+
token: ""
3637

3738
- name: Ensure npm 11.5.1+ for trusted publishing
3839
run: npm install -g npm@^11.5.1
@@ -47,4 +48,7 @@ jobs:
4748
# This expects you to have a script called release which does a build for your packages and calls changeset publish
4849
publish: yarn release
4950
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
# we use trusted publishing and setup-node will set these incorrectly. Unset if we ever use RO_TOKEN
53+
NODE_AUTH_TOKEN: ""
54+
NPM_TOKEN: ""

security.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
codeowner_approvals: false

0 commit comments

Comments
 (0)