[skip ci]Add an automerge rule for document changes (#5005)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
Xiangyu Wang 2021-04-23 10:54:53 +08:00 committed by GitHub
parent 0629b9c773
commit e8d9d2b030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
.github/mergify.yml vendored
View File

@ -22,3 +22,15 @@ pull_request_rules:
merge:
method: squash
- name: automatic merge for master when document files changed only and the title does not contain “[WIP]”
conditions:
- base=master
- -title~=(?i)\[wip\]
- "label=PR | automerge"
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "status-success=DCO"
- -files~=\.(?!md|png)
actions:
merge:
method: squash