Skip to content

Commit 4fc9400

Browse files
ci: fix permissions
1 parent f964a1b commit 4fc9400

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
issues: write # to be able to comment on released issues
1919
pull-requests: write # to be able to comment on released pull requests
2020
id-token: write # to enable use of OIDC for npm provenance
21+
packages: write # duh...
2122
steps:
2223
- name: Checkout
2324
uses: actions/checkout@v4
@@ -38,4 +39,5 @@ jobs:
3839
run: npx semantic-release
3940
env:
4041
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
4143
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"repository": {
2121
"type": "git",
22-
"url": "granodigital/node-pbac"
22+
"url": "git+https://github.com/granodigital/node-pbac.git"
2323
},
2424
"main": "pbac.js",
2525
"author": "Moritz Onken <onken@netcubed.de>",

0 commit comments

Comments
 (0)