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

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 16, 09:30 UTC

[CI/Build] Adopt Mergify for auto-labeling PRs (#9259)

Signed-off-by: Russell Bryant <rbryant@redhat.com>

Russell Bryant committed Oct 28, 2024 at 12:38 UTC 8b0e4f2ad7b5a3ddd6d61acbe8ceb50b4ea3c309
1 file changed +57
.github/mergify.yml new
+57
@@ -0,0 +1,57 @@
1 +pull_request_rules:
2 +- name: label-documentation
3 + description: Automatically apply documentation label
4 + conditions:
5 + - or:
6 + - files~=^[^/]+\.md$
7 + - files~=^docs/
8 + actions:
9 + label:
10 + add:
11 + - documentation
12 +
13 +- name: label-ci-build
14 + description: Automatically apply ci/build label
15 + conditions:
16 + - files~=^\.github/
17 + - files~=\.buildkite/
18 + - files~=^cmake/
19 + - files=CMakeLists.txt
20 + - files~=^Dockerfile
21 + - files~=^requirements.*\.txt
22 + - files=setup.py
23 + actions:
24 + label:
25 + add:
26 + - ci/build
27 +
28 +- name: label-frontend
29 + description: Automatically apply frontend label
30 + conditions:
31 + - files~=^vllm/entrypoints/
32 + actions:
33 + label:
34 + add:
35 + - frontend
36 +
37 +- name: ping author on conflicts and add 'needs-rebase' label
38 + conditions:
39 + - conflict
40 + - -closed
41 + actions:
42 + label:
43 + add:
44 + - needs-rebase
45 + comment:
46 + message: |
47 + This pull request has merge conflicts that must be resolved before it can be
48 + merged. @{{author}} please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
49 +
50 +- name: remove 'needs-rebase' label when conflict is resolved
51 + conditions:
52 + - -conflict
53 + - -closed
54 + actions:
55 + label:
56 + remove:
57 + - needs-rebase