Skip to content

Commit ab71b52

Browse files
committed
cd: use PAT instead of permissions
1 parent 5318450 commit ab71b52

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: .github/workflows/release.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
id-token: write
10-
contents: write
11-
pull-requests: write
12-
138
concurrency: ${{ github.workflow }}-${{ github.ref }}
149

1510
jobs:
@@ -20,7 +15,7 @@ jobs:
2015
- name: Checkout Repo
2116
uses: actions/checkout@v4
2217
with:
23-
token: ${{ secrets.GITHUB_TOKEN }}
18+
token: ${{ secrets.PAT }}
2419

2520
- name: Setup Node.js 20
2621
uses: actions/setup-node@v3
@@ -35,5 +30,5 @@ jobs:
3530
with:
3631
publish: npm run release
3732
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.PAT }}
3934
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)