/action-create-branch

Github action to create a branch

Primary LanguageTypeScriptMIT LicenseMIT

Create Branch GitHub Action

This action creates a new branch with the same commit reference as the branch it is being ran on.

Inputs

branch

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

Example usage

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