Interface GitHubWorkflow

Represents a GitHub Actions workflow definition.

interface GitHubWorkflow {
    badge_url: string;
    created_at: string;
    html_url: string;
    id: number;
    name: string;
    path: string;
    state:
        | "active"
        | "deleted"
        | "disabled_fork"
        | "disabled_inactivity"
        | "disabled_manually";
    updated_at: string;
}

Properties

badge_url: string

Badge URL for the workflow status

created_at: string

ISO 8601 timestamp of creation

html_url: string

URL to the workflow on GitHub

id: number

Unique numeric workflow ID

name: string

Workflow name

path: string

Path to the workflow file (e.g., .github/workflows/ci.yml)

state:
    | "active"
    | "deleted"
    | "disabled_fork"
    | "disabled_inactivity"
    | "disabled_manually"

Workflow state

updated_at: string

ISO 8601 timestamp of last update