List branches.

External Documentation

To learn more, visit the GitHub documentation.

Parameters

ParameterDescription
OwnerThe organization or person who owns the repository. github.com//
PagePage number of the results to fetch.
Per PageThe number of results per page (max 100).
RepoName of the repository owned by the owner. github.com//
Return All PagesAutomatically fetch all resources, page by page.

Example Output

[
	{
		"name": "<string>",
		"commit": {
			"sha": "<string>",
			"url": "<string>"
		},
		"protected": false,
		"protection": {
			"enabled": false,
			"required_status_checks": {
				"enforcement_level": "<string>",
				"contexts": [],
				"checks": []
			}
		},
		"protection_url": "<string>"
	},
	{
		"name": "<string>",
		"commit": {
			"sha": "<string>",
			"url": "<string>"
		},
		"protected": false,
		"protection": {
			"enabled": false,
			"required_status_checks": {
				"enforcement_level": "<string>",
				"contexts": [],
				"checks": []
			}
		},
		"protection_url": "<string>"
	}
]

Workflow Library Example

List Branches with Github and Send Results Via Email

Preview this Workflow on desktop