Skip to content

Commit

Permalink
chore: use github action to auto cherry pick pr to release branch (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz authored Jun 19, 2023
1 parent 608e183 commit a6c9c39
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cherry-pick-to-release-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR for release branch
on:
pull_request:
branches:
- main
types: ["closed"]

jobs:
release_pull_request:
if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-v0.19') && github.event.pull_request.merged == true"
runs-on: ubuntu-latest
name: release_pull_request
steps:
- name: checkout
uses: actions/checkout@v1
- name: Create PR to branch
uses: risingwavelabs/github-action-cherry-pick@master
with:
pr_branch: 'v0.19.0-rc'
labels: |
cherry-pick
body: 'Cherry picking #{old_pull_request_id} onto this branch'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a6c9c39

Please sign in to comment.