Skip to content

Commit b456115

Browse files
committed
build: it should work via OIDC
1 parent ced810f commit b456115

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ on:
77

88
# https://docs.npmjs.com/trusted-publishers#github-actions-configuration
99
permissions:
10-
contents: write # to be able to publish a GitHub release
11-
issues: write # to be able to comment on released issues
12-
pull-requests: write # to be able to comment on released pull requests
13-
id-token: write # to enable use of OIDC for npm provenance
10+
id-token: write # Required for OIDC
11+
contents: read
1412

1513
jobs:
1614
publish:
15+
permissions:
16+
contents: write # to be able to publish a GitHub release
17+
issues: write # to be able to comment on released issues
18+
pull-requests: write # to be able to comment on released pull requests
19+
id-token: write # to enable use of OIDC for npm provenance
1720
runs-on: ubuntu-latest
1821
steps:
1922
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)