mirror of https://github.com/milvus-io/milvus.git
Dismiss block label if automated create PR (#6579)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/6584/head
parent
2a42244ff6
commit
95f6f42401
|
@ -88,7 +88,7 @@ pull_request_rules:
|
|||
- name: Blocking PR if missing a related issue
|
||||
conditions:
|
||||
- base=master
|
||||
- "-body~= #[0-9]{1,6}"
|
||||
- -body~=\#[0-9]{1,6}(\s+|$)
|
||||
- -title~=\[automated\]
|
||||
actions:
|
||||
label:
|
||||
|
@ -96,13 +96,21 @@ pull_request_rules:
|
|||
- do-not-merge/missing-related-issue
|
||||
comment:
|
||||
message: |
|
||||
@{{author}} Please associate the related issue to the body of your Pull Request. (eg. “issue: #5”)
|
||||
@{{author}} Please associate the related issue to the body of your Pull Request. (eg. “issue: #6534”)
|
||||
|
||||
|
||||
- name: Dismiss block label if related issue be added into PR
|
||||
conditions:
|
||||
- base=master
|
||||
- "body~= #[0-9]{1,6}"
|
||||
- body~=\#[0-9]{1,6}(\s+|$)
|
||||
actions:
|
||||
label:
|
||||
remove:
|
||||
- do-not-merge/missing-related-issue
|
||||
|
||||
- name: Dismiss block label if automated create PR
|
||||
conditions:
|
||||
- base=master
|
||||
- title~=\[automated\]
|
||||
actions:
|
||||
label:
|
||||
|
|
Loading…
Reference in New Issue