def get_head_refs()

in asfyaml/feature/github/branch_protection.py [0:0]


def get_head_refs(self: ASFGitHubFeature) -> list[Mapping[str, Any]]:
    variables = {"organization": self.repository.org_id, "repository": self.repository.name, "refPrefix": "refs/heads/"}

    try:
        result = _run_paged_graphql_query(
            self,
            variables,