Skip to content

Commit 665d356

Browse files
committed
ci: 🎡 Fix actions permissions
1 parent 19a5fd9 commit 665d356

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎.github/workflows/master.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ env:
99
CI: true
1010
jobs:
1111
test-build-publish:
12+
permissions:
13+
contents: write
1214
name: Test and build
1315
runs-on: ubuntu-latest
1416
steps:

‎.github/workflows/publish-ghpr.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ env:
1212
CI: true
1313
jobs:
1414
test-build-publish:
15+
permissions:
16+
contents: write
17+
packages: write
1518
name: Publish package to GPR
1619
runs-on: ubuntu-latest
1720
steps:
1821
- uses: actions/checkout@v4
1922
with:
2023
ref: ${{ github.event.inputs.release }}
24+
registry-url: https://npm.pkg.github.com
2125
- uses: actions/setup-node@v4
2226
with:
2327
node-version: 20

0 commit comments

Comments
 (0)