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

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

Gets all workflow runs for a pull request with a number that matches the given prNumber, for a repository with a name that matches the WorkflowClient.repoName.

Parameters

prNumber: number

The number of the pull request.

Returns

Promise<WorkflowRunModel[]>

The workflow runs for a pull request number that matches the given prNumber.