GitHub

Get pull request status

Get a pull request’s status.

Inputs

Field

Type

Description

repository [required]

string

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

prNumber [required]

number

Outputs

Expand All

Field

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