Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Point users to reference implementation #223

Point users to reference implementation

Point users to reference implementation #223

name: "Cherry pick PR to release branches"
on:
pull_request_target:
branches:
- master
types: [closed]
jobs:
cherry_pick_release_v1_1_x:
runs-on: ubuntu-latest
name: Cherry pick into release-v1.1.x branch
if: contains(github.event.pull_request.labels.*.name, 'release/v1.1.x') && github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH for cherry-pick repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SBO_CHERRY_PICK_REPO_SSH_PRIVATE_KEY }}
- name: Cherry pick into release-v1.1.x
uses: pmacik/github-cherry-pick-action@main
with:
cherry-pick-repo: ${{ secrets.SBO_CHERRY_PICK_REPO }}
token: ${{ secrets.SBO_CHERRY_PICK_BOT_TOKEN }}
branch: release-v1.1.x
exclude-labels: |
release/v1.2.x
release/v1.3.x
release/v1.4.x
labels: |
cherry-pick
title-prefix: "cherry-pick(release-v1.1.x): "
cherry_pick_release_v1_2_x:
runs-on: ubuntu-latest
name: Cherry pick into release-v1.2.x branch
if: contains(github.event.pull_request.labels.*.name, 'release/v1.2.x') && github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH for cherry-pick repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SBO_CHERRY_PICK_REPO_SSH_PRIVATE_KEY }}
- name: Cherry pick into release-v1.2.x
uses: pmacik/github-cherry-pick-action@main
with:
cherry-pick-repo: ${{ secrets.SBO_CHERRY_PICK_REPO }}
token: ${{ secrets.SBO_CHERRY_PICK_BOT_TOKEN }}
branch: release-v1.2.x
exclude-labels: |
release/v1.1.x
release/v1.3.x
release/v1.4.x
labels: |
cherry-pick
title-prefix: "cherry-pick(release-v1.2.x): "
cherry_pick_release_v1_3_x:
runs-on: ubuntu-latest
name: Cherry pick into release-v1.3.x branch
if: contains(github.event.pull_request.labels.*.name, 'release/v1.3.x') && github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH for cherry-pick repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SBO_CHERRY_PICK_REPO_SSH_PRIVATE_KEY }}
- name: Cherry pick into release-v1.3.x
uses: pmacik/github-cherry-pick-action@main
with:
cherry-pick-repo: ${{ secrets.SBO_CHERRY_PICK_REPO }}
token: ${{ secrets.SBO_CHERRY_PICK_BOT_TOKEN }}
branch: release-v1.3.x
exclude-labels: |
release/v1.1.x
release/v1.2.x
release/v1.4.x
labels: |
cherry-pick
title-prefix: "cherry-pick(release-v1.3.x): "
cherry_pick_release_v1_4_x:
runs-on: ubuntu-latest
name: Cherry pick into release-v1.4.x branch
if: contains(github.event.pull_request.labels.*.name, 'release/v1.4.x') && github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH for cherry-pick repo
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SBO_CHERRY_PICK_REPO_SSH_PRIVATE_KEY }}
- name: Cherry pick into release-v1.4.x
uses: pmacik/github-cherry-pick-action@main
with:
cherry-pick-repo: ${{ secrets.SBO_CHERRY_PICK_REPO }}
token: ${{ secrets.SBO_CHERRY_PICK_BOT_TOKEN }}
branch: release-v1.4.x
exclude-labels: |
release/v1.1.x
release/v1.2.x
release/v1.3.x
labels: |
cherry-pick
title-prefix: "cherry-pick(release-v1.4.x): "