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, 16:00 UTC
Add `verified` label to trigger `pre-commit` (#38708)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Harry Mellor committed
Apr 1, 2026 at 10:31 UTC
f9f6a9097a0a2714f6d0fab1c04c5d1f0100d014
1 file changed
+4
-3
.github/workflows/pre-commit.yml
+4
-3
@@ -28,6 +28,7 @@ jobs:
28
});
29
30
const hasReadyLabel = pr.labels.some(l => l.name === 'ready');
31
+ const hasVerifiedLabel = pr.labels.some(l => l.name === 'verified');
32
33
const { data: mergedPRs } = await github.rest.search.issuesAndPullRequests({
34
q: `repo:${context.repo.owner}/${context.repo.repo} is:pr is:merged author:${pr.user.login}`,
@@ -35,10 +36,10 @@ jobs:
36
});
37
const mergedCount = mergedPRs.total_count;
38
38
- if (hasReadyLabel || mergedCount >= 4) {
39
- core.info(`Check passed: ready label=${hasReadyLabel}, 4+ merged PRs=${mergedCount >= 4}`);
39
+ if (hasReadyLabel || hasVerifiedLabel || mergedCount >= 4) {
40
+ core.info(`Check passed: verified label=${hasVerifiedLabel}, ready label=${hasReadyLabel}, 4+ merged PRs=${mergedCount >= 4}`);
41
} else {
41
- core.setFailed(`PR must have the 'ready' label or the author must have at least 4 merged PRs (found ${mergedCount}).`);
42
+ core.setFailed(`PR must have the 'verified' or 'ready' (which also triggers tests) label or the author must have at least 4 merged PRs (found ${mergedCount}).`);
43
}
44
45
pre-commit: