test: mergify removes ci-passed when only tests changes (#45038)

Signed-off-by: Zhikun Yao <zhikun.yao@zilliz.com>
This commit is contained in:
zhikunyao 2025-10-22 18:56:04 +08:00 committed by GitHub
parent 314ee81712
commit cab9ee63f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
.github/mergify.yml vendored
View File

@ -214,6 +214,21 @@ pull_request_rules:
# Remove ci-passed labels when tests fail # Remove ci-passed labels when tests fail
# ========================================================================== # ==========================================================================
- name: Remove ci-passed when E2E test not success for tests changed
conditions:
- or: *BRANCHES
- -files~=^(?!tests\/python_client).+
- label!=manual-pass
- label=ci-passed
- not:
or:
- status-success=cpu-e2e
- status-success=ci-v2/e2e-default
actions:
label:
remove:
- ci-passed
# ========================================================================== # ==========================================================================
# CONSOLIDATED MIGRATION FAILURE HANDLING # CONSOLIDATED MIGRATION FAILURE HANDLING
# Handle failure scenarios during CI system migration with optimized rules # Handle failure scenarios during CI system migration with optimized rules