diff --git a/.mergify.yml b/.mergify.yml index 77b533807..292a54b50 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,19 +1,24 @@ -queue_rules: - - name: default - conditions: [] - -pull_request_rules: - - name: automatic merge for main when CI passes - conditions: - - base=main - - or: - - label=ready-to-merge - - label=dependencies - actions: - queue: - name: default - - name: delete head branch after merge - conditions: - - merged - actions: +queue_rules: + - name: default + merge_method: squash + commit_message_template: | + {{ title }} (#{{ number }}) + + {{ body }} + +pull_request_rules: + - name: automatic merge for main when CI passes + conditions: + - base=main + - or: + - label=ready-to-merge + - label=dependencies + actions: + queue: + name: default + + - name: delete head branch after merge + conditions: + - merged + actions: delete_head_branch: \ No newline at end of file