Skip to content

Commit c05cc3c

Browse files
committed
fix(ci): increase auth token lifetime to 3600s
1 parent cf020ea commit c05cc3c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }}
9292
workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider
9393
service_account: ${{ env.SERVICE_ACCOUNT }}
94-
access_token_lifetime: 600s # 10 minutes
94+
access_token_lifetime: 3600s # 1 hour
9595
token_format: id_token
9696
id_token_audience: https://action.test/ # service must have this custom audience
9797
id_token_include_email: true

.github/workflows/custard-run.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
project_id: ${{ env.GOOGLE_SAMPLES_PROJECT }}
138138
workload_identity_provider: projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider
139139
service_account: ${{ env.SERVICE_ACCOUNT }}
140-
access_token_lifetime: 600s # 10 minutes
140+
access_token_lifetime: 3600s # 1 hour
141141
token_format: id_token
142142
id_token_audience: https://action.test/ # service must have this custom audience
143143
id_token_include_email: true

0 commit comments

Comments
 (0)