Unverified Commit ed2897f3 authored by Rafael Vasquez's avatar Rafael Vasquez Committed by GitHub
Browse files

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


Signed-off-by: default avatarRafael Vasquez <rafvasq21@gmail.com>
Co-authored-by: default avatarKevin H. Luu <khluu000@gmail.com>
parent 74a1ac38
...@@ -349,6 +349,18 @@ pull_request_rules: ...@@ -349,6 +349,18 @@ pull_request_rules:
add: add:
- tool-calling - 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 - name: ping author on conflicts and add 'needs-rebase' label
conditions: conditions:
- label != stale - label != stale
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment