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

x/kd_clients/mod.ts>PullRequestClient#addLabel

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

Adds the given label to a pull request with a number that matches the given prNumber, in a repository with a name that matches the given PullRequestClient.repoName.

Parameters

prNumber: number

The number of the pull request.

label: string

The name of the label to add.

Returns

Promise<void>