Dismiss block label if automated create PR (#6579)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/6584/head
quicksilver 2021-07-16 11:41:55 +08:00 committed by GitHub
parent 2a42244ff6
commit 95f6f42401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

14
.github/mergify.yml vendored
View File

@ -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: