Skip to content

Commit

Permalink
Setup GCloud Auth with correct id-token permission for release verifi…
Browse files Browse the repository at this point in the history
…cation (#1325)

This pull request adds permissions for the google-github-action on
pulumi-gcp when release verification is enabled.

Fixes #1324.
  • Loading branch information
guineveresaenger authored Jan 28, 2025
1 parent 25584eb commit 5efda82
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
runner: ["ubuntu-latest"]
#{{- end }}#
runs-on: ${{ matrix.runner }}
#{{- if and .Config.ReleaseVerification .Config.GCP }}#
permissions:
contents: 'read'
id-token: 'write'
#{{- end }}#
steps:
- name: Configure Git to checkout files with long names
run: git config --global core.longpaths true
Expand Down

0 comments on commit 5efda82

Please sign in to comment.