From 70b2b4ee674fa71645560a605ef47093f2fc8feb Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Sat, 30 Dec 2023 21:00:02 +0800 Subject: [PATCH] added pull_request_rules --- .github/mergify.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/mergify.yml b/.github/mergify.yml index f856bca8..e79c0458 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,3 +1,12 @@ +pull_request_rules: + - name: "Automatic queue when CI passes and approved" + conditions: + - "#approved-reviews-by>=0" + - "check-success=tests" + actions: + queue: + merge_method: squash + update_method: rebase queue_rules: - name: default queue_conditions: