From 1c00f330bd80989e6d9438d08b9a33f8260ad6da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8BAndrzej=20Ressel?= Date: Mon, 18 Mar 2024 22:46:09 +0100 Subject: [PATCH] ci(Mergify): configuration update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ​Andrzej Ressel --- .mergify.yml | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 77b53380..292a54b5 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