Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(ci): use secrets context in ggshield step condition

Julio Quinteros Pro1c376afc855b
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml
index bb400ccf525..48bd21e0e3c 100644
--- a/.github/workflows/test-linting.yml
+++ b/.github/workflows/test-linting.yml
@@ -97,7 +97,7 @@ jobs:
pytest tests/litellm/test_no_hardcoded_secrets.py -v
- name: Run ggshield secret scan
- if: env.GITGUARDIAN_API_KEY != ''
+ if: ${{ secrets.GITGUARDIAN_API_KEY != '' }}
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
run: |