Interface GitHubWorkflowRun

Represents a single GitHub Actions workflow run.

interface GitHubWorkflowRun {
    conclusion: WorkflowRunConclusion;
    created_at: string;
    event: string;
    head_branch: null | string;
    head_sha: string;
    html_url: string;
    id: number;
    name: null | string;
    run_number: number;
    run_started_at: null | string;
    status: WorkflowRunStatus;
    updated_at: string;
}

Properties

Final conclusion of the run (null if still running)

created_at: string

ISO 8601 timestamp of when the run was created

event: string

Name of the event that triggered the run (e.g., 'push', 'pull_request')

head_branch: null | string

The branch the run was triggered on

head_sha: string

The commit SHA that triggered the run

html_url: string

URL to view the run on GitHub

id: number

Unique numeric ID of this workflow run

name: null | string

Name of the workflow

run_number: number

Sequential run number for the workflow

run_started_at: null | string

ISO 8601 timestamp of when the run started executing

Current status of the run

updated_at: string

ISO 8601 timestamp of when the run was last updated