Skip to content

Commit fbc37af

Browse files
committed
Update permissions
1 parent 547b558 commit fbc37af

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ on:
44
push:
55
branches:
66
- main
7-
- 'pre-release-beta/**'
8-
- 'beta/**'
9-
- 'prototype-beta/**'
7+
- "pre-release-beta/**"
8+
- "beta/**"
9+
- "prototype-beta/**"
1010
env:
1111
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1212

13+
permissions:
14+
id-token: write # Required for OIDC
15+
contents: read
16+
1317
jobs:
1418
publish-npm:
1519
name: Release
@@ -18,7 +22,7 @@ jobs:
1822
- uses: actions/checkout@v6
1923
- uses: actions/setup-node@v5
2024
with:
21-
node-version: '18.x'
25+
node-version: "18.x"
2226
registry-url: https://registry.npmjs.org/
2327
- name: Install dependencies
2428
run: yarn

0 commit comments

Comments
 (0)