Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure gcloud auth id-token permissions for nested workflow #1331

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

guineveresaenger
Copy link
Contributor

Fixes pulumi/pulumi-gcp#2919.

It looks like when you nest Workflows, you also need to state elevated permissions at the parent Workflow level.

  • Ensure correct id-token permission for GCP auth action
  • Generate correct GCP auth for docker test provider

@guineveresaenger guineveresaenger requested review from danielrbradley, t0yv0 and a team January 29, 2025 22:28
@guineveresaenger guineveresaenger added this pull request to the merge queue Jan 29, 2025
Merged via the queue into master with commit 85f223e Jan 29, 2025
6 checks passed
@guineveresaenger guineveresaenger deleted the guin/configure-gcloud-permission-take-2 branch January 29, 2025 22:32
github-merge-queue bot pushed a commit that referenced this pull request Jan 30, 2025
Followup to #1331 which was
supposed to fix pulumi/pulumi-gcp#2919 but
instead pushed the permissions problem up into the next parent Workflow.
Upshot is that the "invalid Workflow" error happens in a different file:
https://github.com/pulumi/pulumi-gcp/actions/runs/13042448162/workflow#L101

I believe this is all of the places where we need to tell Actions to
inherit slightly elevated permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pre-release workflow failing
2 participants