Skip to content

Commit 8885538

Browse files
committed
release.yml: permissionsセクションを追加し、NPM_TOKEN環境変数の設定を削除
1 parent 31f3f05 commit 8885538

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

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

8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
@@ -22,5 +26,3 @@ jobs:
2226
npm run test
2327
npm run build
2428
- run: npm publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)