Skip to content

Commit 2783c2e

Browse files
authored
Update publish-npm.yml with permissions
Added permissions for OIDC and content access.
1 parent 4f4b26c commit 2783c2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Publish to NPM Registry
22
on:
33
release:
44
types: [created]
5+
permissions:
6+
id-token: write # Required for OIDC
7+
contents: read
58
jobs:
69
build:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)