Skip to content

Commit 936570d

Browse files
committed
Add permission grants to autopublish workflow
Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
1 parent c3643c8 commit 936570d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/autopublish.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ jobs:
1919

2020
build:
2121
needs: test
22+
permissions:
23+
contents: read
24+
packages: write
2225
uses: ./.github/workflows/build.yaml
2326
with:
2427
ref: '${{ github.sha }}'
2528

2629
deploy:
2730
needs: build
31+
permissions:
32+
id-token: write
33+
pages: write
2834
uses: ./.github/workflows/deploy.yaml
2935
with:
3036
tag: '${{ needs.build.outputs.tag }}'

0 commit comments

Comments
 (0)