We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab9253 commit 9adf1a4Copy full SHA for 9adf1a4
.github/workflows/release.yml
@@ -6,6 +6,13 @@
6
- beta
7
- "*.x"
8
name: Release
9
+# These are recommended by the semantic-release docs: https://github.com/semantic-release/npm#npm-provenance
10
+permissions:
11
+ contents: write # to be able to publish a GitHub release
12
+ issues: write # to be able to comment on released issues
13
+ pull-requests: write # to be able to comment on released pull requests
14
+ id-token: write # to enable use of OIDC for npm provenance
15
+
16
jobs:
17
build:
18
name: release
package.json
@@ -2,7 +2,8 @@
2
"name": "@octokit/rest",
3
"version": "0.0.0-development",
4
"publishConfig": {
5
- "access": "public"
+ "access": "public",
+ "provenance": true
},
"description": "GitHub REST API client for Node.js",
"keywords": [
0 commit comments