[skip ci]Enable Mergify (#4991)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/4987/head
Xiangyu Wang 2021-04-22 10:49:02 +08:00 committed by GitHub
parent 3bb69430cb
commit 0f6d44b6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/mergify.yml vendored Normal file
View File

@ -0,0 +1,25 @@
pull_request_rules:
- name: add auto-merge label if the title does not contain “[WIP]”
conditions:
- base=master
- -title~=(?i)\[wip\]
actions:
label:
add:
- "PR | automerge"
- name: automatic merge for master when ci passed and the title does not contain “[WIP]”
conditions:
- base=master
- -title~=(?i)\[wip\]
- "label=PR | automerge"
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#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