Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] feat(CI): Support automatically cherry-pick to 0.2 and 0.3 branch (#580)

Jerry Shaoae1807284d72
diff --git a/.github/workflows/auto-cherry-pick.yml b/.github/workflows/auto-cherry-pick.yml
index 149e2c9c40..dad2474a25 100644
--- a/.github/workflows/auto-cherry-pick.yml
+++ b/.github/workflows/auto-cherry-pick.yml
@@ -24,5 +24,39 @@ jobs:
cherry-pick
reviewers: |
jerryshao
+ cherry_pick_branch_0_2:
+ runs-on: ubuntu-latest
+ name: Cherry pick into branch_0.2
+ if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.2') && github.event.pull_request.merged == true }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Cherry pick into branch-0.2
+ uses: carloscastrojumo/[email protected]
+ with:
+ branch: branch-0.2
+ labels: |
+ cherry-pick
+ reviewers: |
+ jerryshao
+ cherry_pick_branch_0_3:
+ runs-on: ubuntu-latest
+ name: Cherry pick into branch_0.3
+ if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.3') && github.event.pull_request.merged == true }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Cherry pick into branch-0.3
+ uses: carloscastrojumo/[email protected]
+ with:
+ branch: branch-0.3
+ labels: |
+ cherry-pick
+ reviewers: |
+ jerryshao
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}