mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
0b00eacd90
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
97 lines
2.2 KiB
YAML
97 lines
2.2 KiB
YAML
pull_request_rules:
|
|
- name: Test passed for code changed
|
|
conditions:
|
|
- base=master
|
|
- "status-success=Code Checker AMD64 Ubuntu 18.04"
|
|
- "status-success=Build and test AMD64 Ubuntu 18.04"
|
|
- "status-success=continuous-integration/jenkins/pr-merge"
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|
|
|
|
- name: Test passed for tests changed
|
|
conditions:
|
|
- base=master
|
|
- -files~=^(?!tests).+
|
|
- "status-success=continuous-integration/jenkins/pr-merge"
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|
|
|
|
- name: Test passed for tests20 changed
|
|
conditions:
|
|
- base=master
|
|
- -files~=^(?!tests20).+
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|
|
|
|
- name: Test passed for document changed
|
|
conditions:
|
|
- base=master
|
|
- -files~=^[^\.]+$
|
|
- -files~=\.(?!md|png)
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|
|
|
|
- name: Test passed for mergify changed
|
|
conditions:
|
|
- base=master
|
|
- -files~=^(?!\.github\/mergify\.yml).*$
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|
|
|
|
- name: Remove ci-passed when code check failed
|
|
conditions:
|
|
- base=master
|
|
- "check-failure=Code Checker AMD64 Ubuntu 18.04"
|
|
actions:
|
|
label:
|
|
remove:
|
|
- ci-passed
|
|
|
|
- name: Remove ci-passed when unittest failed
|
|
conditions:
|
|
- base=master
|
|
- "check-failure=Build and test AMD64 Ubuntu 18.04"
|
|
actions:
|
|
label:
|
|
remove:
|
|
- ci-passed
|
|
|
|
- name: Remove ci-passed when ci failed
|
|
conditions:
|
|
- base=master
|
|
- "check-failure=continuous-integration/jenkins/pr-merge"
|
|
actions:
|
|
label:
|
|
remove:
|
|
- ci-passed
|
|
|
|
- name: Remove ci-passed when ci pending
|
|
conditions:
|
|
- base=master
|
|
- "check-pending=continuous-integration/jenkins/pr-merge"
|
|
actions:
|
|
label:
|
|
remove:
|
|
- ci-passed
|
|
|
|
# ONLY for recovery branch
|
|
- name: Test passed for code changed
|
|
conditions:
|
|
- base=recovery
|
|
- "status-success=Code Checker AMD64 Ubuntu 18.04"
|
|
- "status-success=Build and test AMD64 Ubuntu 18.04"
|
|
actions:
|
|
label:
|
|
add:
|
|
- ci-passed
|