diff --git a/.mergify.yml b/.mergify.yml index 0d8462b..60e353f 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -2,22 +2,26 @@ queue_rules: - name: default - update_method: merge - conditions: + queue_conditions: + - "#approved-reviews-by>=1" + - -label~=(do-not-merge) + - status-success=build + merge_conditions: - "#approved-reviews-by>=1" - -label~=(do-not-merge) - status-success=build + update_method: merge + commit_message_template: |- + {{ title }} (#{{ number }}) + + {{ body }} + merge_method: squash + pull_request_rules: - name: Automatic merge on approval and successful build actions: delete_head_branch: {} queue: - method: squash - name: default - commit_message_template: |- - {{ title }} (#{{ number }}) - - {{ body }} conditions: - "#approved-reviews-by>=1" - -label~=(do-not-merge)