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

x/kd_clients/GitHubClients/mod.ts>MilestoneClient#getPullRequests

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

Gets all of the pull requests with the given labels, for a milestone with a name that matches the given milestoneName, where the repository has a name that matches the given MilestoneClient.repoName.

Parameters

milestoneName: string

The name of the milestone to get pull requests for.

optional
labels: string[]

The labels to filter the pull requests by.

Returns

Promise<PullRequestModel[]>

The pull requests in the milestone.