Interface GitHubCommitStatus

Represents an individual commit status set by a CI/CD system or external service.

interface GitHubCommitStatus {
    context: string;
    created_at: string;
    creator: GitHubUser;
    description: null | string;
    id: number;
    state: "error" | "failure" | "pending" | "success";
    target_url: null | string;
    updated_at: string;
}

Properties

context: string

Context label identifying the source (e.g., 'ci/circleci')

created_at: string

ISO 8601 timestamp of creation

creator: GitHubUser

User who created the status

description: null | string

Human-readable description

id: number

Unique numeric status ID

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

Status state

target_url: null | string

URL to the full details of the status

updated_at: string

ISO 8601 timestamp of last update