diff --git a/.github/workflows/auto-cherry-pick.yml b/.github/workflows/auto-cherry-pick.yml index 0a264e83526..efea2823706 100644 --- a/.github/workflows/auto-cherry-pick.yml +++ b/.github/workflows/auto-cherry-pick.yml @@ -7,60 +7,42 @@ on: types: ["closed"] jobs: - cherry_pick_branch_0_5: - runs-on: ubuntu-latest - name: Cherry pick into branch_0.5 - if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.5') && github.event.pull_request.merged == true }} - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Cherry pick into branch-0.5 - uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 - with: - branch: branch-0.5 - labels: | - cherry-pick - reviewers: | - jerryshao - - cherry_pick_branch_0_6: + cherry_pick_branch_0_7: runs-on: ubuntu-latest - name: Cherry pick into branch_0.6 - if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.6') && github.event.pull_request.merged == true }} + name: Cherry pick into branch_0.7 + if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.7') && github.event.pull_request.merged == true }} steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Cherry pick into branch-0.6 + - name: Cherry pick into branch-0.7 uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 with: - branch: branch-0.6 + branch: branch-0.7 labels: | cherry-pick reviewers: | jerryshao - - cherry_pick_branch_0_7: + cherry_pick_branch_0_8: runs-on: ubuntu-latest - name: Cherry pick into branch_0.7 - if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.7') && github.event.pull_request.merged == true }} + name: Cherry pick into branch_0.8 + if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.8') && github.event.pull_request.merged == true }} steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Cherry pick into branch-0.7 + - name: Cherry pick into branch-0.8 uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 with: - branch: branch-0.7 + branch: branch-0.8 labels: | cherry-pick reviewers: | jerryshao + FANNG1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}