Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>WorkflowClient#getWorkflowRuns

Various HTTP clients for miscellaneous use.
Latest
method WorkflowClient.prototype.getWorkflowRuns
import { WorkflowClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";

Gets all workflow runs for the given branch, with the given event and status, for a repository with a name that matches the WorkflowClient.repoName.

Parameters

branch: string | null | AnyBranch

The branch that contains the workflow runs.

event: WorkflowEvent

The event that triggered the workflow runs.

status: WorkflowRunStatus

The status of the workflow runs.

optional
page = [UNSUPPORTED]

The page of results to return.

optional
qtyPerPage = [UNSUPPORTED]

The total to return per page.

Returns

Promise<WorkflowRunModel[]>

The workflow runs.