Skip to content

Stagie/action-create-branch

 
 

Repository files navigation

Create Branch GitHub Action

This action creates a new branch with the same commit reference as the branch it is being ran on, or your chosen reference when specified.

Inputs

branch

Optional The name of the branch to create. Default "release-candidate".

sha

Optional The SHA1 value for the branch reference.

Example usage

uses: peterjgrainger/action-create-branch@v2.0.1
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
  branch: 'release-notes'

About

Github action to create a branch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.4%
  • JavaScript 5.6%