litellm/.github/scripts
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
..
ci ci: cap outside contributor PRs at 20 changed files (#56165) 2026-12-04 03:08:13 +00:00
assert_ci_coverage.py ci(unit): split proxy-infra-root in two, isolate subprocess tests, make its file exclusions take effect (#51316) 2026-11-11 17:39:10 -08:00
assert_secret_absent.py ci: run the integration groups on GitHub Actions (#48985) 2026-10-29 12:50:08 -07:00
assert_workflow_dir_hygiene.py feat(ci): assert .github/workflows holds only workflows, correctly named (#37616) 2026-08-20 21:36:26 +00:00
detect_changes.sh ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
e2e_egress_sentinel.py ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
e2e_fetch_fixture_bundle.sh ci(e2e): install e2e-dev for record and replay and look up the bundle by name (#55930) 2026-12-03 18:06:25 +00:00
e2e_pack_fixture_bundle.sh ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
read_rc_version.py ci: cut rc/<X.Y.0> off main every Friday at 3am Pacific (#43121) 2026-09-24 21:57:20 -07:00
restore_handwritten_description.py ci: restore a PR's handwritten description when an edit resets it to the placeholder (#53486) 2026-11-21 16:50:40 -08:00
run_llm_translation_tests.py chore(ci): close the test-census blind spots and move scripts out of workflows/ (#37586) 2026-08-20 10:07:14 -07:00
run_merge_smoke.py ci: render lint, unit and smoke checks as <tier> / <job> with one collector per tier (#45480) 2026-10-09 04:28:41 +00:00
scan_keywords.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
select_ui_test_scope.sh fix(ci): run the full dashboard suite when a change reaches outside src/ (#37563) 2026-08-19 23:09:03 -07:00
setup_rust_environment.sh chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
smoke_test_native_wheel.py refactor(rust): rename the compiled module _native to _rust (#55198) 2026-12-01 07:08:38 -08:00
uv_sync_with_retries.sh ci: harden cargo fetches during maturin builds (#31348) 2026-06-25 14:31:05 -07:00
verify_linux_native_wheel.py refactor(rust): rename the compiled module _native to _rust (#55198) 2026-12-01 07:08:38 -08:00