Skip to content

Commit df26f3c

Browse files
authored
Explicitly declare workflow permissions for previews (#2137)
* explicitly declare workflow permissions for previews
1 parent 65fcd9f commit df26f3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy_preview.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
if: ${{ github.repository == 'primer/react' }}
1313
name: Preview
1414
uses: primer/.github/.github/workflows/deploy_preview.yml@main
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
1519
with:
1620
node_version: 14
1721
install: npm ci && cd docs && npm ci && cd ..

0 commit comments

Comments
 (0)