Skip to content

Commit ce9d567

Browse files
committed
fix: update permissions and clean up environment variables in publish workflow
1 parent 1382f45 commit ce9d567

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
permissions:
77
contents: write
88
id-token: write
9+
issues: write
10+
pull-requests: write
911

1012
concurrency:
1113
group: ${{ github.workflow }}-${{ github.ref }}
@@ -32,7 +34,7 @@ jobs:
3234
- name: Install Node.js
3335
uses: actions/setup-node@v6
3436
with:
35-
node-version: "lts/*"
37+
node-version: 'lts/*'
3638
- name: Set correct path
3739
run: sed -i "s/\/dist//g" package.json
3840
- name: Copy files
@@ -48,7 +50,6 @@ jobs:
4850
@semantic-release/changelog
4951
@semantic-release/git
5052
env:
51-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5253
GITHUB_TOKEN: ${{ secrets.PAT }}
5354
GIT_AUTHOR_NAME: 'GitHub Actions'
5455
GIT_AUTHOR_EMAIL: 'action@github.com'

0 commit comments

Comments
 (0)