Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kd_clients/mod.ts>WorkflowClient#getCompletedWorkflowRuns

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

Gets all completed workflow runs that match the given event, for a repository with a name that matches the WorkflowClient.repoName.

Parameters

event: WorkflowEvent

The event that triggered the workflow runs.

Returns

Promise<WorkflowRunModel[]>

The workflow runs.