Unverified Commit 0d310ffb authored by Cyrus Leung's avatar Cyrus Leung Committed by GitHub
Browse files

[CI/Build] Update auto-rebase rule (#39429)


Signed-off-by: default avatarDarkLight1337 <tlleungac@connect.ust.hk>
parent d5f75fdf
...@@ -378,17 +378,17 @@ pull_request_rules: ...@@ -378,17 +378,17 @@ pull_request_rules:
add: add:
- tool-calling - 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: conditions:
- base = main - base = main
- label=ready - label=ready
- "#approved-reviews-by >= 1" - "#approved-reviews-by >= 1"
- "#commits-behind >= 40" - "#commits-behind >= 50"
- -closed - -closed
- -draft - -draft
- -conflict - -conflict
actions: actions:
rebase: {} update: {}
- name: ping author on conflicts and add 'needs-rebase' label - name: ping author on conflicts and add 'needs-rebase' label
conditions: conditions:
......
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