MCPcopy Create free account
hub / github.com/comaps/comaps / get_pr_number

Function get_pr_number

tools/python/cherry_picking_issue.py:34–35  ·  view source on GitHub ↗
(commit_hash)

Source from the content-addressed store, hash-verified

32
33
34def get_pr_number(commit_hash):
35 return gh_api(f"repos/{REPO}/commits/{commit_hash}/pulls", ".[0].number")
36
37
38def get_pr_info(pr_number):

Callers 1

mainFunction · 0.85

Calls 1

gh_apiFunction · 0.85

Tested by

no test coverage detected