Skip to content

Commit

Permalink
Add permissions block
Browse files Browse the repository at this point in the history
To grant the workflow the permission to generate an OIDC token.
  • Loading branch information
ioannis-vm committed May 1, 2024
1 parent b749900 commit 9ef410a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
types:
- completed

permissions:
contents: read
id-token: write

jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
Expand Down

0 comments on commit 9ef410a

Please sign in to comment.