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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Point contributors toward litellm_oss_branch in guard error messages
Yuneng Jiangff5bd43b0fbe
diff --git a/.github/workflows/guard-main-branch.yml b/.github/workflows/guard-main-branch.ymlindex 3a84380e711..1c1ce0de079 100644--- a/.github/workflows/guard-main-branch.yml+++ b/.github/workflows/guard-main-branch.yml@@ -31,12 +31,12 @@ jobs:echo "PR head repo: $HEAD_REPO"echo "PR head branch: $HEAD_REF"if [ "$HEAD_REPO" != "$BASE_REPO" ]; then- echo "::error::PRs to main must originate from the canonical repository ($BASE_REPO), not a fork ($HEAD_REPO)."+ echo "::error::PRs to main must originate from the canonical repository ($BASE_REPO), not a fork ($HEAD_REPO). External contributors should open PRs against the 'litellm_oss_branch' branch instead."exit 1fiif [ "$HEAD_REF" = "litellm_internal_staging" ] || [[ "$HEAD_REF" == litellm_hotfix_?* ]]; thenecho "Allowed source branch."exit 0fi- echo "::error::PRs to main must originate from 'litellm_internal_staging' or a 'litellm_hotfix_*' branch. Got: '$HEAD_REF'."+ echo "::error::PRs to main must originate from 'litellm_internal_staging' or a 'litellm_hotfix_*' branch. Got: '$HEAD_REF'. If this is a contribution, retarget the PR against 'litellm_oss_branch' instead."exit 1