Skip to content

Commit

Permalink
[CI/Build] Add label automation for structured-output, speculative-de…
Browse files Browse the repository at this point in the history
…coding, v1 (vllm-project#12280)

We have `v1`, `structured-output`, and `speculative-decoding` labels on
github. This adds automation for applying these labels based on the
files touched by a PR.

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

---------

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Srikanth Srinivas <srikanth@astrum.ai>
  • Loading branch information
russellb authored and srikanthsrnvs committed Feb 3, 2025
1 parent bb94260 commit 55727d0
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,43 @@ pull_request_rules:
add:
- frontend

- name: label-structured-output
description: Automatically apply structured-output label
conditions:
- or:
- files~=^vllm/model_executor/guided_decoding/
- files=tests/model_executor/test_guided_processors.py
- files=tests/entrypoints/llm/test_guided_generate.py
- files=benchmarks/benchmark_serving_guided.py
- files=benchmarks/benchmark_guided.py
actions:
label:
add:
- structured-output

- name: label-speculative-decoding
description: Automatically apply speculative-decoding label
conditions:
- or:
- files~=^vllm/spec_decode/
- files=vllm/model_executor/layers/spec_decode_base_sampler.py
- files~=^tests/spec_decode/
actions:
label:
add:
- speculative-decoding

- name: label-v1
description: Automatically apply v1 label
conditions:
- or:
- files~=^vllm/v1/
- files~=^tests/v1/
actions:
label:
add:
- v1

- name: ping author on conflicts and add 'needs-rebase' label
conditions:
- conflict
Expand Down

0 comments on commit 55727d0

Please sign in to comment.