Fetches GitHub Actions check runs for this commit.
GET /repos/{owner}/{repo}/commits/{ref}/check-runs
Optionalparams: CheckRunsParamsOptional filters: check_name, status, app_id, per_page, page
A paged response of check runs
Fetches the combined commit status — an aggregation of all statuses for this ref.
GET /repos/{owner}/{repo}/commits/{ref}/status
The combined status object
Fetches the commit details, including stats and changed files.
GET /repos/{owner}/{repo}/commits/{ref}
The commit object with stats and files
Fetches the individual commit statuses (from CI/CD systems via the Statuses API).
GET /repos/{owner}/{repo}/statuses/{sha}
Optionalparams: CommitStatusesParamsOptional pagination: per_page, page
A paged response of commit statuses
Allows the resource to be awaited directly, resolving with the commit info. Delegates to CommitResource.get.
Optionalonfulfilled: null | (value: GitHubCommit) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a GitHub commit resource with chainable async methods.
Implements
PromiseLike<GitHubCommit>so it can be awaited directly to fetch the commit info, while also exposing sub-resource methods.Example