Skip to content

Commit 914a00f

Browse files
committed
ci(release): enabled provenance for publishing
1 parent 723952c commit 914a00f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ name: Release
88
- "*.x"
99
jobs:
1010
release:
11+
permissions:
12+
contents: write # to be able to publish a GitHub release
13+
issues: write # to be able to comment on released issues
14+
pull-requests: write # to be able to comment on released pull requests
15+
id-token: write # to enable use of OIDC for npm provenance
1116
name: release
1217
runs-on: ubuntu-latest
1318
steps:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
"trailingComma": "es5"
7979
},
8080
"publishConfig": {
81-
"access": "public"
81+
"access": "public",
82+
"provenance": true
8283
},
8384
"repository": {
8485
"type": "git",

0 commit comments

Comments
 (0)