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
ci(release): create stable/X.Y.x line branch on X.Y.0 tags (#29457)
yuneng-jiang45d41f41048e
diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.ymlindex ec2651306f2..1d145184b6f 100644--- a/.github/workflows/create-release-branch.yml+++ b/.github/workflows/create-release-branch.yml@@ -63,3 +63,28 @@ jobs:sha: commitHash,});core.info(`Created branch ${branchName} at ${commitHash}`);++ - name: Create stable line branch+ env:+ TAG: ${{ inputs.tag }}+ COMMIT_HASH: ${{ inputs.commit_hash }}+ uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1+ with:+ script: |+ const tag = process.env.TAG;+ const commitHash = process.env.COMMIT_HASH;++ const match = tag.match(/^v?(\d+)\.(\d+)\.0$/);+ if (!match) {+ core.info(`Tag ${tag} is not the X.Y.0 stable opener; skipping stable line branch`);+ return;+ }+ const lineBranch = `stable/${match[1]}.${match[2]}.x`;++ await github.rest.git.createRef({+ owner: context.repo.owner,+ repo: context.repo.repo,+ ref: `refs/heads/${lineBranch}`,+ sha: commitHash,+ });+ core.info(`Created branch ${lineBranch} at ${commitHash}`);