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#getCompletedWorkflowRunsByBranch

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

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

Parameters

branch: string

The name of the branch where the workflow runs are located.

event: WorkflowEvent

The event that triggered the workflow runs.

Returns

Promise<WorkflowRunModel[]>

The workflow runs.