mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
PR with imporvement can merge without linking a issue (#7542)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
parent
76f5264e79
commit
e5ff32beee
12
.github/mergify.yml
vendored
12
.github/mergify.yml
vendored
@ -96,10 +96,11 @@ pull_request_rules:
|
||||
remove:
|
||||
- ci-passed
|
||||
|
||||
- name: Blocking PR if missing a related issue
|
||||
- name: Blocking PR if missing a related issue or PR doesn't have kind/improvement label
|
||||
conditions:
|
||||
- base=master
|
||||
- -body~=\#[0-9]{1,6}(\s+|$)
|
||||
- -label=kind/improvement
|
||||
- -title~=\[automated\]
|
||||
actions:
|
||||
label:
|
||||
@ -112,8 +113,13 @@ pull_request_rules:
|
||||
|
||||
- name: Dismiss block label if related issue be added into PR
|
||||
conditions:
|
||||
- base=master
|
||||
- body~=\#[0-9]{1,6}(\s+|$)
|
||||
- or:
|
||||
- and:
|
||||
- base=master
|
||||
- body~=\#[0-9]{1,6}(\s+|$)
|
||||
- and:
|
||||
- base=master
|
||||
- label=kind/improvement
|
||||
actions:
|
||||
label:
|
||||
remove:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user