mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
fix: address zizmor comments
This commit is contained in:
parent
efd73a44f4
commit
dfb543369b
22 changed files with 117 additions and 16 deletions
|
|
@ -41,32 +41,54 @@ runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Helm | Setup
|
- name: Helm | Setup
|
||||||
uses: azure/setup-helm@v4
|
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
|
||||||
with:
|
with:
|
||||||
version: v3.20.0
|
version: v3.20.0
|
||||||
|
|
||||||
- name: Helm | Login
|
- name: Helm | Login
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo ${{ inputs.registry_password }} | helm registry login -u ${{ inputs.registry_username }} --password-stdin ${{ inputs.registry }}
|
env:
|
||||||
|
REGISTRY_PASSWORD: ${{ inputs.registry_password }}
|
||||||
|
REGISTRY_USERNAME: ${{ inputs.registry_username }}
|
||||||
|
REGISTRY: ${{ inputs.registry }}
|
||||||
|
run: echo "$REGISTRY_PASSWORD" | helm registry login -u "$REGISTRY_USERNAME" --password-stdin "$REGISTRY"
|
||||||
|
|
||||||
- name: Helm | Dependency
|
- name: Helm | Dependency
|
||||||
if: inputs.update_dependencies == 'true'
|
if: inputs.update_dependencies == 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: helm dependency update ${{ inputs.path == null && format('{0}/{1}', 'charts', inputs.name) || inputs.path }}
|
env:
|
||||||
|
CHART_PATH: ${{ inputs.path == null && format('{0}/{1}', 'charts', inputs.name) || inputs.path }}
|
||||||
|
run: helm dependency update "$CHART_PATH"
|
||||||
|
|
||||||
- name: Helm | Package
|
- name: Helm | Package
|
||||||
shell: bash
|
shell: bash
|
||||||
run: helm package ${{ inputs.path == null && format('{0}/{1}', 'charts', inputs.name) || inputs.path }} --version ${{ inputs.tag }} --app-version ${{ inputs.app_version }}
|
env:
|
||||||
|
CHART_PATH: ${{ inputs.path == null && format('{0}/{1}', 'charts', inputs.name) || inputs.path }}
|
||||||
|
TAG: ${{ inputs.tag }}
|
||||||
|
APP_VERSION: ${{ inputs.app_version }}
|
||||||
|
run: helm package "$CHART_PATH" --version "$TAG" --app-version "$APP_VERSION"
|
||||||
|
|
||||||
- name: Helm | Push
|
- name: Helm | Push
|
||||||
shell: bash
|
shell: bash
|
||||||
run: helm push ${{ inputs.name }}-${{ inputs.tag }}.tgz oci://${{ inputs.registry }}/${{ inputs.repository }}
|
env:
|
||||||
|
NAME: ${{ inputs.name }}
|
||||||
|
TAG: ${{ inputs.tag }}
|
||||||
|
REGISTRY: ${{ inputs.registry }}
|
||||||
|
REPOSITORY: ${{ inputs.repository }}
|
||||||
|
run: helm push "${NAME}-${TAG}.tgz" "oci://${REGISTRY}/${REPOSITORY}"
|
||||||
|
|
||||||
- name: Helm | Logout
|
- name: Helm | Logout
|
||||||
shell: bash
|
shell: bash
|
||||||
run: helm registry logout ${{ inputs.registry }}
|
env:
|
||||||
|
REGISTRY: ${{ inputs.registry }}
|
||||||
|
run: helm registry logout "$REGISTRY"
|
||||||
|
|
||||||
- name: Helm | Output
|
- name: Helm | Output
|
||||||
id: output
|
id: output
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "image=${{ inputs.registry }}/${{ inputs.repository }}/${{ inputs.name }}:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
env:
|
||||||
|
REGISTRY: ${{ inputs.registry }}
|
||||||
|
REPOSITORY: ${{ inputs.repository }}
|
||||||
|
NAME: ${{ inputs.name }}
|
||||||
|
TAG: ${{ inputs.tag }}
|
||||||
|
run: echo "image=${REGISTRY}/${REPOSITORY}/${NAME}:${TAG}" >> $GITHUB_OUTPUT
|
||||||
|
|
|
||||||
3
.github/dependabot.yaml
vendored
3
.github/dependabot.yaml
vendored
|
|
@ -4,6 +4,9 @@ updates:
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
cooldown:
|
||||||
|
default-days: 7
|
||||||
|
semver-major-days: 14
|
||||||
groups:
|
groups:
|
||||||
github-actions:
|
github-actions:
|
||||||
patterns:
|
patterns:
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,18 @@ on:
|
||||||
- cron: "0 0 * * 0" # Run every Sundays at midnight
|
- cron: "0 0 * * 0" # Run every Sundays at midnight
|
||||||
#- cron: "0 0 * * *" # Run daily at midnight
|
#- cron: "0 0 * * *" # Run daily at midnight
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto_update_price_and_context_window:
|
auto_update_price_and_context_window:
|
||||||
if: github.repository == 'BerriAI/litellm'
|
if: github.repository == 'BerriAI/litellm'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install 'aiohttp==3.13.3'
|
pip install 'aiohttp==3.13.3'
|
||||||
|
|
|
||||||
1
.github/workflows/check_duplicate_issues.yml
vendored
1
.github/workflows/check_duplicate_issues.yml
vendored
|
|
@ -33,6 +33,7 @@ jobs:
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
sparse-checkout: .github/scripts
|
sparse-checkout: .github/scripts
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
if: github.event.action == 'opened'
|
if: github.event.action == 'opened'
|
||||||
|
|
|
||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
|
|
@ -39,6 +39,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3
|
uses: github/codeql-action/init@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3
|
||||||
|
|
|
||||||
2
.github/workflows/codspeed.yml
vendored
2
.github/workflows/codspeed.yml
vendored
|
|
@ -26,6 +26,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,15 @@ jobs:
|
||||||
create-staging-branch:
|
create-staging-branch:
|
||||||
if: github.repository == 'BerriAI/litellm'
|
if: github.repository == 'BerriAI/litellm'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Create daily staging branch
|
- name: Create daily staging branch
|
||||||
env:
|
env:
|
||||||
|
|
@ -46,12 +49,15 @@ jobs:
|
||||||
create-internal-dev-branch:
|
create-internal-dev-branch:
|
||||||
if: github.repository == 'BerriAI/litellm'
|
if: github.repository == 'BerriAI/litellm'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Create internal dev branch
|
- name: Create internal dev branch
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
5
.github/workflows/helm_unit_test.yml
vendored
5
.github/workflows/helm_unit_test.yml
vendored
|
|
@ -6,12 +6,17 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Helm 3.11.1
|
- name: Set up Helm 3.11.1
|
||||||
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
|
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
|
||||||
|
|
|
||||||
2
.github/workflows/issue-keyword-labeler.yml
vendored
2
.github/workflows/issue-keyword-labeler.yml
vendored
|
|
@ -14,6 +14,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Scan for provider keywords
|
- name: Scan for provider keywords
|
||||||
id: scan
|
id: scan
|
||||||
|
|
|
||||||
15
.github/workflows/llm-translation-testing.yml
vendored
15
.github/workflows/llm-translation-testing.yml
vendored
|
|
@ -11,6 +11,9 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- "v*-rc*" # Triggers on release candidate tags like v1.0.0-rc1
|
- "v*-rc*" # Triggers on release candidate tags like v1.0.0-rc1
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-llm-translation-tests:
|
run-llm-translation-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -20,6 +23,7 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
|
persist-credentials: false
|
||||||
ref: ${{ github.event.inputs.release_candidate_tag || github.ref }}
|
ref: ${{ github.event.inputs.release_candidate_tag || github.ref }}
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
|
@ -33,8 +37,8 @@ jobs:
|
||||||
poetry config virtualenvs.create true
|
poetry config virtualenvs.create true
|
||||||
poetry config virtualenvs.in-project true
|
poetry config virtualenvs.in-project true
|
||||||
|
|
||||||
- name: Cache Poetry dependencies
|
- name: Restore Poetry dependencies cache
|
||||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.0.0
|
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.0.0
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/pypoetry
|
~/.cache/pypoetry
|
||||||
|
|
@ -60,11 +64,12 @@ jobs:
|
||||||
AZURE_API_KEY: ${{ secrets.AZURE_API_KEY }}
|
AZURE_API_KEY: ${{ secrets.AZURE_API_KEY }}
|
||||||
AZURE_API_BASE: ${{ secrets.AZURE_API_BASE }}
|
AZURE_API_BASE: ${{ secrets.AZURE_API_BASE }}
|
||||||
AZURE_API_VERSION: ${{ secrets.AZURE_API_VERSION }}
|
AZURE_API_VERSION: ${{ secrets.AZURE_API_VERSION }}
|
||||||
# Add other API keys as needed
|
RC_TAG: ${{ github.event.inputs.release_candidate_tag || github.ref_name }}
|
||||||
|
COMMIT_SHA: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
python .github/workflows/run_llm_translation_tests.py \
|
python .github/workflows/run_llm_translation_tests.py \
|
||||||
--tag "${{ github.event.inputs.release_candidate_tag || github.ref_name }}" \
|
--tag "$RC_TAG" \
|
||||||
--commit "${{ github.sha }}" \
|
--commit "$COMMIT_SHA" \
|
||||||
|| true # Continue even if tests fail
|
|| true # Continue even if tests fail
|
||||||
|
|
||||||
- name: Display test summary
|
- name: Display test summary
|
||||||
|
|
|
||||||
5
.github/workflows/read_pyproject_version.yml
vendored
5
.github/workflows/read_pyproject_version.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main # Change this to the default branch of your repository
|
- main # Change this to the default branch of your repository
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
read-version:
|
read-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -12,6 +15,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Read version from pyproject.toml
|
- name: Read version from pyproject.toml
|
||||||
id: read-version
|
id: read-version
|
||||||
|
|
|
||||||
11
.github/workflows/run_observatory_tests.yml
vendored
11
.github/workflows/run_observatory_tests.yml
vendored
|
|
@ -34,6 +34,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Validate tag input
|
- name: Validate tag input
|
||||||
env:
|
env:
|
||||||
|
|
@ -49,11 +51,12 @@ jobs:
|
||||||
TAG: ${{ inputs.tag }}
|
TAG: ${{ inputs.tag }}
|
||||||
AZURE_API_KEY: ${{ secrets.AZURE_API_KEY }}
|
AZURE_API_KEY: ${{ secrets.AZURE_API_KEY }}
|
||||||
AZURE_API_BASE: ${{ secrets.AZURE_API_BASE }}
|
AZURE_API_BASE: ${{ secrets.AZURE_API_BASE }}
|
||||||
|
WORKSPACE: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name litellm-rc \
|
--name litellm-rc \
|
||||||
-p 4000:4000 \
|
-p 4000:4000 \
|
||||||
-v "${{ github.workspace }}/.github/observatory/litellm_config.yaml:/app/config.yaml" \
|
-v "${WORKSPACE}/.github/observatory/litellm_config.yaml:/app/config.yaml" \
|
||||||
-e LITELLM_MASTER_KEY="${LITELLM_MASTER_KEY}" \
|
-e LITELLM_MASTER_KEY="${LITELLM_MASTER_KEY}" \
|
||||||
-e AZURE_API_KEY="${AZURE_API_KEY}" \
|
-e AZURE_API_KEY="${AZURE_API_KEY}" \
|
||||||
-e AZURE_API_BASE="${AZURE_API_BASE}" \
|
-e AZURE_API_BASE="${AZURE_API_BASE}" \
|
||||||
|
|
@ -104,11 +107,11 @@ jobs:
|
||||||
|
|
||||||
- name: Verify tunnel connectivity
|
- name: Verify tunnel connectivity
|
||||||
run: |
|
run: |
|
||||||
echo "Testing tunnel at ${{ env.TUNNEL_URL }}..."
|
echo "Testing tunnel at ${TUNNEL_URL}..."
|
||||||
# Quick tunnels need time for DNS propagation; retry to avoid
|
# Quick tunnels need time for DNS propagation; retry to avoid
|
||||||
# transient NXDOMAIN (curl exit code 6) on first attempt.
|
# transient NXDOMAIN (curl exit code 6) on first attempt.
|
||||||
for i in $(seq 1 10); do
|
for i in $(seq 1 10); do
|
||||||
if curl -sf "${{ env.TUNNEL_URL }}/health/liveliness" > /dev/null 2>&1; then
|
if curl -sf "${TUNNEL_URL}/health/liveliness" > /dev/null 2>&1; then
|
||||||
echo "Tunnel is working (attempt $i)"
|
echo "Tunnel is working (attempt $i)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
@ -222,5 +225,5 @@ jobs:
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
kill "${{ env.CLOUDFLARED_PID }}" 2>/dev/null || true
|
kill "$CLOUDFLARED_PID" 2>/dev/null || true
|
||||||
docker rm -f litellm-rc 2>/dev/null || true
|
docker rm -f litellm-rc 2>/dev/null || true
|
||||||
|
|
|
||||||
1
.github/workflows/scan_duplicate_issues.yml
vendored
1
.github/workflows/scan_duplicate_issues.yml
vendored
|
|
@ -24,6 +24,7 @@ jobs:
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
sparse-checkout: .github/scripts
|
sparse-checkout: .github/scripts
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
|
||||||
4
.github/workflows/stale.yml
vendored
4
.github/workflows/stale.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
||||||
- cron: "0 0 * * *" # Runs daily at midnight UTC
|
- cron: "0 0 * * *" # Runs daily at midnight UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
if: github.repository == 'BerriAI/litellm'
|
if: github.repository == 'BerriAI/litellm'
|
||||||
|
|
|
||||||
5
.github/workflows/test-linting.yml
vendored
5
.github/workflows/test-linting.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -14,6 +17,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
clean: true
|
clean: true
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
@ -87,6 +91,7 @@ jobs:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
|
||||||
5
.github/workflows/test-litellm-matrix.yml
vendored
5
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
# Cancel in-progress runs for the same PR
|
# Cancel in-progress runs for the same PR
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|
@ -118,6 +121,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
|
||||||
2
.github/workflows/test-litellm-ui-build.yml
vendored
2
.github/workflows/test-litellm-ui-build.yml
vendored
|
|
@ -17,6 +17,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0
|
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0
|
||||||
|
|
|
||||||
5
.github/workflows/test-litellm.yml
vendored
5
.github/workflows/test-litellm.yml
vendored
|
|
@ -8,6 +8,9 @@ on:
|
||||||
# pull_request:
|
# pull_request:
|
||||||
# branches: [ main ]
|
# branches: [ main ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -15,6 +18,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Thank You Message
|
- name: Thank You Message
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
5
.github/workflows/test-mcp.yml
vendored
5
.github/workflows/test-mcp.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -11,6 +14,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Thank You Message
|
- name: Thank You Message
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
5
.github/workflows/test-model-map.yaml
vendored
5
.github/workflows/test-model-map.yaml
vendored
|
|
@ -4,11 +4,16 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate-model-prices-json:
|
validate-model-prices-json:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Validate model_prices_and_context_window.json
|
- name: Validate model_prices_and_context_window.json
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
proxy_e2e_azure_batches_tests:
|
proxy_e2e_azure_batches_tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -31,6 +34,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
|
|
||||||
2
.github/workflows/test_server_root_path.yml
vendored
2
.github/workflows/test_server_root_path.yml
vendored
|
|
@ -18,6 +18,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12
|
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue