Compare commits

...

1 Commits

Author SHA1 Message Date
ca15f0afe6 ci(Mergify): configuration update
Signed-off-by: Lu Fang <null>
2025-06-09 15:44:44 +08:00

343
.github/mergify.yml vendored
View File

@ -1,182 +1,181 @@
pull_request_rules: pull_request_rules:
- name: label-documentation - name: label-llama
description: Automatically apply documentation label description: Automatically apply llama label
conditions: conditions:
- or: - or:
- files~=^[^/]+\.md$ - files~=^examples/.*llama.*\.py
- files~=^docs/ - files~=^tests/.*llama.*\.py
- files~=^examples/ - files~=^vllm/entrypoints/openai/tool_parsers/llama.*\.py
actions: - files~=^vllm/model_executor/models/.*llama.*\.py
label: - files~=^vllm/transformers_utils/configs/.*llama.*\.py
add: actions:
- documentation label:
add:
- name: label-ci-build - llama
description: Automatically apply ci/build label - name: label-documentation
conditions: description: Automatically apply documentation label
- or: conditions:
- files~=^\.github/ - or:
- files~=\.buildkite/ - files~=^[^/]+\.md$
- files~=^cmake/ - files~=^docs/
- files=CMakeLists.txt - files~=^examples/
- files~=^docker/Dockerfile actions:
- files~=^requirements.*\.txt label:
- files=setup.py add:
actions: - documentation
label: - name: label-ci-build
add: description: Automatically apply ci/build label
- ci/build conditions:
- or:
- name: label-frontend - files~=^\.github/
description: Automatically apply frontend label - files~=\.buildkite/
conditions: - files~=^cmake/
- files~=^vllm/entrypoints/ - files=CMakeLists.txt
actions: - files~=^docker/Dockerfile
label: - files~=^requirements.*\.txt
add: - files=setup.py
- frontend actions:
label:
- name: label-multi-modality add:
description: Automatically apply multi-modality label - ci/build
conditions: - name: label-frontend
- or: description: Automatically apply frontend label
- files~=^vllm/multimodal/ conditions:
- files~=^tests/multimodal/ - files~=^vllm/entrypoints/
- files~=^tests/models/multimodal/ actions:
- files~=^tests/models/*/audio_language/ label:
- files~=^tests/models/*/vision_language/ add:
- files=tests/models/test_vision.py - frontend
actions: - name: label-multi-modality
label: description: Automatically apply multi-modality label
add: conditions:
- multi-modality - or:
- files~=^vllm/multimodal/
- name: label-structured-output - files~=^tests/multimodal/
description: Automatically apply structured-output label - files~=^tests/models/multimodal/
conditions: - files~=^tests/models/*/audio_language/
- or: - files~=^tests/models/*/vision_language/
- files~=^benchmarks/structured_schemas/ - files=tests/models/test_vision.py
- files=benchmarks/benchmark_serving_structured_output.py actions:
- files=benchmarks/run_structured_output_benchmark.sh label:
- files=docs/features/structured_outputs.md add:
- files=examples/offline_inference/structured_outputs.py - multi-modality
- files=examples/online_serving/openai_chat_completion_structured_outputs.py - name: label-structured-output
- files=examples/online_serving/openai_chat_completion_structured_outputs_with_reasoning.py description: Automatically apply structured-output label
- files~=^vllm/model_executor/guided_decoding/ conditions:
- files=tests/model_executor/test_guided_processors.py - or:
- files=tests/entrypoints/llm/test_guided_generate.py - files~=^benchmarks/structured_schemas/
- files~=^tests/v1/structured_output/ - files=benchmarks/benchmark_serving_structured_output.py
- files=tests/v1/entrypoints/llm/test_guided_generate.py - files=benchmarks/run_structured_output_benchmark.sh
- files~=^vllm/v1/structured_output/ - files=docs/features/structured_outputs.md
actions: - files=examples/offline_inference/structured_outputs.py
label: - files=examples/online_serving/openai_chat_completion_structured_outputs.py
add: - files=examples/online_serving/openai_chat_completion_structured_outputs_with_reasoning.py
- structured-output - files~=^vllm/model_executor/guided_decoding/
- files=tests/model_executor/test_guided_processors.py
- name: label-speculative-decoding - files=tests/entrypoints/llm/test_guided_generate.py
description: Automatically apply speculative-decoding label - files~=^tests/v1/structured_output/
conditions: - files=tests/v1/entrypoints/llm/test_guided_generate.py
- or: - files~=^vllm/v1/structured_output/
- files~=^vllm/spec_decode/ actions:
- files=vllm/model_executor/layers/spec_decode_base_sampler.py label:
- files~=^tests/spec_decode/ add:
actions: - structured-output
label: - name: label-speculative-decoding
add: description: Automatically apply speculative-decoding label
- speculative-decoding conditions:
- or:
- name: label-v1 - files~=^vllm/spec_decode/
description: Automatically apply v1 label - files=vllm/model_executor/layers/spec_decode_base_sampler.py
conditions: - files~=^tests/spec_decode/
- or: actions:
- files~=^vllm/v1/ label:
- files~=^tests/v1/ add:
actions: - speculative-decoding
label: - name: label-v1
add: description: Automatically apply v1 label
- v1 conditions:
- or:
- name: label-tpu - files~=^vllm/v1/
description: Automatically apply tpu label - files~=^tests/v1/
# Keep this list in sync with `label-tpu-remove` conditions actions:
conditions: label:
- or: add:
- files~=tpu.py - v1
- files~=_tpu - name: label-tpu
- files~=tpu_ description: Automatically apply tpu label
- files~=/tpu/ conditions:
- files~=pallas - or:
actions: - files~=tpu.py
label: - files~=_tpu
add: - files~=tpu_
- tpu - files~=/tpu/
- files~=pallas
- name: label-tpu-remove actions:
description: Automatically remove tpu label label:
# Keep this list in sync with `label-tpu` conditions add:
conditions: - tpu
- and: - name: label-tpu-remove
- -files~=tpu.py description: Automatically remove tpu label
- -files~=_tpu conditions:
- -files~=tpu_ - and:
- -files~=/tpu/ - -files~=tpu.py
- -files~=pallas - -files~=_tpu
actions: - -files~=tpu_
label: - -files~=/tpu/
remove: - -files~=pallas
- tpu actions:
label:
- name: label-tool-calling remove:
description: Automatically add tool-calling label - tpu
conditions: - name: label-tool-calling
- or: description: Automatically add tool-calling label
- files~=^tests/tool_use/ conditions:
- files~=^tests/mistral_tool_use/ - or:
- files~=^tests/entrypoints/openai/tool_parsers/ - files~=^tests/tool_use/
- files=tests/entrypoints/openai/test_chat_with_tool_reasoning.py - files~=^tests/mistral_tool_use/
- files~=^vllm/entrypoints/openai/tool_parsers/ - files~=^tests/entrypoints/openai/tool_parsers/
- files=docs/features/tool_calling.md - files=tests/entrypoints/openai/test_chat_with_tool_reasoning.py
- files~=^examples/tool_chat_* - files~=^vllm/entrypoints/openai/tool_parsers/
- files=examples/offline_inference/chat_with_tools.py - files=docs/features/tool_calling.md
- files=examples/online_serving/openai_chat_completion_client_with_tools_required.py - files~=^examples/tool_chat_*
- files=examples/online_serving/openai_chat_completion_tool_calls_with_reasoning.py - files=examples/offline_inference/chat_with_tools.py
- files=examples/online_serving/openai_chat_completion_client_with_tools.py - files=examples/online_serving/openai_chat_completion_client_with_tools_required.py
actions: - files=examples/online_serving/openai_chat_completion_tool_calls_with_reasoning.py
label: - files=examples/online_serving/openai_chat_completion_client_with_tools.py
add: actions:
- tool-calling label:
add:
- name: ping author on conflicts and add 'needs-rebase' label - tool-calling
conditions: - name: ping author on conflicts and add 'needs-rebase' label
conditions:
- conflict - conflict
- -closed - -closed
actions: actions:
label: label:
add: add:
- needs-rebase - needs-rebase
comment: comment:
message: | message: |
This pull request has merge conflicts that must be resolved before it can be This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @{{author}}. merged. Please rebase the PR, @{{author}}.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
- name: assign reviewer for tensorizer changes
- name: assign reviewer for tensorizer changes conditions:
conditions:
- files~=^vllm/model_executor/model_loader/tensorizer.py - files~=^vllm/model_executor/model_loader/tensorizer.py
- files~=^vllm/model_executor/model_loader/tensorizer_loader.py - files~=^vllm/model_executor/model_loader/tensorizer_loader.py
- files~=^tests/entrypoints/openai/test_tensorizer_entrypoint.py - files~=^tests/entrypoints/openai/test_tensorizer_entrypoint.py
- files~=^tests/tensorizer_loader/ - files~=^tests/tensorizer_loader/
actions: actions:
assign: assign:
users: users:
- "sangstar" - sangstar
- name: remove 'needs-rebase' label when conflict is resolved
- name: remove 'needs-rebase' label when conflict is resolved conditions:
conditions:
- -conflict - -conflict
- -closed - -closed
actions: actions:
label: label:
remove: remove:
- needs-rebase - needs-rebase