[CI][Feature] Adds auto-rebase PR rule (#30875)

Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
Co-authored-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Rafael Vasquez 2025-12-17 19:46:44 -05:00 committed by GitHub
parent 74a1ac38b0
commit ed2897f336
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

12
.github/mergify.yml vendored
View File

@ -349,6 +349,18 @@ pull_request_rules:
add:
- tool-calling
- name: auto-rebase if approved, ready, and 40 commits behind main
conditions:
- base = main
- label=ready
- "#approved-reviews-by >= 1"
- "#commits-behind >= 40"
- -closed
- -draft
- -conflict
actions:
rebase: {}
- name: ping author on conflicts and add 'needs-rebase' label
conditions:
- label != stale