Skip to content

Commit

Permalink
ER=697: Workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-sidhu-and committed Aug 10, 2023
1 parent 194ab3b commit f35ce31
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/azure-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
# Permissions for OIDC authentication
permissions:
id-token: write
contents: write
packages: write

env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/azure-deploy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ on:
# Permissions for OIDC authentication
permissions:
id-token: write
contents: write
packages: write

env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/azure-deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
# Permissions for OIDC authentication
permissions:
id-token: write
contents: write
packages: write

env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tf-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defaults:
# Permissions for OIDC authentication
permissions:
id-token: write
contents: write

env:
ARM_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down

0 comments on commit f35ce31

Please sign in to comment.