litellm/.github/scripts/ci
ryan-crabbe-berri 42f3afc262
ci: cap outside contributor PRs at 20 changed files (#56165)
* ci: cap outside contributor PRs at 20 changed files

Fails a check on fork PRs from people who are not org members or collaborators when the PR changes
more than 20 files. A maintainer can let one through with the allow-large-pr label.

* ci: run the file cap from main's copy and recheck when a PR is retargeted

The check now reads its script from the base commit, so an outside PR cannot replace it, and reruns
on the edited event, which fires when a PR's target branch changes. Tests call the script in-process.

* ci: read the file cap script from the tip of the base branch

---------

Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com>
2026-12-04 03:08:13 +00:00
..
check_pr_file_cap.py ci: cap outside contributor PRs at 20 changed files (#56165) 2026-12-04 03:08:13 +00:00
classify_changes.sh ci: start fewer jobs per pull request (#54757) 2026-11-26 18:21:09 -08:00
path_filter.sh ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
prepare_replica_roles.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
run_integration.sh ci(integration): give non-browser integration suites a minimal packaged UI directory (#55394) 2026-12-02 14:26:16 -08:00
run_parallel_checks.py ci(lint): run the fast lint checks on pull requests again without compiling Rust (#53421) 2026-11-21 14:17:30 -08:00
stop_integration_processes.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
verify_integration_browser.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
wait_integration_services.py ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00