Skip to content

Commit ce0f9f5

Browse files
authored
Update release.yml for trusted publishing
Update release.yml
1 parent e3bac3e commit ce0f9f5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [ alpha, beta ]
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
release:
913
runs-on: ubuntu-latest
@@ -48,5 +52,4 @@ jobs:
4852
working-directory: cli
4953
env:
5054
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5255
run: pnpm exec semantic-release

0 commit comments

Comments
 (0)