* ci(lint): run lint scripts from the paths the PR head has
The lint workflow checks out the PR head but runs main's steps, so every PR branched before #51006 failed on litellm/scripts and .github/linters paths its head does not have. The steps now pick litellm/scripts or scripts, and the old or new ruff-tests.toml and Claude Code version resolver, from what the head carries
* ci(lint): keep the merge-ref code-quality job on main's script path
The code-quality job checks out the PR merge ref, which always carries litellm/scripts, so only the python job that checks out the PR head needs the fallback
* ci(lint): run the lint tools from the paths the PR head carries
The python and typecheck jobs check out the PR head, so a head branched before the 2026-11-12 move of scripts/ to litellm/scripts and of ruff-tests.toml to .github/linters could not open the gate scripts and failed lint passed until it merged main
* test(ci): run the lint jobs that check out the PR head on old and current tool layouts
---------
Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>