Skip to main content
Deno 2 is finally 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.14/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.