From 5cd0a1350902b6469cc1b71c82b71046b41dc5ab Mon Sep 17 00:00:00 2001 From: Sergey Yakovlev Date: Wed, 30 Oct 2024 22:49:08 +0200 Subject: [PATCH] chore(ci): rework mergify configuration --- .github/mergify.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index dbc63d44..596ad1ff 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,12 +1,15 @@ -defaults: - actions: - queue: - allow_merging_configuration_change: true - queue_rules: - name: default conditions: - - check-success=buildbot/nix-eval + - "check-success=buildbot/nix-eval" + batch_size: 1 + merge: + method: squash + commit_message_template: | + {{ title }} (#{{ number }}) + + {{ body }} + allow_merging_configuration_change: true pull_request_rules: - name: Automerge PRs using the merge queue @@ -20,6 +23,7 @@ pull_request_rules: - name: Delete head branch after merge conditions: - - "merged" + - merged actions: - delete_head_branch: {} + delete_head_branch: + force: true