From 02ef33199981a08ccc72a5cde8872f1ea0c623f9 Mon Sep 17 00:00:00 2001 From: lmatz Date: Fri, 1 Sep 2023 02:18:47 +0800 Subject: [PATCH] chore: cherry pick action for v1.2 (#12004) --- .../workflows/cherry-pick-to-release-branch.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/cherry-pick-to-release-branch.yml b/.github/workflows/cherry-pick-to-release-branch.yml index ed6946e8c2f11..06ed9dbd2672b 100644 --- a/.github/workflows/cherry-pick-to-release-branch.yml +++ b/.github/workflows/cherry-pick-to-release-branch.yml @@ -22,3 +22,19 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + release_pull_request_1_2: + if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-v1.2') && github.event.pull_request.merged == true" + runs-on: ubuntu-latest + name: release_pull_request + steps: + - name: checkout + uses: actions/checkout@v1 + - name: Create PR to branch + uses: risingwavelabs/github-action-cherry-pick@master + with: + pr_branch: 'v1.2-rc' + pr_labels: 'cherry-pick' + pr_body: ${{ format('Cherry picking \#{0} onto branch v1.2-rc', github.event.number) }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +