From 8b860de54f34b0c262dddd0ee8d031312740879e Mon Sep 17 00:00:00 2001 From: David Cavazos Date: Mon, 12 May 2025 13:37:04 -0700 Subject: [PATCH] fix: rename service account env var --- .github/workflows/custard-run-dev.yaml | 4 ++-- .github/workflows/custard-run.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/custard-run-dev.yaml b/.github/workflows/custard-run-dev.yaml index 2f4a8dce47..cbb69376f6 100644 --- a/.github/workflows/custard-run-dev.yaml +++ b/.github/workflows/custard-run-dev.yaml @@ -70,7 +70,7 @@ jobs: continue-on-error: true env: GOOGLE_SAMPLES_PROJECT: long-door-651 - GOOGLE_SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com + SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com steps: - name: Check queued uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/create-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2 @@ -88,7 +88,7 @@ jobs: with: project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }} workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider - service_account: ${{ env.GOOGLE_SERVICE_ACCOUNT }} + service_account: ${{ env.SERVICE_ACCOUNT }} access_token_lifetime: 600s # 10 minutes token_format: id_token id_token_audience: https://action.test/ # service must have this custom audience diff --git a/.github/workflows/custard-run.yaml b/.github/workflows/custard-run.yaml index 91b28a0c94..c22e444e9c 100644 --- a/.github/workflows/custard-run.yaml +++ b/.github/workflows/custard-run.yaml @@ -114,7 +114,7 @@ jobs: continue-on-error: true env: GOOGLE_SAMPLES_PROJECT: long-door-651 - GOOGLE_SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com + SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com steps: - name: Check queued uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/create-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2 @@ -132,7 +132,7 @@ jobs: with: project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }} workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider - service_account: ${{ env.GOOGLE_SERVICE_ACCOUNT }} + service_account: ${{ env.SERVICE_ACCOUNT }} access_token_lifetime: 600s # 10 minutes token_format: id_token id_token_audience: https://action.test/ # service must have this custom audience