From 25c62044f5c13bce4d90baa8936fc38d07dd786b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 1 Apr 2024 13:34:41 +0200 Subject: [PATCH] mergify: use GitHub checks and add backports --- .mergify.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.mergify.yml b/.mergify.yml index 1e87a289a7..792492d06c 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,7 @@ queue_rules: - name: default conditions: - - check-success=beats-ci/e2e-testing/pr-merge + - "check-success=Run Test" pull_request_rules: - name: ask to resolve conflict @@ -206,3 +206,29 @@ pull_request_rules: labels: - "backport" title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}" + - name: backport patches to 8.12 branch + conditions: + - merged + - label=backport-v8.12.0 + actions: + backport: + assignees: + - "{{ author }}" + branches: + - "8.12" + labels: + - "backport" + title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}" + - name: backport patches to 8.13 branch + conditions: + - merged + - label=backport-v8.13.0 + actions: + backport: + assignees: + - "{{ author }}" + branches: + - "8.13" + labels: + - "backport" + title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"