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): fall back to github.token when GH_TOKEN secret is not set

Julio Quinteros Pro755dd46d45c4
diff --git a/.github/workflows/regenerate-poetry-lock.yml b/.github/workflows/regenerate-poetry-lock.yml
index 17791f411cf..dac680e5342 100644
--- a/.github/workflows/regenerate-poetry-lock.yml
+++ b/.github/workflows/regenerate-poetry-lock.yml
@@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
- token: ${{ secrets.GH_TOKEN }}
+ token: ${{ secrets.GH_TOKEN || github.token }}
- name: Set up Python
uses: actions/setup-python@v5
@@ -74,4 +74,4 @@ jobs:
--head "$BRANCH" \
--base main
env:
- GH_TOKEN: ${{ secrets.GH_TOKEN }}
+ GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }}