diff --git a/.github/mergify.yml b/.github/mergify.yml index 3ad79f93bc7a..6a962e25e2b7 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,4 +1,11 @@ pull_request_rules: +- name: rebase-pr-older-than-40-commits + conditions: + - base = main + - "#commits-behind >= 40" + actions: + rebase: + - name: label-documentation description: Automatically apply documentation label conditions: