From 1825f62ef2b057d43eb871be8362e94086449362 Mon Sep 17 00:00:00 2001 From: lmatz Date: Tue, 7 May 2024 00:19:18 +0800 Subject: [PATCH] chore: update cherry pick bot to release-1.9 --- .../cherry-pick-to-release-branch.yml | 31 +++++-------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/.github/workflows/cherry-pick-to-release-branch.yml b/.github/workflows/cherry-pick-to-release-branch.yml index f54e9fc722e6e..4e8fd60117731 100644 --- a/.github/workflows/cherry-pick-to-release-branch.yml +++ b/.github/workflows/cherry-pick-to-release-branch.yml @@ -6,8 +6,8 @@ on: types: ["closed", "labeled"] jobs: - release_pull_request_1_8: - if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.8') && github.event.pull_request.merged == true" + release_pull_request_1_9: + if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.9') && github.event.pull_request.merged == true" runs-on: ubuntu-latest name: release_pull_request steps: @@ -16,14 +16,14 @@ jobs: - name: Create PR to branch uses: risingwavelabs/github-action-cherry-pick@master with: - pr_branch: 'release-1.8' + pr_branch: 'release-1.9' pr_labels: 'cherry-pick' - pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.8', github.event.number) }} + pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.9', github.event.number) }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - release_pull_request_1_7_standalone: - if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.7-standalone') && github.event.pull_request.merged == true" + release_pull_request_1_8: + if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.8') && github.event.pull_request.merged == true" runs-on: ubuntu-latest name: release_pull_request steps: @@ -32,24 +32,9 @@ jobs: - name: Create PR to branch uses: risingwavelabs/github-action-cherry-pick@master with: - pr_branch: 'release-1.7.0-standalone' + pr_branch: 'release-1.8' pr_labels: 'cherry-pick' - pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.7.0-standalone', github.event.number) }} + pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.8', github.event.number) }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - release_pull_request_1_7: - if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.7') && 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: 'release-1.7' - pr_labels: 'cherry-pick' - pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.7', github.event.number) }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}