[skip ci]Add a mergify rule (#5021)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/5024/head
Xiangyu Wang 2021-04-24 10:24:18 +08:00 committed by GitHub
parent 3c58e7e9b2
commit 4495cf84f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
.github/mergify.yml vendored
View File

@ -34,3 +34,20 @@ pull_request_rules:
actions:
merge:
method: squash
- name: Use the title and body from the pull request itself as the commit message
conditions:
- base=master
- -title~=(?i)\[wip\]
- "label=PR | message from pull request"
- "#approved-reviews-by>=1"
- "approved-reviews-by=czs007"
- "#changes-requested-reviews-by=0"
- "status-success=DCO"
- "status-success=continuous-integration/jenkins/pr-merge"
- "status-success=AMD64 Ubuntu 18.04"
actions:
merge:
method: squash
commit_message: title+body