GET
github_repos_list_branches_for_head_commit.py
Requires
repo, read:user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List the branches whose head is this exact commit — ‘has this landed, and where’, asked from the commit’s side.
from charter.packs import github
result = await github.repos_list_branches_for_head_commit.ainvoke({"owner": ..., "repo": ..., "commitSha": ...})
repo, read:user.| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
commitSha * | string | The SHA of the commit. |
Was this page helpful?