@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / aa0ac8a661
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

[CI] Run pre-commit on self-hosted vllm-runners (#45865)

Signed-off-by: khluu <khluu000@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Kevin H. Luu committed Jun 16, 2026 at 19:49 UTC aa0ac8a661736205e0cd05a1855125f2c0864e76
2 files changed +10 -1
.github/actionlint.yaml new
+5
@@ -0,0 +1,5 @@
1 +# Custom self-hosted runner labels (e.g. the autoscaling vllm-runners pool) so
2 +# actionlint doesn't flag them as unknown in `runs-on`.
3 +self-hosted-runner:
4 + labels:
5 + - vllm-runners
.github/workflows/pre-commit.yml
+5 -1
@@ -46,12 +46,16 @@ jobs:
46 pre-commit:
47 needs: pre-run-check
48 if: always() && (needs.pre-run-check.result == 'success' || needs.pre-run-check.result == 'skipped')
49 - runs-on: ubuntu-latest
49 + runs-on: [self-hosted, linux, x64, vllm-runners]
50 steps:
51 - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
52 - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
53 with:
54 python-version: "3.12"
55 + # Provide shellcheck on PATH so tools/pre_commit/shellcheck.sh skips its
56 + # wget + tar -xJ self-download, which the self-hosted runner image lacks
57 + # (no wget/xz). Pinned to shellcheck 0.10.0 to match the script's "stable".
58 + - run: python -m pip install shellcheck-py==0.10.0.1
59 - run: echo "::add-matcher::.github/workflows/matchers/actionlint.json"
60 - run: echo "::add-matcher::.github/workflows/matchers/markdownlint.json"
61 - run: echo "::add-matcher::.github/workflows/matchers/mypy.json"