add cherry-pick action

This commit is contained in:
Samuel Colvin
2022-09-20 14:21:16 +01:00
parent 523c62252a
commit 2e834fecfb
+25
View File
@@ -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