Skip to content

Commit 48f9d90

Browse files
authored
Add permissions for NPM trusted publishing with OIDC (#297)
1 parent 72d5abf commit 48f9d90

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66

77
workflow_dispatch:
88

9+
# Required for NPM trusted publishing with OIDC
10+
permissions:
11+
id-token: write # Required for OIDC
12+
contents: read
13+
914
jobs:
1015
build:
1116
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)