mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
Make uv-lock pre-commit hook smart about release branches by wrapping it in a script that detects release branches and sets UV_EXTRA_INDEX_URL. This allows the same pre-commit config to work locally and in CI without special environment variable setup in workflows. Changes: - Add scripts/pre-commit-uv-lock.sh wrapper that detects release branches - Move uv-lock from astral-sh/uv-pre-commit to local hook using wrapper - Remove UV env var setup from pre-commit workflow (hook handles it) - Regenerate uv.lock with test.pypi as extra index (not primary) |
||
|---|---|---|
| .. | ||
| github | ||
| telemetry | ||
| check-init-py.sh | ||
| check-workflows-use-hashes.sh | ||
| diagnose_recordings.py | ||
| distro_codegen.py | ||
| docker.sh | ||
| gen-changelog.py | ||
| gen-ci-docs.py | ||
| generate_prompt_format.py | ||
| get_setup_env.py | ||
| install.sh | ||
| integration-tests.sh | ||
| normalize_recordings.py | ||
| pre-commit-uv-lock.sh | ||
| provider_codegen.py | ||
| run-ui-linter.sh | ||
| unit-tests.sh | ||