github :: GithubAPI :: get_commit_status
The status holds the result of each check ran on a commit like CI, reviews etc.
# Get the status of a commit
#
# The status holds the result of each check ran on a commit like CI, reviews etc.
fun get_commit_status(repo_slug: String, sha: String): nullable CommitStatus do
return get("/repos/{repo_slug}/commits/{sha}/status").as(nullable CommitStatus)
end
lib/github/api.nit:306,2--311,4