GitHubPullRequest
A repository pull request.
type GitHubPullRequest {
base: GitHubPullRequestBase!
head: GitHubPullRequestHead!
body: String!
changedFiles: Int!
closed: Boolean!
closedAt: DateTime
createdAt: DateTime!
isDraft: Boolean!
locked: Boolean!
mergeable: Boolean
merged: Boolean!
mergedAt: DateTime
number: Int!
state: GitHubPullRequestState!
title: String!
updatedAt: DateTime!
url: String!
}
Fields
GitHubPullRequest.base ● GitHubPullRequestBase! non-null object
The base commit of this pull request.
GitHubPullRequest.head ● GitHubPullRequestHead! non-null object
The head commit of this pull request.
GitHubPullRequest.body ● String! non-null scalar
The body as Markdown.
GitHubPullRequest.changedFiles ● Int! non-null scalar
The number of changed files in this pull request.
GitHubPullRequest.closed ● Boolean! non-null scalar
trueif the pull request is closed
GitHubPullRequest.closedAt ● DateTime scalar
Identifies the date and time when the object was closed.
GitHubPullRequest.createdAt ● DateTime! non-null scalar
Identifies the date and time when the object was created.
GitHubPullRequest.isDraft ● Boolean! non-null scalar
Identifies if the pull request is a draft.
GitHubPullRequest.locked ● Boolean! non-null scalar
trueif the pull request is locked
GitHubPullRequest.mergeable ● Boolean scalar
Whether or not the pull request can be merged based on the existence of merge conflicts.
GitHubPullRequest.merged ● Boolean! non-null scalar
Whether or not the pull request was merged.
GitHubPullRequest.mergedAt ● DateTime scalar
The date and time that the pull request was merged.
GitHubPullRequest.number ● Int! non-null scalar
Identifies the pull request number.
GitHubPullRequest.state ● GitHubPullRequestState! non-null enum
Identifies the state of the pull request.
GitHubPullRequest.title ● String! non-null scalar
Identifies the pull request title.
GitHubPullRequest.updatedAt ● DateTime! non-null scalar
Identifies the date and time when the object was last updated.
GitHubPullRequest.url ● String! non-null scalar
The HTTP URL for this pull request.
Member of
GitHubPullRequestEvent object