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 PAT_TOKEN_2 for gh pr create

Julio Quinteros Pro9c70cd615aee
diff --git a/.github/workflows/regenerate-poetry-lock.yml b/.github/workflows/regenerate-poetry-lock.yml
index c1d62a4060e..b51762ef70a 100644
--- a/.github/workflows/regenerate-poetry-lock.yml
+++ b/.github/workflows/regenerate-poetry-lock.yml
@@ -73,4 +73,7 @@ jobs:
--head "$BRANCH" \
--base main
env:
- GH_TOKEN: ${{ github.token }}
+ # github.token cannot create PRs when "Allow GitHub Actions to create
+ # and approve pull requests" is disabled in repo settings.
+ # PAT_TOKEN_2 bypasses that restriction.
+ GH_TOKEN: ${{ secrets.PAT_TOKEN_2 }}