From 2c581b56e4444c8a967d0f906e04cabd255321c2 Mon Sep 17 00:00:00 2001 From: Renato Cavalcanti Date: Tue, 26 Mar 2019 17:14:58 +0100 Subject: [PATCH] Merfigy: Adds backport rules (#9115) --- .mergify.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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