Skip to content

Commit 012a5bd

Browse files
authored
chore: update publish.yml to include permissions (#1679)
Add permissions for OIDC and content access in workflow
1 parent c44e068 commit 012a5bd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Publish Package to npmjs
22
on:
33
release:
44
types: [published]
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)