Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/mod.ts>WorkflowClient#getWorkflowRunsInternal

Various HTTP clients for miscellaneous use.
Go to Latest
method WorkflowClient.prototype.getWorkflowRunsInternal
import { WorkflowClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/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[], Response]>

The workflow runs.