World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#290] ci: Add github action to cherry-pick the PR automatically based on label (#293)
Jerry Shaob15578a42e8c
diff --git a/.github/workflows/auto-cherry-pick.yml b/.github/workflows/auto-cherry-pick.ymlnew file mode 100644index 0000000000..149e2c9c40--- /dev/null+++ b/.github/workflows/auto-cherry-pick.yml@@ -0,0 +1,28 @@+name: Automatically cherry-pick merged PR to different branches++on:+ pull_request_target:+ branches:+ - main+ types: ["closed"]++jobs:+ cherry_pick_branch_0_1:+ runs-on: ubuntu-latest+ name: Cherry pick into branch_0.1+ if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.1') && github.event.pull_request.merged == true }}+ steps:+ - name: Checkout+ uses: actions/checkout@v2+ with:+ fetch-depth: 0+ - name: Cherry pick into branch-0.1+ uses: carloscastrojumo/[email protected]+ with:+ branch: branch-0.1+ labels: |+ cherry-pick+ reviewers: |+ jerryshao+env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}