Skip to content

Commit

Permalink
add cherry-pick action
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <complex451@gmail.com>
  • Loading branch information
ericharper committed Sep 20, 2022
1 parent 6d02e3a commit 8f2202e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cherry-pick-release-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create PR to main with cherry-pick from release

on:
pull_request_target:
branches:
- 'r*.*.*'

jobs:
cherry-pick-release-commit:
name: Cherry-pick release commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: github-cherry-pick-action v1.0.3
uses: carloscastrojumo/github-cherry-pick-action@bb0869df47c27be4ae4c7a2d93d22827aa5a0054
with:
branch: main
labels: |
cherry-pick
reviewers: |
${{ github.event.pull_request.user.login }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8f2202e

Please sign in to comment.