Skip to content

Commit 892d203

Browse files
authored
fix: rename service account env var (#4089)
1 parent 4940ba0 commit 892d203

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/custard-run-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
continue-on-error: true
7171
env:
7272
GOOGLE_SAMPLES_PROJECT: long-door-651
73-
GOOGLE_SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com
73+
SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com
7474
steps:
7575
- name: Check queued
7676
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/create-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }}
9090
workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider
91-
service_account: ${{ env.GOOGLE_SERVICE_ACCOUNT }}
91+
service_account: ${{ env.SERVICE_ACCOUNT }}
9292
access_token_lifetime: 600s # 10 minutes
9393
token_format: id_token
9494
id_token_audience: https://action.test/ # service must have this custom audience

.github/workflows/custard-run.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
continue-on-error: true
115115
env:
116116
GOOGLE_SAMPLES_PROJECT: long-door-651
117-
GOOGLE_SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com
117+
SERVICE_ACCOUNT: kokoro-system-test@long-door-651.iam.gserviceaccount.com
118118
steps:
119119
- name: Check queued
120120
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/create-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2
@@ -132,7 +132,7 @@ jobs:
132132
with:
133133
project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }}
134134
workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider
135-
service_account: ${{ env.GOOGLE_SERVICE_ACCOUNT }}
135+
service_account: ${{ env.SERVICE_ACCOUNT }}
136136
access_token_lifetime: 600s # 10 minutes
137137
token_format: id_token
138138
id_token_audience: https://action.test/ # service must have this custom audience

0 commit comments

Comments
 (0)