Skip to content

Commit 9722280

Browse files
committed
adjust token usage
1 parent b835233 commit 9722280

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
env:
1414
NODE_VERSION: 22
1515

16+
permissions:
17+
contents: write
18+
packages: read
19+
1620
jobs:
1721
build-and-publish:
1822
runs-on: ubuntu-24.04
@@ -23,8 +27,6 @@ jobs:
2327
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2428
- uses: aboutbits/github-actions-base/git-setup@v2
2529
- uses: aboutbits/github-actions-node/configure-github-npm-registry-access@v3
26-
with:
27-
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2830
- uses: aboutbits/github-actions-node/configure-github-npm-registry-organization@v3
2931
- uses: aboutbits/github-actions-node/build-and-publish-package@v3
3032
id: package

0 commit comments

Comments
 (0)