From 0869f13f1779bff5743335a64788e8412ddf5aba Mon Sep 17 00:00:00 2001 From: Sylvain Juge <763082+SylvainJuge@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:35:33 +0200 Subject: [PATCH] add rule with label for PRs --- .mergify.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index c897d0f72d..d86ece6e7c 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,2 +1,13 @@ queue_rules: - name: default + # branch protection rules are automatically included, no extra rule needed for now + +pull_request_rules: + - name: Automatic squash and merge on approval with success checks and ready-to-merge label + conditions: + - label=ready-to-merge + - base=main + actions: + queue: + method: squash + name: default