From 0d310ffbebe588972fb57b84b3ce564c0222ef4e Mon Sep 17 00:00:00 2001 From: Cyrus Leung Date: Fri, 10 Apr 2026 01:59:56 +0800 Subject: [PATCH] [CI/Build] Update auto-rebase rule (#39429) Signed-off-by: DarkLight1337 --- .github/mergify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index e8ef4d49d..4b815cbea 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -378,17 +378,17 @@ pull_request_rules: add: - tool-calling -- name: auto-rebase if approved, ready, and 40 commits behind main +- name: auto-rebase to keep merge candidate within 1 day behind main conditions: - base = main - label=ready - "#approved-reviews-by >= 1" - - "#commits-behind >= 40" + - "#commits-behind >= 50" - -closed - -draft - -conflict actions: - rebase: {} + update: {} - name: ping author on conflicts and add 'needs-rebase' label conditions: