Repository navigation
chore: use direct WIF auth_token in nightly.yml and publish.yml - #6096
Merged
copybara-service[bot] merged 2 commits intoOct 27, 2026
Merged
copybara-service[bot] merged 2 commits into
copybara-service[bot] merged 2 commits into
Conversation
asyncliz
approved these changes
Oct 27, 2026
copybara-service
Bot
merged commit Oct 27, 2026
86cb0d4
into
material-components:main
10 of 11 checks passed
Collaborator
|
@alonsopf89 the GitHub action worked, but we're getting error emails for the nightly release: "The manifest file uploaded to the GCS bucket is not a valid textproto or json file." |
Contributor
Author
|
Thanks for catching and reporting this @asyncliz! I investigated the manifest uploaded by last night's run (
I opened #6100 to fix both |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the
Authenticate to Google Cloudfailure innightly.ymlrun #40445261508 reported in #6092.Cause
OSS Exit Gate uses Direct Workload Identity Federation (
projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github) without service account impersonation. Ingoogle-github-actions/auth@v3, passingtoken_format: 'access_token'triggers an additional IAM CredentialsgenerateAccessTokencall that requires aservice_accountinput.Fix
token_format: 'access_token'sogoogle-github-actions/auth@v3exchanges the GitHub OIDC token directly via STS and exports the federated token insteps.auth.outputs.auth_token(as well asGOOGLE_APPLICATION_CREDENTIALSforgcloud storage cp).ACCESS_TOKENto read${{ steps.auth.outputs.auth_token }}in both.github/workflows/nightly.ymland.github/workflows/publish.yml.Ref: b/576685153