diff --git a/.github/mergify.yml b/.github/mergify.yml index 92c2f52e5b..8560b36bdb 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -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