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
fix(enterprise): create PR for version bump instead of pushing to protected main
Sameer Kankutea52a4fd28ac9
diff --git a/.github/workflows/publish_enterprise.yml b/.github/workflows/publish_enterprise.ymlindex a23eda8819d..ce370361c27 100644--- a/.github/workflows/publish_enterprise.yml+++ b/.github/workflows/publish_enterprise.yml@@ -19,6 +19,7 @@ jobs:if: github.repository == 'BerriAI/litellm'permissions:contents: write+ pull-requests: writedefaults:run:working-directory: enterprise@@ -56,14 +57,23 @@ jobs:- name: Buildrun: poetry build- - name: Commit version bump+ - name: Commit version bump and create PRrun: |git config user.name "github-actions[bot]"git config user.email "github-actions[bot]@users.noreply.github.com"cd ..+ BRANCH="bump/enterprise-${{ steps.bump.outputs.new }}"+ git checkout -b "$BRANCH"git add enterprise/pyproject.toml pyproject.toml requirements.txt poetry.lockgit commit -m "bump: litellm-enterprise ${{ steps.bump.outputs.old }} → ${{ steps.bump.outputs.new }}"- git push+ git push origin "$BRANCH"+ gh pr create \+ --title "bump: litellm-enterprise ${{ steps.bump.outputs.old }} → ${{ steps.bump.outputs.new }}" \+ --body "Version bump for litellm-enterprise. Merge to update main." \+ --head "$BRANCH" \+ --base main+ env:+ GH_TOKEN: ${{ github.token }}- name: Publish to PyPIenv: