diff --git a/.mergify.yml b/.mergify.yml index 284487c31aa..308e74b5bbd 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -12,6 +12,30 @@ pull_request_rules: method: squash strict: smart + - name: backport patches to 2.7.x branch + conditions: + - label=status:needs-backport + actions: + backport: + branches: + - 2.7.x + + - name: backport patches to 2.6.x branch + conditions: + - label=status:needs-backport-2.6 + actions: + backport: + branches: + - 2.6.x + + - name: forward patches to master branch + conditions: + - label=status:needs-forwardport + actions: + backport: + branches: + - master + - name: Delete the PR branch after merge conditions: - merged