Skip to content

Commit

Permalink
chore: add missing permissions to deployment workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneb authored Jan 24, 2025
1 parent 5e32954 commit 1503cf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
uses: ./.github/workflows/deploy-job.yml
with:
environment: dev
permissions:
id-token: write
contents: read
secrets:
gcp_provider_name: ${{ secrets.GCP_PROVIDER_NAME }}
gcp_sa_email: ${{ secrets.GCP_SA_EMAIL }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
uses: ./.github/workflows/deploy-job.yml
with:
environment: production
permissions:
id-token: write
contents: read
secrets:
gcp_provider_name: ${{ secrets.GCP_PROVIDER_NAME }}
gcp_sa_email: ${{ secrets.GCP_SA_EMAIL }}
Expand Down

0 comments on commit 1503cf9

Please sign in to comment.