From f13db8b460124eb67e5a9544572c72aa482195f0 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Tue, 12 Sep 2023 10:56:13 -0400 Subject: [PATCH] feat: automate queue for merge (#190) --- .github/mergify.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 8ec48764..e426911e 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -8,7 +8,7 @@ pull_request_rules: assign: add_users: - "{{ author }}" - - name: automatic merge for main when CI passes and 2 reviews and not WIP + - name: automatic queue when not WIP, CI passes, and at least 1 approving review conditions: - "#approved-reviews-by>=1" - check-success=test (3.10) @@ -16,5 +16,11 @@ pull_request_rules: - base=main - label!=work-in-progress actions: - merge: + queue: method: squash + name: default +queue_rules: + - name: default + conditions: + - check-success=test (3.10) + - check-success=build-and-push-image