GET
github_git_refs_list_matching.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 every reference under a prefix — heads/ for all branches, tags/v2 for the v2 tags. A prefix match, so heads/feat also returns heads/feature-x.
from charter.packs import github
result = await github.git_refs_list_matching.ainvoke({"owner": ..., "repo": ..., "ref": ...})
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. |
ref * | string | The reference prefix to match, such as heads/ for every branch or tags/v2 for the v2 tags. Without the refs/ prefix. |
Was this page helpful?