Skip to content

Commit 42094c9

Browse files
committed
ci: add check for GOOGLE_CREDENTIALS secret in CI workflow
1 parent 6eeb889 commit 42094c9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/cat-test-examples.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
- name: Install the project
3636
run: uv sync --all-extras --dev
3737

38+
- name: Check if GOOGLE_CREDENTIALS is set
39+
run: |
40+
if [ -z "${{ secrets.GOOGLE_CREDENTIALS }}" ]; then
41+
echo "Error: GOOGLE_CREDENTIALS secret is not set!"
42+
exit 1
43+
fi
44+
3845
- name: Authenticate to Google Cloud
3946
uses: google-github-actions/auth@v2
4047
with:

0 commit comments

Comments
 (0)