Skip to content

[#2155] fix: add missing @return #862

[#2155] fix: add missing @return

[#2155] fix: add missing @return #862

name: Automatically cherry-pick merged PR to different branches
on:
pull_request_target:
branches:
- main
types: ["closed"]
jobs:
cherry_pick_branch_0_3:
runs-on: ubuntu-latest
name: Cherry pick into branch_0.3
if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.3') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cherry pick into branch-0.3
uses: carloscastrojumo/[email protected]
with:
token: ${{ secrets.BOT_TOKEN }}
branch: branch-0.3
labels: |
cherry-pick
reviewers: |
jerryshao
cherry_pick_branch_0_4:
runs-on: ubuntu-latest
name: Cherry pick into branch_0.4
if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.4') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cherry pick into branch-0.4
uses: carloscastrojumo/[email protected]
with:
token: ${{ secrets.BOT_TOKEN }}
branch: branch-0.4
labels: |
cherry-pick
reviewers: |
jerryshao
cherry_pick_branch_0_5:
runs-on: ubuntu-latest
name: Cherry pick into branch_0.5
if: ${{ contains(github.event.pull_request.labels.*.name, 'branch-0.5') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cherry pick into branch-0.5
uses: carloscastrojumo/[email protected]
with:
token: ${{ secrets.BOT_TOKEN }}
branch: branch-0.5
labels: |
cherry-pick
reviewers: |
jerryshao
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}