mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
30 lines
652 B
YAML
30 lines
652 B
YAML
name: Cherry Pick
|
|
|
|
on:
|
|
pull_request_target:
|
|
branches:
|
|
- main
|
|
types:
|
|
- closed
|
|
|
|
jobs:
|
|
cherry_pick:
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Cherry pick into 1.10.X-fixes
|
|
|
|
if: github.event.pull_request.merged == true && 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
|
|
labels: from-cherry-pick
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|