Interface GitHubCombinedStatus

Represents the combined commit status — an aggregation of all statuses for a ref.

interface GitHubCombinedStatus {
    repository: GitHubRepository;
    sha: string;
    state: "error" | "failure" | "pending" | "success";
    statuses: GitHubCommitStatus[];
    total_count: number;
}

Properties

repository: GitHubRepository

The repository this status belongs to

sha: string

The commit SHA this status refers to

state: "error" | "failure" | "pending" | "success"

Overall combined state

statuses: GitHubCommitStatus[]

Individual statuses that make up the combined status

total_count: number

Total number of statuses