From 05f207e46514d79dc3251775eb8942598991ca26 Mon Sep 17 00:00:00 2001 From: Jayden Lee <41176085+tkxkd0159@users.noreply.github.com> Date: Thu, 26 Oct 2023 14:12:29 +0900 Subject: [PATCH] add backport option for bot --- .github/CODEOWNERS | 2 +- .mergify.yml | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cc47362599..1f0a7c5643 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # These owners will be the default owners for everything in # the repo. Unless a later match takes precedenc -* @tkxkd0159 @zemyblue @0Tech @jaeseung-bae \ No newline at end of file +* @tkxkd0159 @zemyblue @0Tech @jaeseung-bae diff --git a/.mergify.yml b/.mergify.yml index 52b25aefd0..159f6e9d07 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -15,4 +15,20 @@ pull_request_rules: method: squash commit_message_template: | {{ title }} (#{{ number }}) - {{ body }} \ No newline at end of file + {{ body }} + - name: backport patches to v0.48.x branch + conditions: + - base=main + - label=backport/v0.48.x + actions: + backport: + branches: + - release/v0.48.x + - name: backport patches to v0.47.x branch + conditions: + - base=main + - label=backport/v0.47.x + actions: + backport: + branches: + - release/v0.47.x