Skip to content

Commit 0f7e7bc

Browse files
committed
ci(release): update permissions for OIDC and clean up
1 parent ff4d249 commit 0f7e7bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
release:
913
runs-on: ubuntu-latest
@@ -29,5 +33,3 @@ jobs:
2933
- name: Publish
3034
working-directory: dist
3135
run: bun publish --access public
32-
env:
33-
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)