Skip to content

Commit 79a0240

Browse files
committed
Add notes to clarify separate GCP steps for syncing library metadata
1 parent fed2a5b commit 79a0240

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/load-library-metadata.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
with:
2727
python-version: "3.11"
2828

29-
- name: Create GCP credentials file
29+
# use a specific service account for sync script
30+
- name: Create GCP credentials file (for sync script)
3031
run: |
3132
echo '${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}' > bin/library/gcp-key.json
3233
@@ -41,7 +42,8 @@ jobs:
4142
- name: Cleanup credentials
4243
run: rm bin/library/gcp-key.json
4344

44-
- name: Authenticate to Google Cloud
45+
# Use a different service account with permissions to restart builder-api
46+
- name: Authenticate to Google Cloud (for restarting builder-api)
4547
uses: google-github-actions/auth@v2
4648
with:
4749
workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}

0 commit comments

Comments
 (0)