Skip to content

Commit edf7782

Browse files
authored
fix: pass service account directly to run step (#4090)
* fix: rename service account env var * export SERVICE_ACCOUNT on the run step
1 parent 892d203 commit edf7782

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ jobs:
109109
run: |
110110
timeout ${{ fromJson(needs.affected.outputs.ci-setups)[matrix.path].timeout-minutes }}m \
111111
make test dir=${{ matrix.path }}
112+
env:
113+
# TODO: remove this when the self-contained runner lands.
114+
SERVICE_ACCOUNT: [email protected]
112115
- name: Check success
113116
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/update-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2
114117
with:

.github/workflows/custard-run.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ jobs:
153153
run: |
154154
timeout ${{ fromJson(needs.affected.outputs.ci-setups)[matrix.path].timeout-minutes }}m \
155155
make test dir=${{ matrix.path }}
156+
env:
157+
# TODO: remove this when the self-contained runner lands.
158+
SERVICE_ACCOUNT: [email protected]
156159
- name: Check success
157160
uses: GoogleCloudPlatform/cloud-samples-tools/actions/steps/update-check@9ee708234e240605d96e78f652c333ed6aa95a23 # v0.3.2
158161
with:

0 commit comments

Comments
 (0)