| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Github Action to Cherry Pick commits from a branch (generally, master) and create a PR on another branch (Release branch).
Most of the projects have Release branches and master branch. Master branch is where developers works on but we want to push the changes to the Release branches too.
Required The branch name of on which PR should be created from the cherry-pick commit.
CSV Labels to apply on the PR created. Default: autocreated
In this example, all the merges to the branch 0.1.0 will create a PR on 0.1.X branch too.
name: PR for release branch
on:
push:
branches:
- 0.1.0
jobs:
release_pull_request:
runs-on: ubuntu-latest
name: release_pull_request
steps:
- name: checkout
uses: actions/checkout@v1
- name: Create PR to branch
uses: gorillio/github-action-cherry-pick@master
with:
pr_branch: '0.1.x'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITBOT_EMAIL: <BOT_EMAIL>
DRY_RUN: false
| Back | FazBrowse Home | New Git URL |