From 2e834fecfbcb37cc669ea50a594c30a441188085 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 20 Sep 2022 14:21:16 +0100 Subject: [PATCH] add cherry-pick action --- .github/workflows/cherry-pick.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/cherry-pick.yml diff --git a/.github/workflows/cherry-pick.yml b/.github/workflows/cherry-pick.yml new file mode 100644 index 0000000..3f7f11d --- /dev/null +++ b/.github/workflows/cherry-pick.yml @@ -0,0 +1,25 @@ +on: + pull_request: + branches: + - main + types: + - closed + +jobs: + cherry_pick: + runs-on: ubuntu-latest + + name: Cherry pick into 1.10.X-fixes + + if: contains(github.event.pull_request.labels.*.name, 'cherry-pick-v1') + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Cherry pick into 1.10.X-fixes + uses: carloscastrojumo/github-cherry-pick-action@v1.0.1 + with: + branch: 1.10.X-fixes