GitHub

Add labels to pull request

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Add labels to an existing pull request.

Inputs

Champ

Type

Description

repository [required]

string

The target repository, with the format {owner}/{repo}.

prNumber [required]

number

labels [required]

[string]

The names of the labels to add to the pull request.

Outputs

Expand All

Champ

Type

Description

labels [required]

[object]

name [required]

string

description [required]

string

color [required]

string