mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 01:25:12 +00:00
action to cherry-pick PRs to appropriate branches on merge
This commit is contained in:
parent
79ef926f17
commit
d42541690f
1 changed files with 25 additions and 0 deletions
25
.github/workflows/cherry-tirage.yml
vendored
Normal file
25
.github/workflows/cherry-tirage.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- master
|
||||
types: ["closed"]
|
||||
|
||||
jobs:
|
||||
cherry_no_future_to_current:
|
||||
runs-on: ubuntu-latest
|
||||
name: Cherry pick into current release
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release-2') }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cherry pick into current release
|
||||
uses: xealth/cherry-pick-action@v1.0.0
|
||||
with:
|
||||
branch: release_1_patches
|
||||
labels: |
|
||||
cherry-pick
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue