Skip to main content

github.workflowjob

Home > @runlightyear/github > WorkflowJob

WorkflowJob type

Documentation: https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads?actionType=queued\#workflow\_job

Signature:
declare type WorkflowJob = {
check_runUrl: string;
completedAt: string | null;
conclusion: string | null;
createdAt: string;
head_sha: string;
htmlUrl: string;
id: number;
labels: string[];
name: string;
nodeId: string;
runAttempt: number;
runId: number;
runUrl: string;
runnerGroupId: number | null;
runnerGroupName: string | null;
runnerId: number | null;
runnerName: string | null;
startedAt: string;
status: "queued" | "in_progress" | "completed" | "waiting";
head_branch: string | null;
workflowName: string | null;
steps: Array<{
completedAt: string | null;
conclusion: "failure" | "skipped" | "success" | "cancelled" | null;
name: string;
number: number;
startedAt: string | null;
status: "completed" | "in_progress" | "queued" | "pending";
}>;
url: string;
};