Search Branches

Search for branches in GitHub.

Options

Field Definition Type Required
Result Set

First Matching Record: returns the first record that matches

All Matching Records: returns all matching records as a list

Dropdown TRUE
Organization Organization for the repository that contains the branch Dropdown TRUE
Repository Repository that contains the branch Dropdown TRUE

Input

Field Definition Type Required
Branch
Name Branch name. Default is the repository's default branch (usually Main) String FALSE
Commit SHA commit_sha+ parameter for the branch String FALSE

Output

Field Definition Type
Branches    
Name Branch name. Default is the repository's default branch (usually Main) String
Commit SHA commit_sha+ parameter for the branch String

Related topics

GitHub connector

About the elements of Okta Workflows

GitHub API documentation