diff --git a/.github/mergify.yml b/.github/mergify.yml index 92c2f52e5bd83c0cec2d89c14eb5d309043d8560..8560b36bdb945efcf4ea753750ad3edb66ff8452 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