Skip to content

Commit 9ef410a

Browse files
committed
Add permissions block
To grant the workflow the permission to generate an OIDC token.
1 parent b749900 commit 9ef410a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- completed
99

10+
permissions:
11+
contents: read
12+
id-token: write
13+
1014
jobs:
1115
deploy:
1216
if: ${{ github.event.workflow_run.conclusion == 'success' }}

0 commit comments

Comments
 (0)