Create Branch
Create a reference for a branch in GitHub.
Options
| Field | Definition | Type | Required |
|---|---|---|---|
|
Organization |
Choose the organization that owns the repository for the new branch. The dropdown list displays the organizations for the authenticated user. The list is limited to 100 organizations. If the repository is under a personal account, select the |
Dropdown | TRUE |
|
Repository |
Choose the repository for the new branch. The dropdown list displays the repositories for the selected Organization. If you select the |
Dropdown | TRUE |
You can't create references for empty repositories, even if the SHA-1 hash exists for the commit.
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
Repository |
|||
|
Full Name |
The full name of the repository. This input field appears when you select The name must be formatted as The card returns an error if the repository doesn't exist or the user doesn't have permission to access the repository. |
Text | TRUE |
|
Branch |
|||
|
Branch Name |
Name of the new branch. The default name is the repository's default branch (usually |
Text | TRUE |
|
Commit SHA |
The |
Text | TRUE |
Output
| Field | Definition | Type |
|---|---|---|
|
Branch |
||
|
Branch Full Name |
Full name of the new branch. The default name is the repository's default branch (usually Main). |
Text |
|
Branch Node ID |
The |
Text |
|
Commit SHA |
The |
Text |