From 60faa725f24d1b0cda7d1393ed923734e4dd673e Mon Sep 17 00:00:00 2001 From: Nano Date: Thu, 22 Oct 2026 14:12:59 +0800 Subject: [PATCH] Add Mergify merge queue configuration Co-authored-by: Lin Yinfeng --- .mergify.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..d0dc857 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,22 @@ +# Nothing is queued automatically: a maintainer ticks the box on Mergify's +# comment (or comments `@mergifyio queue`) and the queue lands it once the +# checks below are green. +queue_rules: + - name: default + queue_conditions: + - base = main + - -draft + # Re-checked at the front of the queue, so a green run from before a rebase + # does not count. + merge_conditions: + - check-success = check + # Linear history + merge_method: rebase + update_method: rebase + batch_size: 1 + +# Already the default for `queue`: only maintainers can add to the queue. +commands_restrictions: + queue: + conditions: + - sender-permission >= write