Skip to content

livestorm/devops-actions-cherry-picked-pr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action: Cherry-Pick & Create PR

Inputs

pr_branch

Required The branch name of on which PR should be created from the cherry-pick commit.

pr_labels

CSV Labels to apply on the PR created. Default: PRODUCTION

Example usage

In this example, all the merges to the branch master will create a PR on production branch too.

name: PR for release branch
on:
  push:
    branches:
      - master
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: livestorm/devops-actions-cherry-picked-pr@master
      with:
        pr_branch: 'production'
        pr_label: 'PRODUCTION'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        GITBOT_EMAIL: <BOT_EMAIL>
        DRY_RUN: false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published