Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Create Branch

Actions
Creates a branch
v2.0.1
Star (91)

Tags

 (1)

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@v1.0.0
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
  branch: 'release-notes'

Create Branch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Creates a branch
v2.0.1

Tags

 (1)

Create Branch is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.