GitHub

Get pull request status

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.

Get a pull request’s status.

Inputs

Champ

Type

Description

repository [required]

string

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

prNumber [required]

number

Outputs

Expand All

Champ

Type

Description

merged [required]

boolean

Set to true if the pull request has been merged

state [required]

enum

Whether this PR is open or closed Allowed enum values: open,closed,unknown

mergeable [required]

boolean

Whether this PR is mergeable or not

mergeableState [required]

enum

Detailed status information about a pull request merge. Allowed enum values: behind,blocked,clean,dirty,draft,has_hooks,unstable,unknown

author

object

Additional information about the author of the PR.

login [required]

string

avatarUrl [required]

string

htmlUrl [required]

string

name [required]

string

company [required]

string

email [required]

string