2024-01-28 03:41:06 +00:00
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
types: ["closed"]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
cherry_no_future_to_current:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Cherry pick into current release
|
2024-05-19 21:35:20 +00:00
|
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release-2') && github.event.pull_request.merged == true }}
|
2024-01-28 03:41:06 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Cherry pick into current release
|
2024-05-19 21:35:20 +00:00
|
|
|
uses: carloscastrojumo/github-cherry-pick-action@v1.0.10
|
2024-01-28 03:41:06 +00:00
|
|
|
with:
|
|
|
|
branch: release_1_patches
|
|
|
|
labels: |
|
|
|
|
cherry-pick
|
|
|
|
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|