From 6fbbee4866f30146a6895aabe9ad2635cb64970e Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Tue, 25 Jun 2024 23:02:32 +0300 Subject: [PATCH] improvement(mergify): add support for the new 'branch-2024.2' branch --- .github/mergify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/mergify.yml b/.github/mergify.yml index cc02f21d66..aed0c0109e 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -101,6 +101,25 @@ pull_request_rules: - branch-2024.1 assignees: - "{{ author }}" + - name: Automate backport pull request 2024.2 + conditions: + - base=master # Ensure this rule only applies to PRs merged into the master branch + - label=backport/2024.2 # The PR must have this label to trigger the backport + actions: + backport: + title: "[Backport 2024.2] {{ title }}" + body: | + {{ body }} + + {% for c in commits %} + (cherry picked from commit {{ c.sha }}) + {% endfor %} + + Parent PR: #{{number}} + branches: + - branch-2024.2 + assignees: + - "{{ author }}" - name: Automate backport pull request perf-v14 conditions: - base=master # Ensure this rule only applies to PRs merged into the master branch