litellm/.github/workflows
Julio Quinteros Pro 9c70cd615a fix(ci): use PAT_TOKEN_2 for gh pr create
github.token cannot open PRs when "Allow GitHub Actions to create and
approve pull requests" is disabled in repo settings. PAT_TOKEN_2
bypasses that restriction.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 20:13:58 -03:00
..
auto_update_price_and_context_window_file.py
auto_update_price_and_context_window.yml
check_duplicate_issues.yml ci(github): add automated duplicate issue checker and template safeguards (#19218) 2026-01-17 00:17:20 +05:30
create_daily_staging_branch.yml fix: change oss staging branch name to reflect they're oss 2026-01-22 11:50:27 -08:00
ghcr_deploy.yml fix: sync Helm chart version with LiteLLM release version (#19438) 2026-01-20 14:13:26 -08:00
ghcr_helm_deploy.yml fix: sync Helm chart version with LiteLLM release version (#19438) 2026-01-20 14:13:26 -08:00
helm_unit_test.yml
interpret_load_test.py
issue-keyword-labeler.yml
label-component.yml feat: add auto-labeling for 'claude code' issues (#19242) 2026-01-17 03:31:48 +05:30
llm-translation-testing.yml
load_test.yml
locustfile.py
main.yml
publish-migrations.yml fix: prevent Prisma migration workflow from running in forks (#18863) 2026-01-09 22:56:32 +05:30
read_pyproject_version.yml
README.md
redeploy_proxy.py
regenerate-poetry-lock.yml fix(ci): use PAT_TOKEN_2 for gh pr create 2026-02-19 20:13:58 -03:00
reset_stable.yml
results_stats.csv
run_llm_translation_tests.py
simple_pypi_publish.yml
stale.yml
test_server_root_path.yml adjusting the server root path test to non root image 2026-02-18 11:56:10 -08:00
test-linting.yml Remove validate job from lint 2026-01-29 16:26:00 +05:30
test-litellm-matrix.yml fix(ci): install enterprise package into main project venv, not enterprise's own venv 2026-02-18 21:24:06 -03:00
test-litellm-ui-build.yml adding timeout 2026-02-14 13:53:21 -08:00
test-litellm.yml fix(ci): install enterprise package into main project venv, not enterprise's own venv 2026-02-18 21:24:06 -03:00
test-mcp.yml fix(ci): install enterprise package into main project venv, not enterprise's own venv 2026-02-18 21:24:06 -03:00
test-model-map.yaml Correct model map path 2026-01-29 16:33:50 +05:30
update_release.py

Simple PyPI Publishing

A GitHub workflow to manually publish LiteLLM packages to PyPI with a specified version.

How to Use

  1. Go to the Actions tab in the GitHub repository
  2. Select Simple PyPI Publish from the workflow list
  3. Click Run workflow
  4. Enter the version to publish (e.g., 1.74.10)

What the Workflow Does

  1. Updates the version in pyproject.toml
  2. Copies the model prices backup file
  3. Builds the Python package
  4. Publishes to PyPI

Prerequisites

Make sure the following secret is configured in the repository:

  • PYPI_PUBLISH_PASSWORD: PyPI API token for authentication

Example Usage

  • Version: 1.74.11 → Publishes as v1.74.11
  • Version: 1.74.10-hotfix1 → Publishes as v1.74.10-hotfix1

Features

  • Manual trigger with version input
  • Automatic version updates in pyproject.toml
  • Repository safety check (only runs on official repo)
  • Clean package building and publishing
  • Success confirmation with PyPI package link