A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 5, 07:15 UTC
Fix pre-commit labeled trigger system (#39523)
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
Fynn Schmitt-Ulms committed
Apr 10, 2026 at 15:54 UTC
2d80cf9d6ede128f1dd70ced97d3780b7ce61db8
1 file changed
+12
-2
.github/workflows/pre-commit.yml
+12
-2
@@ -2,6 +2,7 @@ name: pre-commit
2
3
on:
4
pull_request:
5
+ types: [opened, synchronize, reopened, labeled]
6
push:
7
branches: [main]
8
@@ -15,7 +16,11 @@ permissions:
16
17
jobs:
18
pre-run-check:
18
- if: github.event_name == 'pull_request'
19
+ if: >-
20
+ github.event_name == 'pull_request' &&
21
+ (github.event.action != 'labeled' ||
22
+ github.event.label.name == 'ready' ||
23
+ github.event.label.name == 'verified')
24
runs-on: ubuntu-latest
25
steps:
26
- name: Check PR label and author merge count
@@ -44,7 +49,12 @@ jobs:
49
50
pre-commit:
51
needs: pre-run-check
47
- if: always() && (needs.pre-run-check.result == 'success' || needs.pre-run-check.result == 'skipped')
52
+ if: >-
53
+ always() &&
54
+ (github.event.action != 'labeled' ||
55
+ github.event.label.name == 'ready' ||
56
+ github.event.label.name == 'verified') &&
57
+ (needs.pre-run-check.result == 'success' || needs.pre-run-check.result == 'skipped')
58
runs-on: ubuntu-latest
59
steps:
60
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1