GitHub

Create branch

Create a new branch.

Inputs

Field

Type

Description

repository [required]

string

The target repository, with the format {owner}/{repo}.

baseBranch

string

The base branch of pull request. If not specified, the default branch is used (ex. main).

branchToCreate

string

The name of the branch to create.

default: datadog-workflow-{{ InstanceId }}

Outputs

Field

Type

Description

branch [required]

string

url [required]

string

sha [required]

string