Skip to content

Commit 0773615

Browse files
authored
chore: use npm oicd connection for publishing (#3197)
1 parent 71a910e commit 0773615

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
812
jobs:
913
release-please:
1014
outputs:
@@ -38,5 +42,3 @@ jobs:
3842
node-version: lts/*
3943
registry-url: 'https://registry.npmjs.org'
4044
- run: npm publish --provenance --access public
41-
env:
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)