Reference documentation for GraphQL schema types in the Pull requests category.
Represents an added_to_merge_queue event on a given pull request.
Implements: Node
AddedToMergeQueueEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.enqueuer (User): The user who added this Pull Request to the merge queue.id (ID!): The Node ID of the AddedToMergeQueueEvent object.mergeQueue (MergeQueue): The merge queue where this pull request was added to.pullRequest (PullRequest): PullRequest referenced by event.Represents an added_to_stack event on a given pull request.
Implements: Node
AddedToStackEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the AddedToStackEvent object.pullRequest (PullRequest): Pull request added to the stack.stackId (BigInt): Database ID of the stack.stackNumber (Int): Number of the stack in its repository.Add users to the pull request creation cap bypass list. Bypassed users can
create pull requests regardless of the configured cap. Only users with
maintainer permissions can manage the bypass list. You can add a maximum of
100 users per request. The bypass list can only hold a maximum of 100 users.
addPullRequestCreationCapBypassUsersinput (AddPullRequestCreationCapBypassUsersInput!):addPullRequestCreationCapBypassUsersclientMutationId (String): A unique identifier for the client performing the mutation.repository (Repository): The repository with the updated bypass list.Autogenerated input type of AddPullRequestCreationCapBypassUsers.
AddPullRequestCreationCapBypassUsersInputclientMutationId (String): A unique identifier for the client performing the mutation.repositoryId (ID!): The Node ID of the repository.userIds ([ID!]!): The Node IDs of the users to add to the bypass list.Adds a review to a Pull Request.
addPullRequestReviewinput (AddPullRequestReviewInput!):addPullRequestReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The newly created pull request review.reviewEdge (PullRequestReviewEdge): The edge from the pull request's review connection.Adds a comment to a review.
addPullRequestReviewCommentinput (AddPullRequestReviewCommentInput!):addPullRequestReviewCommentclientMutationId (String): A unique identifier for the client performing the mutation.comment (PullRequestReviewComment): The newly created comment.commentEdge (PullRequestReviewCommentEdge): The edge from the review's comment connection.Autogenerated input type of AddPullRequestReviewComment.
AddPullRequestReviewCommentInputbody (String): The text of the comment. This field is requiredclientMutationId (String): A unique identifier for the client performing the mutation.commitOID (GitObjectID): The SHA of the commit to comment on.inReplyTo (ID): The comment id to reply to.path (String): The relative path of the file to comment on.position (Int): The line index in the diff to comment on.pullRequestId (ID): The node ID of the pull request reviewingpullRequestReviewId (ID): The Node ID of the review to modify.Autogenerated input type of AddPullRequestReview.
AddPullRequestReviewInputbody (String): The contents of the review body comment.clientMutationId (String): A unique identifier for the client performing the mutation.comments ([DraftPullRequestReviewComment]): The review line comments.commitOID (GitObjectID): The commit OID the review pertains to.event (PullRequestReviewEvent): The event to perform on the pull request review.pullRequestId (ID!): The Node ID of the pull request to modify.threads ([DraftPullRequestReviewThread]): The review line comment threads.Adds a new thread to a pending Pull Request Review.
addPullRequestReviewThreadinput (AddPullRequestReviewThreadInput!):addPullRequestReviewThreadclientMutationId (String): A unique identifier for the client performing the mutation.thread (PullRequestReviewThread): The newly created thread.Autogenerated input type of AddPullRequestReviewThread.
AddPullRequestReviewThreadInputbody (String!): Body of the thread's first comment.clientMutationId (String): A unique identifier for the client performing the mutation.line (Int): The line of the blob to which the thread refers, required for line-levelpath (String): Path to the file being commented on.pullRequestId (ID): The node ID of the pull request reviewing.pullRequestReviewId (ID): The Node ID of the review to modify.side (DiffSide): The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.startLine (Int): The first line of the range to which the comment refers.startSide (DiffSide): The side of the diff on which the start line resides.subjectType (PullRequestReviewThreadSubjectType): The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.Adds a reply to an existing Pull Request Review Thread.
addPullRequestReviewThreadReplyinput (AddPullRequestReviewThreadReplyInput!):addPullRequestReviewThreadReplyclientMutationId (String): A unique identifier for the client performing the mutation.comment (PullRequestReviewComment): The newly created reply.Autogenerated input type of AddPullRequestReviewThreadReply.
AddPullRequestReviewThreadReplyInputbody (String!): The text of the reply.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReviewId (ID): The Node ID of the pending review to which the reply will belong.pullRequestReviewThreadId (ID!): The Node ID of the thread to which this reply is being written.Archive a pull request. Closes and marks the pull request as archived. Users
with the triage role or higher can archive pull requests.
archivePullRequestinput (ArchivePullRequestInput!):archivePullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was archived.Autogenerated input type of ArchivePullRequest.
ArchivePullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): The Node ID of the pull request to archive.Represents a automatic_base_change_failed event on a given pull request.
Implements: Node
AutomaticBaseChangeFailedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the AutomaticBaseChangeFailedEvent object.newBase (String!): The new base for this PR.oldBase (String!): The old base for this PR.pullRequest (PullRequest!): PullRequest referenced by event.Represents a automatic_base_change_succeeded event on a given pull request.
Implements: Node
AutomaticBaseChangeSucceededEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the AutomaticBaseChangeSucceededEvent object.newBase (String!): The new base for this PR.oldBase (String!): The old base for this PR.pullRequest (PullRequest!): PullRequest referenced by event.Represents a auto_merge_disabled event on a given pull request.
Implements: Node
AutoMergeDisabledEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.disabler (User): The user who disabled auto-merge for this Pull Request.id (ID!): The Node ID of the AutoMergeDisabledEvent object.pullRequest (PullRequest): PullRequest referenced by event.reason (String): The reason auto-merge was disabled.reasonCode (String): The reason_code relating to why auto-merge was disabled.Represents a auto_merge_enabled event on a given pull request.
Implements: Node
AutoMergeEnabledEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.enabler (User): The user who enabled auto-merge for this Pull Request.id (ID!): The Node ID of the AutoMergeEnabledEvent object.pullRequest (PullRequest): PullRequest referenced by event.Represents an auto-merge request for a pull request.
AutoMergeRequestauthorEmail (String): The email address of the author of this auto-merge request.commitBody (String): The commit message of the auto-merge request. If a merge queue is required bycommitHeadline (String): The commit title of the auto-merge request. If a merge queue is required byenabledAt (DateTime): When was this auto-merge request was enabled.enabledBy (Actor): The actor who created the auto-merge request.mergeMethod (PullRequestMergeMethod!): The merge method of the auto-merge request. If a merge queue is required bypullRequest (PullRequest!): The pull request that this auto-merge request is set against.Represents a auto_rebase_enabled event on a given pull request.
Implements: Node
AutoRebaseEnabledEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.enabler (User): The user who enabled auto-merge (rebase) for this Pull Request.id (ID!): The Node ID of the AutoRebaseEnabledEvent object.pullRequest (PullRequest): PullRequest referenced by event.Represents a auto_squash_enabled event on a given pull request.
Implements: Node
AutoSquashEnabledEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.enabler (User): The user who enabled auto-merge (squash) for this Pull Request.id (ID!): The Node ID of the AutoSquashEnabledEvent object.pullRequest (PullRequest): PullRequest referenced by event.Represents a base_ref_changed event on a given issue or pull request.
Implements: Node
BaseRefChangedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.currentRefName (String!): Identifies the name of the base ref for the pull request after it was changed.databaseId (Int): Identifies the primary key from the database.id (ID!): The Node ID of the BaseRefChangedEvent object.previousRefName (String!): Identifies the name of the base ref for the pull request before it was changed.pullRequest (PullRequest!): PullRequest referenced by event.Represents a base_ref_deleted event on a given pull request.
Implements: Node
BaseRefDeletedEventactor (Actor): Identifies the actor who performed the event.baseRefName (String): Identifies the name of the Ref associated with the base_ref_deleted event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the BaseRefDeletedEvent object.pullRequest (PullRequest): PullRequest referenced by event.Represents a base_ref_force_pushed event on a given pull request.
Implements: Node
BaseRefForcePushedEventactor (Actor): Identifies the actor who performed the event.afterCommit (Commit): Identifies the after commit SHA for the base_ref_force_pushed event.beforeCommit (Commit): Identifies the before commit SHA for the base_ref_force_pushed event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the BaseRefForcePushedEvent object.pullRequest (PullRequest!): PullRequest referenced by event.ref (Ref): Identifies the fully qualified ref name for the base_ref_force_pushed event.Close a pull request.
closePullRequestinput (ClosePullRequestInput!):closePullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was closed.Autogenerated input type of ClosePullRequest.
ClosePullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): ID of the pull request to be closed.Represents a converted_from_draft event on a given issue or pull request.
Implements: Node, ProjectV2Event
ConvertedFromDraftEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the ConvertedFromDraftEvent object.project (ProjectV2): Project referenced by event.wasAutomated (Boolean!): Did this event result from workflow automation?.Converts a pull request to draft.
convertPullRequestToDraftinput (ConvertPullRequestToDraftInput!):convertPullRequestToDraftclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that is now a draft.Autogenerated input type of ConvertPullRequestToDraft.
ConvertPullRequestToDraftInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): ID of the pull request to convert to draft.Represents a convert_to_draft event on a given pull request.
Implements: Node, UniformResourceLocatable
ConvertToDraftEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the ConvertToDraftEvent object.pullRequest (PullRequest!): PullRequest referenced by event.resourcePath (URI!): The HTTP path for this convert to draft event.url (URI!): The HTTP URL for this convert to draft event.Request Copilot code review for new pull requests automatically if the author
has access to Copilot code review and AI credits.
CopilotCodeReviewParametersreviewDraftPullRequests (Boolean!): Copilot automatically reviews draft pull requests before they are marked as ready for review.reviewOnPush (Boolean!): Copilot automatically reviews each new push to the pull request.Request Copilot code review for new pull requests automatically if the author
has access to Copilot code review and AI credits.
CopilotCodeReviewParametersInputreviewDraftPullRequests (Boolean): Copilot automatically reviews draft pull requests before they are marked as ready for review.reviewOnPush (Boolean): Copilot automatically reviews each new push to the pull request.Create a new pull request.
createPullRequestinput (CreatePullRequestInput!):createPullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The new pull request.Autogenerated input type of CreatePullRequest.
CreatePullRequestInputbaseRefName (String!): The name of the branch you want your changes pulled into. This should be an existing branchbody (String): The contents of the pull request.clientMutationId (String): A unique identifier for the client performing the mutation.draft (Boolean): Indicates whether this pull request should be a draft.headRefName (String!): The name of the branch where your changes are implemented. For cross-repository pull requestsheadRepositoryId (ID): The Node ID of the head repository.maintainerCanModify (Boolean): Indicates whether maintainers can modify the pull request.repositoryId (ID!): The Node ID of the repository.title (String!): The title of the pull request.Deletes a pull request review.
deletePullRequestReviewinput (DeletePullRequestReviewInput!):deletePullRequestReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The deleted pull request review.Deletes a pull request review comment.
deletePullRequestReviewCommentinput (DeletePullRequestReviewCommentInput!):deletePullRequestReviewCommentclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The pull request review the deleted comment belonged to.pullRequestReviewComment (PullRequestReviewComment): The deleted pull request review comment.Autogenerated input type of DeletePullRequestReviewComment.
DeletePullRequestReviewCommentInputclientMutationId (String): A unique identifier for the client performing the mutation.id (ID!): The ID of the comment to delete.Autogenerated input type of DeletePullRequestReview.
DeletePullRequestReviewInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReviewId (ID!): The Node ID of the pull request review to delete.Remove a pull request from the merge queue.
dequeuePullRequestinput (DequeuePullRequestInput!):dequeuePullRequestclientMutationId (String): A unique identifier for the client performing the mutation.mergeQueueEntry (MergeQueueEntry): The merge queue entry of the dequeued pull request.Autogenerated input type of DequeuePullRequest.
DequeuePullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.id (ID!): The ID of the pull request to be dequeued.The possible sides of a diff.
DiffSideLEFT: The left side of the diff.RIGHT: The right side of the diff.Disable auto merge on the given pull request.
disablePullRequestAutoMergeinput (DisablePullRequestAutoMergeInput!):disablePullRequestAutoMergeactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request auto merge was disabled on.Autogenerated input type of DisablePullRequestAutoMerge.
DisablePullRequestAutoMergeInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): ID of the pull request to disable auto merge on.Specify people, teams, or apps allowed to dismiss pull request reviews.
DismissalRestrictionallowedActors ([ID!]): Specify people, teams, or apps allowed to dismiss pull request reviews.enabled (Boolean!): Whether to restrict review dismissal to specific actors.Specify people, teams, or apps allowed to dismiss pull request reviews.
DismissalRestrictionInputallowedActors ([ID!]): Specify people, teams, or apps allowed to dismiss pull request reviews.enabled (Boolean!): Whether to restrict review dismissal to specific actors.Dismisses an approved or rejected pull request review.
dismissPullRequestReviewinput (DismissPullRequestReviewInput!):dismissPullRequestReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The dismissed pull request review.Autogenerated input type of DismissPullRequestReview.
DismissPullRequestReviewInputclientMutationId (String): A unique identifier for the client performing the mutation.message (String!): The contents of the pull request review dismissal message.pullRequestReviewId (ID!): The Node ID of the pull request review to modify.Specifies a review comment to be left with a Pull Request Review.
DraftPullRequestReviewCommentbody (String!): Body of the comment to leave.path (String!): Path to the file being commented on.position (Int!): Position in the file to leave a comment on.Specifies a review comment thread to be left with a Pull Request Review.
DraftPullRequestReviewThreadbody (String!): Body of the comment to leave.line (Int): The line of the blob to which the thread refers. The end of the line range forpath (String): Path to the file being commented on. Required if not using positioning.side (DiffSide): The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range.startLine (Int): The first line of the range to which the comment refers.startSide (DiffSide): The side of the diff on which the start line resides.Enable the default auto-merge on a pull request.
enablePullRequestAutoMergeinput (EnablePullRequestAutoMergeInput!):enablePullRequestAutoMergeactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request auto-merge was enabled on.Autogenerated input type of EnablePullRequestAutoMerge.
EnablePullRequestAutoMergeInputauthorEmail (String): The email address to associate with this merge.clientMutationId (String): A unique identifier for the client performing the mutation.commitBody (String): Commit body to use for the commit when the PR is mergable; if omitted, acommitHeadline (String): Commit headline to use for the commit when the PR is mergable; if omitted, aexpectedHeadOid (GitObjectID): The expected head OID of the pull request.mergeMethod (PullRequestMergeMethod): The merge method to use. If omitted, defaults to MERGE. NOTE: when mergingpullRequestId (ID!): ID of the pull request to enable auto-merge on.Add a pull request to the merge queue.
enqueuePullRequestinput (EnqueuePullRequestInput!):enqueuePullRequestclientMutationId (String): A unique identifier for the client performing the mutation.mergeQueueEntry (MergeQueueEntry): The merge queue entry for the enqueued pull request.Autogenerated input type of EnqueuePullRequest.
EnqueuePullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.expectedHeadOid (GitObjectID): The expected head OID of the pull request.jump (Boolean): Add the pull request to the front of the queue.pullRequestId (ID!): The ID of the pull request to enqueue.The possible viewed states of a file .
FileViewedStateDISMISSED: The file has new changes since last viewed.UNVIEWED: The file has not been marked as viewed.VIEWED: The file has been marked as viewed.Represents a head_ref_deleted event on a given pull request.
Implements: Node
HeadRefDeletedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.headRef (Ref): Identifies the Ref associated with the head_ref_deleted event.headRefName (String!): Identifies the name of the Ref associated with the head_ref_deleted event.id (ID!): The Node ID of the HeadRefDeletedEvent object.pullRequest (PullRequest!): PullRequest referenced by event.Represents a head_ref_force_pushed event on a given pull request.
Implements: Node
HeadRefForcePushedEventactor (Actor): Identifies the actor who performed the event.afterCommit (Commit): Identifies the after commit SHA for the head_ref_force_pushed event.beforeCommit (Commit): Identifies the before commit SHA for the head_ref_force_pushed event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the HeadRefForcePushedEvent object.pullRequest (PullRequest!): PullRequest referenced by event.ref (Ref): Identifies the fully qualified ref name for the head_ref_force_pushed event.Represents a head_ref_restored event on a given pull request.
Implements: Node
HeadRefRestoredEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the HeadRefRestoredEvent object.pullRequest (PullRequest!): PullRequest referenced by event.Mark a pull request file as viewed.
markFileAsViewedinput (MarkFileAsViewedInput!):markFileAsViewedclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The updated pull request.Autogenerated input type of MarkFileAsViewed.
MarkFileAsViewedInputclientMutationId (String): A unique identifier for the client performing the mutation.path (String!): The path of the file to mark as viewed.pullRequestId (ID!): The Node ID of the pull request.Marks a pull request ready for review.
markPullRequestReadyForReviewinput (MarkPullRequestReadyForReviewInput!):markPullRequestReadyForReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that is ready for review.Autogenerated input type of MarkPullRequestReadyForReview.
MarkPullRequestReadyForReviewInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): ID of the pull request to be marked as ready for review.Whether or not a PullRequest can be merged.
MergeableStateCONFLICTING: The pull request cannot be merged due to merge conflicts.MERGEABLE: The pull request can be merged.UNKNOWN: The mergeability of the pull request is still being calculated.Represents a merged event on a given pull request.
Implements: Node, UniformResourceLocatable
MergedEventactor (Actor): Identifies the actor who performed the event.commit (Commit): Identifies the commit associated with the merge event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the MergedEvent object.mergeRef (Ref): Identifies the Ref associated with the merge event.mergeRefName (String!): Identifies the name of the Ref associated with the merge event.pullRequest (PullRequest!): PullRequest referenced by event.resourcePath (URI!): The HTTP path for this merged event.url (URI!): The HTTP URL for this merged event.Merge a pull request.
We recommend using the asynchronous merge REST
API instead.
This mutation does not support stacked pull requests.
mergePullRequestinput (MergePullRequestInput!):mergePullRequestactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was merged.Autogenerated input type of MergePullRequest.
MergePullRequestInputauthorEmail (String): The email address to associate with this merge.clientMutationId (String): A unique identifier for the client performing the mutation.commitBody (String): Commit body to use for the merge commit; if omitted, a default message will be used.commitHeadline (String): Commit headline to use for the merge commit; if omitted, a default message will be used.expectedHeadOid (GitObjectID): OID that the pull request head ref must match to allow merge; if omitted, no check is performed.mergeMethod (PullRequestMergeMethod): The merge method to use. If omitted, defaults to 'MERGE'.pullRequestId (ID!): ID of the pull request to be merged.The queue of pull request entries to be merged into a protected branch in a repository.
Implements: Node
MergeQueueconfiguration (MergeQueueConfiguration): The configuration for this merge queue.entries (MergeQueueEntryConnection): The entries in the queue. (Pagination: after, before, first, last)id (ID!): The Node ID of the MergeQueue object.nextEntryEstimatedTimeToMerge (Int): The estimated time in seconds until a newly added entry would be merged.repository (Repository): The repository this merge queue belongs to.resourcePath (URI!): The HTTP path for this merge queue.url (URI!): The HTTP URL for this merge queue.Configuration for a MergeQueue.
MergeQueueConfigurationcheckResponseTimeout (Int): The amount of time in minutes to wait for a check response before considering it a failure.maximumEntriesToBuild (Int): The maximum number of entries to build at once.maximumEntriesToMerge (Int): The maximum number of entries to merge at once.mergeMethod (PullRequestMergeMethod): The merge method to use for this queue.mergingStrategy (MergeQueueMergingStrategy): The strategy to use when merging entries.minimumEntriesToMerge (Int): The minimum number of entries required to merge at once.minimumEntriesToMergeWaitTime (Int): The amount of time in minutes to wait before ignoring the minumum number ofEntries in a MergeQueue.
Implements: Node
MergeQueueEntrybaseCommit (Commit): The base commit for this entry.enqueuedAt (DateTime!): The date and time this entry was added to the merge queue.enqueuer (Actor!): The actor that enqueued this entry.estimatedTimeToMerge (Int): The estimated time in seconds until this entry will be merged.headCommit (Commit): The head commit for this entry.id (ID!): The Node ID of the MergeQueueEntry object.jump (Boolean!): Whether this pull request should jump the queue.mergeQueue (MergeQueue): The merge queue that this entry belongs to.position (Int!): The position of this entry in the queue.pullRequest (PullRequest): The pull request that will be added to a merge group.solo (Boolean!): Does this pull request need to be deployed on its own.state (MergeQueueEntryState!): The state of this entry in the queue.The connection type for MergeQueueEntry.
MergeQueueEntryConnectionedges ([MergeQueueEntryEdge]): A list of edges.nodes ([MergeQueueEntry]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
MergeQueueEntryEdgecursor (String!): A cursor for use in pagination.node (MergeQueueEntry): The item at the end of the edge.The possible states for a merge queue entry.
MergeQueueEntryStateAWAITING_CHECKS: The entry is currently waiting for checks to pass.LOCKED: The entry is currently locked.MERGEABLE: The entry is currently mergeable.QUEUED: The entry is currently queued.UNMERGEABLE: The entry is currently unmergeable.When set to ALLGREEN, the merge commit created by merge queue for each PR in the
group must pass all required checks to merge. When set to HEADGREEN, only the
commit at the head of the merge group, i.e. the commit containing changes from
all of the PRs in the group, must pass its required checks to merge.
MergeQueueGroupingStrategyALLGREEN: The merge commit created by merge queue for each PR in the group must pass all required checks to merge.HEADGREEN: Only the commit at the head of the merge group must pass its required checks to merge.Method to use when merging changes from queued pull requests.
MergeQueueMergeMethodMERGE: Merge commit.REBASE: Rebase and merge.SQUASH: Squash and merge.The possible merging strategies for a merge queue.
MergeQueueMergingStrategyALLGREEN: Entries only allowed to merge if they are passing.HEADGREEN: Failing Entires are allowed to merge if they are with a passing entry.Merges must be performed via a merge queue.
MergeQueueParameterscheckResponseTimeoutMinutes (Int!): Maximum time for a required status check to report a conclusion. After thisgroupingStrategy (MergeQueueGroupingStrategy!): When set to ALLGREEN, the merge commit created by merge queue for each PR inmaxEntriesToBuild (Int!): Limit the number of queued pull requests requesting checks and workflow runs at the same time.maxEntriesToMerge (Int!): The maximum number of PRs that will be merged together in a group.mergeMethod (MergeQueueMergeMethod!): Method to use when merging changes from queued pull requests.minEntriesToMerge (Int!): The minimum number of PRs that will be merged together in a group.minEntriesToMergeWaitMinutes (Int!): The time merge queue should wait after the first PR is added to the queue forMerges must be performed via a merge queue.
MergeQueueParametersInputcheckResponseTimeoutMinutes (Int!): Maximum time for a required status check to report a conclusion. After thisgroupingStrategy (MergeQueueGroupingStrategy!): When set to ALLGREEN, the merge commit created by merge queue for each PR inmaxEntriesToBuild (Int!): Limit the number of queued pull requests requesting checks and workflow runs at the same time.maxEntriesToMerge (Int!): The maximum number of PRs that will be merged together in a group.mergeMethod (MergeQueueMergeMethod!): Method to use when merging changes from queued pull requests.minEntriesToMerge (Int!): The minimum number of PRs that will be merged together in a group.minEntriesToMergeWaitMinutes (Int!): The time merge queue should wait after the first PR is added to the queue forDetailed status information about a pull request merge.
MergeStateStatusBEHIND: The head ref is out of date.BLOCKED: The merge is blocked.CLEAN: Mergeable and passing commit status.DIRTY: The merge commit cannot be cleanly created.DRAFT: The merge is blocked due to the pull request being a draft. Deprecated: DRAFT state will be removed from this enum and isDraft should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.HAS_HOOKS: Mergeable with passing commit status and pre-receive hooks.UNKNOWN: The state cannot currently be determined.UNSTABLE: Mergeable with non-passing commit status.The possible types of patch statuses.
PatchStatusADDED: The file was added. Git status 'A'.CHANGED: The file's type was changed. Git status 'T'.COPIED: The file was copied. Git status 'C'.DELETED: The file was deleted. Git status 'D'.MODIFIED: The file's contents were changed. Git status 'M'.RENAMED: The file was renamed. Git status 'R'.A repository pull request.
Implements: Assignable, Closable, Comment, Labelable, Lockable, Node, ProjectV2Owner, Reactable, RepositoryNode, Subscribable, UniformResourceLocatable, Updatable, UpdatableComment
PullRequestactiveLockReason (LockReason): Reason that the conversation was locked.
additions (Int!): The number of additions in this pull request.
assignedActors (AssigneeConnection!): A list of actors assigned to this object. (Pagination: after, before, first, last)
assignees (UserConnection!): A list of Users assigned to this object. (Pagination: after, before, first, last)
author (Actor): The actor who authored the comment.
authorAssociation (CommentAuthorAssociation!): Author's association with the subject of the comment.
autoMergeRequest (AutoMergeRequest): Returns the auto-merge request object if one exists for this pull request.
baseRef (Ref): Identifies the base Ref associated with the pull request.
baseRefName (String!): Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.
baseRefOid (GitObjectID!): Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.
baseRepository (Repository): The repository associated with this pull request's base Ref.
body (String!): The body as Markdown.
bodyHTML (HTML!): The body rendered to HTML.
bodyText (String!): The body rendered to text.
canBeRebased (Boolean!): Whether or not the pull request is rebaseable.
changedFiles (Int!): The number of changed files in this pull request.
checksResourcePath (URI!): The HTTP path for the checks of this pull request.
checksUrl (URI!): The HTTP URL for the checks of this pull request.
closed (Boolean!): true if the pull request is closed.
closedAt (DateTime): Identifies the date and time when the object was closed.
closingIssuesReferences (IssueConnection): List of issues that may be closed by this pull request.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.excludeUserLinked (Boolean): Exclude manually linked Issues. Default: false.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (IssueOrder): Ordering options for issues returned from the connection.userLinkedOnly (Boolean): Return only manually linked Issues. Default: false.comments (IssueCommentConnection!): A list of comments associated with the pull request.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (IssueCommentOrder): Ordering options for issue comments returned from the connection.commits (PullRequestCommitConnection!): A list of commits present in this pull request's head branch not present in the base branch. (Pagination: after, before, first, last)
createdAt (DateTime!): Identifies the date and time when the object was created.
createdViaEmail (Boolean!): Check if this comment was created via an email reply.
databaseId (Int): Identifies the primary key from the database. Deprecated: databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.
deletions (Int!): The number of deletions in this pull request.
editor (Actor): The actor who edited this pull request's body.
files (PullRequestChangedFileConnection): Lists the files changed within this pull request. (Pagination: after, before, first, last)
fullDatabaseId (BigInt): Identifies the primary key from the database as a BigInt.
headRef (Ref): Identifies the head Ref associated with the pull request.
headRefName (String!): Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.
headRefOid (GitObjectID!): Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.
headRepository (Repository): The repository associated with this pull request's head Ref.
headRepositoryOwner (RepositoryOwner): The owner of the repository associated with this pull request's head Ref.
hovercard (Hovercard!): The hovercard information for this issue.
includeNotificationContexts (Boolean): Whether or not to include notification contexts. Default: true.id (ID!): The Node ID of the PullRequest object.
includesCreatedEdit (Boolean!): Check if this comment was edited and includes an edit with the creation data.
isCrossRepository (Boolean!): The head and base repositories are different.
isDraft (Boolean!): Identifies if the pull request is a draft.
isInMergeQueue (Boolean!): Indicates whether the pull request is in a merge queue.
isMergeQueueEnabled (Boolean!): Indicates whether the pull request's base ref has a merge queue enabled.
isReadByViewer (Boolean): Is this pull request read by the viewer.
labels (LabelConnection): A list of labels associated with the object.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (LabelOrder): Ordering options for labels returned from the connection. Default: {field: CREATED_AT, direction: ASC}.lastEditedAt (DateTime): The moment the editor made the last edit.
latestOpinionatedReviews (PullRequestReviewConnection): A list of latest reviews per user associated with the pull request.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.writersOnly (Boolean): Only return reviews from user who have write access to the repository. Default: false.latestReviews (PullRequestReviewConnection): A list of latest reviews per user associated with the pull request that are not also pending review. (Pagination: after, before, first, last)
locked (Boolean!): true if the pull request is locked.
maintainerCanModify (Boolean!): Indicates whether maintainers can modify the pull request.
mergeCommit (Commit): The commit that was created when this pull request was merged.
mergeQueue (MergeQueue): The merge queue for the pull request's base branch.
mergeQueueEntry (MergeQueueEntry): The merge queue entry of the pull request in the base branch's merge queue.
mergeStateStatus (MergeStateStatus!): Detailed information about the current pull request merge state status.
mergeable (MergeableState!): Whether or not the pull request can be merged based on the existence of merge conflicts.
merged (Boolean!): Whether or not the pull request was merged.
mergedAt (DateTime): The date and time that the pull request was merged.
mergedBy (Actor): The actor who merged the pull request.
milestone (Milestone): Identifies the milestone associated with the pull request.
number (Int!): Identifies the pull request number.
participants (UserConnection!): A list of Users that are participating in the Pull Request conversation. (Pagination: after, before, first, last)
permalink (URI!): The permalink to the pull request.
potentialMergeCommit (Commit): The commit that GitHub automatically generated to test if this pull request
could be merged. This field will not return a value if the pull request is
merged, or if the test merge commit is still being generated. See the
mergeable field for more details on the mergeability of the pull request.
projectCards (ProjectCardConnection!): List of project cards associated with this pull request. Deprecated: Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.
after (String): Returns the elements in the list that come after the specified cursor.archivedStates ([ProjectCardArchivedState]): A list of archived states to filter the cards by. Default: [ARCHIVED, NOT_ARCHIVED].before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.projectItems (ProjectV2ItemConnection): List of project items associated with this pull request.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.includeArchived (Boolean): Include archived items. Default: true.last (Int): Returns the last n elements from the list.projectV2 (ProjectV2): Find a project by number.
number (Int!): The project number.projectsV2 (ProjectV2Connection!): A list of projects under the owner.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.minPermissionLevel (ProjectV2PermissionLevel): Filter projects based on user role. Default: READ.orderBy (ProjectV2Order): How to order the returned projects. Default: {field: NUMBER, direction: DESC}.query (String): A project to search for under the owner.publishedAt (DateTime): Identifies when the comment was published at.
reactionGroups ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
reactions (ReactionConnection!): A list of Reactions left on the Issue.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.content (ReactionContent): Allows filtering Reactions by emoji.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (ReactionOrder): Allows specifying the order in which reactions are returned.repository (Repository!): The repository associated with this node.
resourcePath (URI!): The HTTP path for this pull request.
revertResourcePath (URI!): The HTTP path for reverting this pull request.
revertUrl (URI!): The HTTP URL for reverting this pull request.
reviewDecision (PullRequestReviewDecision): The current status of this pull request with respect to code review.
reviewRequests (ReviewRequestConnection): A list of review requests associated with the pull request. (Pagination: after, before, first, last)
reviewThreads (PullRequestReviewThreadConnection!): The list of all review threads for this pull request. (Pagination: after, before, first, last)
reviews (PullRequestReviewConnection): A list of reviews associated with the pull request.
after (String): Returns the elements in the list that come after the specified cursor.author (String): Filter by author of the review.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.states ([PullRequestReviewState!]): A list of states to filter the reviews.stack (PullRequestStack): The stack this Pull Request belongs to, or null if it is not part of a stack.
stackEntry (PullRequestStackEntry): The stack entry for this Pull Request, or null if it is not part of a stack.
state (PullRequestState!): Identifies the state of the pull request.
statusCheckRollup (StatusCheckRollup): Check and Status rollup information for the PR's head ref.
suggestedActors (AssigneeConnection!): A list of suggested actors to assign to this object.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.query (String): If provided, searches users by login or profile name.suggestedReviewerActors (SuggestedReviewerActorConnection!): Reviewer actor suggestions based on commit history, past review comments, and integrations.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.query (String): Search actors with query on user name and login.suggestedReviewers ([SuggestedReviewer]!): A list of reviewer suggestions based on commit history and past review comments.
timeline (PullRequestTimelineConnection!): A list of events, comments, commits, etc. associated with the pull request. Deprecated: timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.since (DateTime): Allows filtering timeline events by a since timestamp.timelineItems (PullRequestTimelineItemsConnection!): A list of events, comments, commits, etc. associated with the pull request.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.itemTypes ([PullRequestTimelineItemsItemType!]): Filter timeline items by type.last (Int): Returns the last n elements from the list.since (DateTime): Filter timeline items by a since timestamp.skip (Int): Skips the first n elements in the list.title (String!): Identifies the pull request title.
titleHTML (HTML!): Identifies the pull request title rendered to HTML.
totalCommentsCount (Int): Returns a count of how many comments this pull request has received.
updatedAt (DateTime!): Identifies the date and time when the object was last updated.
url (URI!): The HTTP URL for this pull request.
userContentEdits (UserContentEditConnection): A list of edits to this content. (Pagination: after, before, first, last)
viewerCanApplySuggestion (Boolean!): Whether or not the viewer can apply suggestion.
viewerCanAssign (Boolean!): Indicates if the viewer can edit assignees for this object.
viewerCanClose (Boolean!): Indicates if the object can be closed by the viewer.
viewerCanDeleteHeadRef (Boolean!): Check if the viewer can restore the deleted head ref.
viewerCanDisableAutoMerge (Boolean!): Whether or not the viewer can disable auto-merge.
viewerCanEditFiles (Boolean!): Can the viewer edit files within this pull request.
viewerCanEnableAutoMerge (Boolean!): Whether or not the viewer can enable auto-merge.
viewerCanLabel (Boolean!): Indicates if the viewer can edit labels for this object.
viewerCanMergeAsAdmin (Boolean!): Indicates whether the viewer can bypass branch protections and merge the pull request immediately.
viewerCanReact (Boolean!): Can user react to this subject.
viewerCanReopen (Boolean!): Indicates if the object can be reopened by the viewer.
viewerCanSubscribe (Boolean!): Check if the viewer is able to change their subscription status for the repository.
viewerCanUpdate (Boolean!): Check if the current viewer can update this object.
viewerCanUpdateBranch (Boolean!): Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref.
If the head ref is up to date or unable to be updated by this user, this will return false.
viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.
viewerDidAuthor (Boolean!): Did the viewer author this comment.
viewerLatestReview (PullRequestReview): The latest review given from the viewer.
viewerLatestReviewRequest (ReviewRequest): The person who has requested the viewer for review on this pull request.
viewerMergeBodyText (String!): The merge body text for the viewer and method.
mergeType (PullRequestMergeMethod): The merge method for the message.viewerMergeHeadlineText (String!): The merge headline text for the viewer and method.
mergeType (PullRequestMergeMethod): The merge method for the message.viewerSubscription (SubscriptionState): Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Array of allowed merge methods. Allowed values include merge, squash, and rebase. At least one option must be enabled.
PullRequestAllowedMergeMethodsMERGE: Add all commits from the head branch to the base branch with a merge commit.REBASE: Add all commits from the head branch onto the base branch individually.SQUASH: Combine all commits from the head branch into a single commit in the base branch.The possible methods for updating a pull request's head branch with the base branch.
PullRequestBranchUpdateMethodMERGE: Update branch via merge.REBASE: Update branch via rebase.A file changed in a pull request.
PullRequestChangedFileadditions (Int!): The number of additions to the file.changeType (PatchStatus!): How the file was changed in this PullRequest.deletions (Int!): The number of deletions to the file.path (String!): The path of the file.viewerViewedState (FileViewedState!): The state of the file for the viewer.The connection type for PullRequestChangedFile.
PullRequestChangedFileConnectionedges ([PullRequestChangedFileEdge]): A list of edges.nodes ([PullRequestChangedFile]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
PullRequestChangedFileEdgecursor (String!): A cursor for use in pagination.node (PullRequestChangedFile): The item at the end of the edge.Represents a Git commit part of a pull request.
Implements: Node, UniformResourceLocatable
PullRequestCommitcommit (Commit!): The Git commit object.id (ID!): The Node ID of the PullRequestCommit object.pullRequest (PullRequest!): The pull request this commit belongs to.resourcePath (URI!): The HTTP path for this pull request commit.url (URI!): The HTTP URL for this pull request commit.Represents a commit comment thread part of a pull request.
Implements: Node, RepositoryNode
PullRequestCommitCommentThreadcomments (CommitCommentConnection!): The comments that exist in this thread. (Pagination: after, before, first, last)commit (Commit!): The commit the comments were made on.id (ID!): The Node ID of the PullRequestCommitCommentThread object.path (String): The file the comments were made on.position (Int): The position in the diff for the commit that the comment was made on.pullRequest (PullRequest!): The pull request this commit comment thread belongs to.repository (Repository!): The repository associated with this node.The connection type for PullRequestCommit.
PullRequestCommitConnectionedges ([PullRequestCommitEdge]): A list of edges.nodes ([PullRequestCommit]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
PullRequestCommitEdgecursor (String!): A cursor for use in pagination.node (PullRequestCommit): The item at the end of the edge.The connection type for PullRequest.
PullRequestConnectionedges ([PullRequestEdge]): A list of edges.nodes ([PullRequest]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.This aggregates pull requests opened by a user within one repository.
PullRequestContributionsByRepositorycontributions (CreatedPullRequestContributionConnection!): The pull request contributions.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (ContributionOrder): Ordering options for contributions returned from the connection. Default: {direction: DESC}.repository (Repository!): The repository in which the pull requests were opened.
Users who are exempt from the pull request creation cap on a repository.
PullRequestCreationCapConfigbypassedUsers (UserConnection!): Users who are exempt from the pull request creation cap. (Pagination: after, before, first, last)The policy controlling who can create pull requests in a repository.
PullRequestCreationPolicyALL: Anyone can create pull requests.COLLABORATORS_ONLY: Only collaborators can create pull requests.An edge in a connection.
PullRequestEdgecursor (String!): A cursor for use in pagination.node (PullRequest): The item at the end of the edge.Represents available types of methods to use when merging a pull request.
PullRequestMergeMethodMERGE: Add all commits from the head branch to the base branch with a merge commit.REBASE: Add all commits from the head branch onto the base branch individually.SQUASH: Combine all commits from the head branch into a single commit in the base branch.Ways in which lists of issues can be ordered upon return.
PullRequestOrderdirection (OrderDirection!): The direction in which to order pull requests by the specified field.field (PullRequestOrderField!): The field in which to order pull requests by.Properties by which pull_requests connections can be ordered.
PullRequestOrderFieldCREATED_AT: Order pull_requests by creation time.UPDATED_AT: Order pull_requests by update time.Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
PullRequestParametersallowedMergeMethods ([PullRequestAllowedMergeMethods!]): Array of allowed merge methods. Allowed values include merge, squash, anddismissStaleReviewsOnPush (Boolean!): New, reviewable commits pushed will dismiss previous pull request review approvals.dismissalRestriction (DismissalRestriction): Specify people, teams, or apps allowed to dismiss pull request reviews.requireCodeOwnerReview (Boolean!): Require an approving review in pull requests that modify files that have a designated code owner.requireLastPushApproval (Boolean!): Whether the most recent reviewable push must be approved by someone other than the person who pushed it.requiredApprovingReviewCount (Int!): The number of approving reviews that are required before a pull request can be merged.requiredReviewThreadResolution (Boolean!): All conversations on code must be resolved before a pull request can be merged.requiredReviewers ([RequiredReviewerConfiguration!]): A collection of reviewers and associated file patterns. Each reviewer has aRequire all commits be made to a non-target branch and submitted via a pull request before they can be merged.
PullRequestParametersInputallowedMergeMethods ([PullRequestAllowedMergeMethods!]): Array of allowed merge methods. Allowed values include merge, squash, anddismissStaleReviewsOnPush (Boolean!): New, reviewable commits pushed will dismiss previous pull request review approvals.dismissalRestriction (DismissalRestrictionInput): Specify people, teams, or apps allowed to dismiss pull request reviews.requireCodeOwnerReview (Boolean!): Require an approving review in pull requests that modify files that have a designated code owner.requireLastPushApproval (Boolean!): Whether the most recent reviewable push must be approved by someone other than the person who pushed it.requiredApprovingReviewCount (Int!): The number of approving reviews that are required before a pull request can be merged.requiredReviewThreadResolution (Boolean!): All conversations on code must be resolved before a pull request can be merged.requiredReviewers ([RequiredReviewerConfigurationInput!]): A collection of reviewers and associated file patterns. Each reviewer has aA review object for a given pull request.
Implements: Comment, Deletable, Minimizable, Node, Reactable, RepositoryNode, Updatable, UpdatableComment
PullRequestReviewauthor (Actor): The actor who authored the comment.
authorAssociation (CommentAuthorAssociation!): Author's association with the subject of the comment.
authorCanPushToRepository (Boolean!): Indicates whether the author of this review has push access to the repository.
body (String!): Identifies the pull request review body.
bodyHTML (HTML!): The body rendered to HTML.
bodyText (String!): The body of this review rendered as plain text.
comments (PullRequestReviewCommentConnection!): A list of review comments for the current pull request review. (Pagination: after, before, first, last)
commit (Commit): Identifies the commit associated with this pull request review.
createdAt (DateTime!): Identifies the date and time when the object was created.
createdViaEmail (Boolean!): Check if this comment was created via an email reply.
databaseId (Int): Identifies the primary key from the database. Deprecated: databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.
editor (Actor): The actor who edited the comment.
fullDatabaseId (BigInt): Identifies the primary key from the database as a BigInt.
id (ID!): The Node ID of the PullRequestReview object.
includesCreatedEdit (Boolean!): Check if this comment was edited and includes an edit with the creation data.
isMinimized (Boolean!): Returns whether or not a comment has been minimized.
lastEditedAt (DateTime): The moment the editor made the last edit.
minimizedReason (String): Returns why the comment was minimized. One of abuse, off-topic,
outdated, resolved, duplicate, spam, and low-quality. Note that the
case and formatting of these values differs from the inputs to the
MinimizeComment mutation.
onBehalfOf (TeamConnection!): A list of teams that this review was made on behalf of. (Pagination: after, before, first, last)
publishedAt (DateTime): Identifies when the comment was published at.
pullRequest (PullRequest!): Identifies the pull request associated with this pull request review.
reactionGroups ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
reactions (ReactionConnection!): A list of Reactions left on the Issue.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.content (ReactionContent): Allows filtering Reactions by emoji.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (ReactionOrder): Allows specifying the order in which reactions are returned.repository (Repository!): The repository associated with this node.
resourcePath (URI!): The HTTP path permalink for this PullRequestReview.
state (PullRequestReviewState!): Identifies the current state of the pull request review.
submittedAt (DateTime): Identifies when the Pull Request Review was submitted.
updatedAt (DateTime!): Identifies the date and time when the object was last updated.
url (URI!): The HTTP URL permalink for this PullRequestReview.
userContentEdits (UserContentEditConnection): A list of edits to this content. (Pagination: after, before, first, last)
viewerCanDelete (Boolean!): Check if the current viewer can delete this object.
viewerCanMinimize (Boolean!): Check if the current viewer can minimize this object.
viewerCanReact (Boolean!): Can user react to this subject.
viewerCanUnminimize (Boolean!): Check if the current viewer can unminimize this object.
viewerCanUpdate (Boolean!): Check if the current viewer can update this object.
viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.
viewerDidAuthor (Boolean!): Did the viewer author this comment.
A review comment associated with a given repository pull request.
Implements: Comment, Deletable, Minimizable, Node, Reactable, RepositoryNode, Updatable, UpdatableComment
PullRequestReviewCommentauthor (Actor): The actor who authored the comment.
authorAssociation (CommentAuthorAssociation!): Author's association with the subject of the comment.
body (String!): The comment body of this review comment.
bodyHTML (HTML!): The body rendered to HTML.
bodyText (String!): The comment body of this review comment rendered as plain text.
commit (Commit): Identifies the commit associated with the comment.
createdAt (DateTime!): Identifies when the comment was created.
createdViaEmail (Boolean!): Check if this comment was created via an email reply.
databaseId (Int): Identifies the primary key from the database. Deprecated: databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.
diffHunk (String!): The diff hunk to which the comment applies.
draftedAt (DateTime!): Identifies when the comment was created in a draft state.
editor (Actor): The actor who edited the comment.
fullDatabaseId (BigInt): Identifies the primary key from the database as a BigInt.
id (ID!): The Node ID of the PullRequestReviewComment object.
includesCreatedEdit (Boolean!): Check if this comment was edited and includes an edit with the creation data.
isMinimized (Boolean!): Returns whether or not a comment has been minimized.
lastEditedAt (DateTime): The moment the editor made the last edit.
line (Int): The end line number on the file to which the comment applies.
minimizedReason (String): Returns why the comment was minimized. One of abuse, off-topic,
outdated, resolved, duplicate, spam, and low-quality. Note that the
case and formatting of these values differs from the inputs to the
MinimizeComment mutation.
originalCommit (Commit): Identifies the original commit associated with the comment.
originalLine (Int): The end line number on the file to which the comment applied when it was first created.
originalPosition (Int!): The original line index in the diff to which the comment applies. Deprecated: We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC.
originalStartLine (Int): The start line number on the file to which the comment applied when it was first created.
outdated (Boolean!): Identifies when the comment body is outdated.
path (String!): The path to which the comment applies.
position (Int): The line index in the diff to which the comment applies. Deprecated: We are phasing out diff-relative positioning for PR comments Use the line and startLine fields instead, which are file line numbers instead of diff line numbers Removal on 2023-10-01 UTC.
publishedAt (DateTime): Identifies when the comment was published at.
pullRequest (PullRequest!): The pull request associated with this review comment.
pullRequestReview (PullRequestReview): The pull request review associated with this review comment.
reactionGroups ([ReactionGroup!]): A list of reactions grouped by content left on the subject.
reactions (ReactionConnection!): A list of Reactions left on the Issue.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.content (ReactionContent): Allows filtering Reactions by emoji.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (ReactionOrder): Allows specifying the order in which reactions are returned.replyTo (PullRequestReviewComment): The comment this is a reply to.
repository (Repository!): The repository associated with this node.
resourcePath (URI!): The HTTP path permalink for this review comment.
startLine (Int): The start line number on the file to which the comment applies.
state (PullRequestReviewCommentState!): Identifies the state of the comment.
subjectType (PullRequestReviewThreadSubjectType!): The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.
updatedAt (DateTime!): Identifies when the comment was last updated.
url (URI!): The HTTP URL permalink for this review comment.
userContentEdits (UserContentEditConnection): A list of edits to this content. (Pagination: after, before, first, last)
viewerCanDelete (Boolean!): Check if the current viewer can delete this object.
viewerCanMinimize (Boolean!): Check if the current viewer can minimize this object.
viewerCanReact (Boolean!): Can user react to this subject.
viewerCanUnminimize (Boolean!): Check if the current viewer can unminimize this object.
viewerCanUpdate (Boolean!): Check if the current viewer can update this object.
viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.
viewerDidAuthor (Boolean!): Did the viewer author this comment.
The connection type for PullRequestReviewComment.
PullRequestReviewCommentConnectionedges ([PullRequestReviewCommentEdge]): A list of edges.nodes ([PullRequestReviewComment]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
PullRequestReviewCommentEdgecursor (String!): A cursor for use in pagination.node (PullRequestReviewComment): The item at the end of the edge.The possible states of a pull request review comment.
PullRequestReviewCommentStatePENDING: A comment that is part of a pending review.SUBMITTED: A comment that is part of a submitted review.The connection type for PullRequestReview.
PullRequestReviewConnectionedges ([PullRequestReviewEdge]): A list of edges.nodes ([PullRequestReview]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.This aggregates pull request reviews made by a user within one repository.
PullRequestReviewContributionsByRepositorycontributions (CreatedPullRequestReviewContributionConnection!): The pull request review contributions.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.orderBy (ContributionOrder): Ordering options for contributions returned from the connection. Default: {direction: DESC}.repository (Repository!): The repository in which the pull request reviews were made.
The review status of a pull request.
PullRequestReviewDecisionAPPROVED: The pull request has received an approving review.CHANGES_REQUESTED: Changes have been requested on the pull request.REVIEW_REQUIRED: A review is required before the pull request can be merged.An edge in a connection.
PullRequestReviewEdgecursor (String!): A cursor for use in pagination.node (PullRequestReview): The item at the end of the edge.The possible events to perform on a pull request review.
PullRequestReviewEventAPPROVE: Submit feedback and approve merging these changes.COMMENT: Submit general feedback without explicit approval.DISMISS: Dismiss review so it now longer effects merging.REQUEST_CHANGES: Submit feedback that must be addressed before merging.The possible states of a pull request review.
PullRequestReviewStateAPPROVED: A review allowing the pull request to merge.CHANGES_REQUESTED: A review blocking the pull request from merging.COMMENTED: An informational review.DISMISSED: A review that has been dismissed.PENDING: A review that has not yet been submitted.A threaded list of comments for a given pull request.
Implements: Node
PullRequestReviewThreadcomments (PullRequestReviewCommentConnection!): A list of pull request comments associated with the thread.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.skip (Int): Skips the first n elements in the list.diffSide (DiffSide!): The side of the diff on which this thread was placed.
id (ID!): The Node ID of the PullRequestReviewThread object.
isCollapsed (Boolean!): Whether or not the thread has been collapsed (resolved).
isOutdated (Boolean!): Indicates whether this thread was outdated by newer changes.
isResolved (Boolean!): Whether this thread has been resolved.
line (Int): The line in the file to which this thread refers.
originalLine (Int): The original line in the file to which this thread refers.
originalStartLine (Int): The original start line in the file to which this thread refers (multi-line only).
path (String!): Identifies the file path of this thread.
pullRequest (PullRequest!): Identifies the pull request associated with this thread.
repository (Repository!): Identifies the repository associated with this thread.
resolvedBy (User): The user who resolved this thread.
startDiffSide (DiffSide): The side of the diff that the first line of the thread starts on (multi-line only).
startLine (Int): The start line in the file to which this thread refers (multi-line only).
subjectType (PullRequestReviewThreadSubjectType!): The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.
viewerCanReply (Boolean!): Indicates whether the current viewer can reply to this thread.
viewerCanResolve (Boolean!): Whether or not the viewer can resolve this thread.
viewerCanUnresolve (Boolean!): Whether or not the viewer can unresolve this thread.
Review comment threads for a pull request review.
PullRequestReviewThreadConnectionedges ([PullRequestReviewThreadEdge]): A list of edges.nodes ([PullRequestReviewThread]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
PullRequestReviewThreadEdgecursor (String!): A cursor for use in pagination.node (PullRequestReviewThread): The item at the end of the edge.The possible reasons a pull request review thread was resolved.
PullRequestReviewThreadResolutionReasonADDRESSED: The review comment was addressed.INVALID: The review comment is invalid.WONT_FIX: The review comment will not be addressed.The possible subject types of a pull request review comment.
PullRequestReviewThreadSubjectTypeFILE: A comment that has been made against the file of a pull request.LINE: A comment that has been made against the line of a pull request.Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.
PullRequestRevisionMarkercreatedAt (DateTime!): Identifies the date and time when the object was created.lastSeenCommit (Commit!): The last commit the viewer has seen.pullRequest (PullRequest!): The pull request to which the marker belongs.A stack of PullRequests.
Implements: Node
PullRequestStackbaseRefName (String!): The branch that the stack's pull requests target.entries (PullRequestStackEntryConnection!): The entries in the stack. (Pagination: after, before, first, last)id (ID!): The Node ID of the PullRequestStack object.number (Int!): A number uniquely identifying the stack within its repository.size (Int!): The total number of pull requests in the stack.A member of a PullRequestStack.
Implements: Node
PullRequestStackEntryid (ID!): The Node ID of the PullRequestStackEntry object.position (Int!): This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc.pullRequest (PullRequest): The pull request that occupies this position in the stack.stack (PullRequestStack): The stack that this entry is a part of.Entries in a pull request stack.
PullRequestStackEntryConnectionedges ([PullRequestStackEntryEdge]): A list of edges.nodes ([PullRequestStackEntry]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
PullRequestStackEntryEdgecursor (String!): A cursor for use in pagination.node (PullRequestStackEntry): The item at the end of the edge.The possible states of a pull request.
PullRequestStateCLOSED: A pull request that has been closed without being merged.MERGED: A pull request that has been closed by being merged.OPEN: A pull request that is still open.A repository pull request template.
PullRequestTemplatebody (String): The body of the template.filename (String): The filename of the template.repository (Repository!): The repository the template belongs to.A threaded list of comments for a given pull request.
Implements: Node
PullRequestThreadcomments (PullRequestReviewCommentConnection!): A list of pull request comments associated with the thread.
after (String): Returns the elements in the list that come after the specified cursor.before (String): Returns the elements in the list that come before the specified cursor.first (Int): Returns the first n elements from the list.last (Int): Returns the last n elements from the list.skip (Int): Skips the first n elements in the list.diffSide (DiffSide!): The side of the diff on which this thread was placed.
id (ID!): The Node ID of the PullRequestThread object.
isCollapsed (Boolean!): Whether or not the thread has been collapsed (resolved).
isOutdated (Boolean!): Indicates whether this thread was outdated by newer changes.
isResolved (Boolean!): Whether this thread has been resolved.
line (Int): The line in the file to which this thread refers.
path (String!): Identifies the file path of this thread.
pullRequest (PullRequest!): Identifies the pull request associated with this thread.
repository (Repository!): Identifies the repository associated with this thread.
resolvedBy (User): The user who resolved this thread.
startDiffSide (DiffSide): The side of the diff that the first line of the thread starts on (multi-line only).
startLine (Int): The line of the first file diff in the thread.
subjectType (PullRequestReviewThreadSubjectType!): The level at which the comments in the corresponding thread are targeted, can be a diff line or a file.
viewerCanReply (Boolean!): Indicates whether the current viewer can reply to this thread.
viewerCanResolve (Boolean!): Whether or not the viewer can resolve this thread.
viewerCanUnresolve (Boolean!): Whether or not the viewer can unresolve this thread.
The connection type for PullRequestTimelineItem.
PullRequestTimelineConnectionedges ([PullRequestTimelineItemEdge]): A list of edges.nodes ([PullRequestTimelineItem]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An item in a pull request timeline.
PullRequestTimelineItemAn edge in a connection.
PullRequestTimelineItemEdgecursor (String!): A cursor for use in pagination.node (PullRequestTimelineItem): The item at the end of the edge.An item in a pull request timeline.
PullRequestTimelineItemsThe connection type for PullRequestTimelineItems.
PullRequestTimelineItemsConnectionedges ([PullRequestTimelineItemsEdge]): A list of edges.filteredCount (Int!): Identifies the count of items after applying before and after filters.nodes ([PullRequestTimelineItems]): A list of nodes.pageCount (Int!): Identifies the count of items after applying before/after filters and first/last/skip slicing.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.updatedAt (DateTime!): Identifies the date and time when the timeline was last updated.An edge in a connection.
PullRequestTimelineItemsEdgecursor (String!): A cursor for use in pagination.node (PullRequestTimelineItems): The item at the end of the edge.The possible item types found in a timeline.
PullRequestTimelineItemsItemTypeADDED_TO_MERGE_QUEUE_EVENT: Represents an added_to_merge_queue event on a given pull request.ADDED_TO_PROJECT_EVENT: Represents a added_to_project event on a given issue or pull request.ADDED_TO_PROJECT_V2_EVENT: Represents a added_to_project_v2 event on a given issue or pull request.ADDED_TO_STACK_EVENT: Represents an added_to_stack event on a given pull request.ARCHIVED_EVENT: Represents an archived event on a given pull request.ASSIGNED_EVENT: Represents an assigned event on any assignable object.AUTOMATIC_BASE_CHANGE_FAILED_EVENT: Represents a automatic_base_change_failed event on a given pull request.AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT: Represents a automatic_base_change_succeeded event on a given pull request.AUTO_MERGE_DISABLED_EVENT: Represents a auto_merge_disabled event on a given pull request.AUTO_MERGE_ENABLED_EVENT: Represents a auto_merge_enabled event on a given pull request.AUTO_REBASE_ENABLED_EVENT: Represents a auto_rebase_enabled event on a given pull request.AUTO_SQUASH_ENABLED_EVENT: Represents a auto_squash_enabled event on a given pull request.BASE_REF_CHANGED_EVENT: Represents a base_ref_changed event on a given issue or pull request.BASE_REF_DELETED_EVENT: Represents a base_ref_deleted event on a given pull request.BASE_REF_FORCE_PUSHED_EVENT: Represents a base_ref_force_pushed event on a given pull request.BLOCKED_BY_ADDED_EVENT: Represents a blocked_by_added event on a given issue.BLOCKED_BY_REMOVED_EVENT: Represents a blocked_by_removed event on a given issue.BLOCKING_ADDED_EVENT: Represents a blocking_added event on a given issue.BLOCKING_REMOVED_EVENT: Represents a blocking_removed event on a given issue.CLOSED_EVENT: Represents a closed event on any Closable.COMMENT_DELETED_EVENT: Represents a comment_deleted event on a given issue or pull request.CONNECTED_EVENT: Represents a connected event on a given issue or pull request.CONVERTED_FROM_DRAFT_EVENT: Represents a converted_from_draft event on a given issue or pull request.CONVERTED_NOTE_TO_ISSUE_EVENT: Represents a converted_note_to_issue event on a given issue or pull request.CONVERTED_TO_DISCUSSION_EVENT: Represents a converted_to_discussion event on a given issue.CONVERT_TO_DRAFT_EVENT: Represents a convert_to_draft event on a given pull request.CROSS_REFERENCED_EVENT: Represents a mention made by one issue or pull request to another.DEMILESTONED_EVENT: Represents a demilestoned event on a given issue or pull request.DEPLOYED_EVENT: Represents a deployed event on a given pull request.DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT: Represents a deployment_environment_changed event on a given pull request.DISCONNECTED_EVENT: Represents a disconnected event on a given issue or pull request.HEAD_REF_DELETED_EVENT: Represents a head_ref_deleted event on a given pull request.HEAD_REF_FORCE_PUSHED_EVENT: Represents a head_ref_force_pushed event on a given pull request.HEAD_REF_RESTORED_EVENT: Represents a head_ref_restored event on a given pull request.ISSUE_COMMENT: Represents a comment on an Issue.ISSUE_COMMENT_PINNED_EVENT: Represents a issue_comment_pinned event on a given issue.ISSUE_COMMENT_UNPINNED_EVENT: Represents a issue_comment_unpinned event on a given issue.ISSUE_FIELD_ADDED_EVENT: Represents a issue_field_added event on a given issue.ISSUE_FIELD_CHANGED_EVENT: Represents a issue_field_changed event on a given issue.ISSUE_FIELD_REMOVED_EVENT: Represents a issue_field_removed event on a given issue.ISSUE_TYPE_ADDED_EVENT: Represents a issue_type_added event on a given issue.ISSUE_TYPE_CHANGED_EVENT: Represents a issue_type_changed event on a given issue.ISSUE_TYPE_REMOVED_EVENT: Represents a issue_type_removed event on a given issue.LABELED_EVENT: Represents a labeled event on a given issue or pull request.LOCKED_EVENT: Represents a locked event on a given issue or pull request.MARKED_AS_DUPLICATE_EVENT: Represents a marked_as_duplicate event on a given issue or pull request.MENTIONED_EVENT: Represents a mentioned event on a given issue or pull request.MERGED_EVENT: Represents a merged event on a given pull request.MILESTONED_EVENT: Represents a milestoned event on a given issue or pull request.MOVED_COLUMNS_IN_PROJECT_EVENT: Represents a moved_columns_in_project event on a given issue or pull request.PARENT_ISSUE_ADDED_EVENT: Represents a parent_issue_added event on a given issue.PARENT_ISSUE_REMOVED_EVENT: Represents a parent_issue_removed event on a given issue.PINNED_EVENT: Represents a pinned event on a given issue or pull request.PROJECT_V2_ITEM_STATUS_CHANGED_EVENT: Represents a project_v2_item_status_changed event on a given issue or pull request.PULL_REQUEST_COMMIT: Represents a Git commit part of a pull request.PULL_REQUEST_COMMIT_COMMENT_THREAD: Represents a commit comment thread part of a pull request.PULL_REQUEST_REVIEW: A review object for a given pull request.PULL_REQUEST_REVIEW_THREAD: A threaded list of comments for a given pull request.PULL_REQUEST_REVISION_MARKER: Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits.READY_FOR_REVIEW_EVENT: Represents a ready_for_review event on a given pull request.REFERENCED_EVENT: Represents a referenced event on a given ReferencedSubject.REMOVED_FROM_MERGE_QUEUE_EVENT: Represents a removed_from_merge_queue event on a given pull request.REMOVED_FROM_PROJECT_EVENT: Represents a removed_from_project event on a given issue or pull request.REMOVED_FROM_PROJECT_V2_EVENT: Represents a removed_from_project_v2 event on a given issue or pull request.REMOVED_FROM_STACK_EVENT: Represents a removed_from_stack event on a given pull request.RENAMED_TITLE_EVENT: Represents a renamed event on a given issue or pull request.REOPENED_EVENT: Represents a reopened event on any Closable.REVIEW_DISMISSED_EVENT: Represents a review_dismissed event on a given issue or pull request.REVIEW_REQUESTED_EVENT: Represents an review_requested event on a given pull request.REVIEW_REQUEST_REMOVED_EVENT: Represents an review_request_removed event on a given pull request.SUBSCRIBED_EVENT: Represents a subscribed event on a given Subscribable.SUB_ISSUE_ADDED_EVENT: Represents a sub_issue_added event on a given issue.SUB_ISSUE_REMOVED_EVENT: Represents a sub_issue_removed event on a given issue.TRANSFERRED_EVENT: Represents a transferred event on a given issue or pull request.UNARCHIVED_EVENT: Represents an unarchived event on a given pull request.UNASSIGNED_EVENT: Represents an unassigned event on any assignable object.UNLABELED_EVENT: Represents an unlabeled event on a given issue or pull request.UNLOCKED_EVENT: Represents an unlocked event on a given issue or pull request.UNMARKED_AS_DUPLICATE_EVENT: Represents an unmarked_as_duplicate event on a given issue or pull request.UNPINNED_EVENT: Represents an unpinned event on a given issue or pull request.UNSUBSCRIBED_EVENT: Represents an unsubscribed event on a given Subscribable.USER_BLOCKED_EVENT: Represents a user_blocked event on a given user.The possible target states when updating a pull request.
PullRequestUpdateStateCLOSED: A pull request that has been closed without being merged.OPEN: A pull request that is still open.Represents a ready_for_review event on a given pull request.
Implements: Node, UniformResourceLocatable
ReadyForReviewEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the ReadyForReviewEvent object.pullRequest (PullRequest!): PullRequest referenced by event.resourcePath (URI!): The HTTP path for this ready for review event.url (URI!): The HTTP URL for this ready for review event.Represents a removed_from_merge_queue event on a given pull request.
Implements: Node
RemovedFromMergeQueueEventactor (Actor): Identifies the actor who performed the event.beforeCommit (Commit): Identifies the before commit SHA for the removed_from_merge_queue event.createdAt (DateTime!): Identifies the date and time when the object was created.enqueuer (User): The user who removed this Pull Request from the merge queue.id (ID!): The Node ID of the RemovedFromMergeQueueEvent object.mergeQueue (MergeQueue): The merge queue where this pull request was removed from.pullRequest (PullRequest): PullRequest referenced by event.reason (String): The reason this pull request was removed from the queue.Represents a removed_from_stack event on a given pull request.
Implements: Node
RemovedFromStackEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the RemovedFromStackEvent object.pullRequest (PullRequest): Pull request removed from the stack.stackId (BigInt): Database ID of the stack.stackNumber (Int): Number of the stack in its repository.Remove users from the pull request creation cap bypass list. Only users with
maintainer permissions can manage the bypass list.
removePullRequestCreationCapBypassUsersinput (RemovePullRequestCreationCapBypassUsersInput!):removePullRequestCreationCapBypassUsersclientMutationId (String): A unique identifier for the client performing the mutation.repository (Repository): The repository with the updated bypass list.Autogenerated input type of RemovePullRequestCreationCapBypassUsers.
RemovePullRequestCreationCapBypassUsersInputclientMutationId (String): A unique identifier for the client performing the mutation.repositoryId (ID!): The Node ID of the repository.userIds ([ID!]!): The Node IDs of the users to remove from the bypass list.Reopen a pull request.
reopenPullRequestinput (ReopenPullRequestInput!):reopenPullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was reopened.Autogenerated input type of ReopenPullRequest.
ReopenPullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): ID of the pull request to be reopened.Types that can be requested reviewers.
RequestedReviewerThe connection type for RequestedReviewer.
RequestedReviewerConnectionedges ([RequestedReviewerEdge]): A list of edges.nodes ([RequestedReviewer]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
RequestedReviewerEdgecursor (String!): A cursor for use in pagination.node (RequestedReviewer): The item at the end of the edge.Set review requests on a pull request.
requestReviewsinput (RequestReviewsInput!):requestReviewsactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that is getting requests.requestedReviewersEdge (UserEdge): The edge from the pull request to the requested reviewers.Set review requests on a pull request using login strings instead of IDs.
requestReviewsByLogininput (RequestReviewsByLoginInput!):requestReviewsByLoginactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that is getting requests.requestedReviewersEdge (UserEdge): The edge from the pull request to the requested reviewers.Autogenerated input type of RequestReviewsByLogin.
RequestReviewsByLoginInputbotLogins ([String!]): The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]').clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): The Node ID of the pull request to modify.teamSlugs ([String!]): The slugs of the teams to request reviews from (format: 'org/team-slug').union (Boolean): Add users to the set rather than replace.userLogins ([String!]): The login strings of the users to request reviews from.Autogenerated input type of RequestReviews.
RequestReviewsInputbotIds ([ID!]): The Node IDs of the bot to request.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): The Node ID of the pull request to modify.teamIds ([ID!]): The Node IDs of the team to request.union (Boolean): Add users to the set rather than replace.userIds ([ID!]): The Node IDs of the user to request.Represents a type that can be required by a pull request for merging.
RequirableByPullRequestisRequired (Boolean!): Whether this is required to pass before merging for a specific pull request.
pullRequestId (ID): The id of the pull request this is required for.pullRequestNumber (Int): The number of the pull request this is required for.A reviewing team, and file patterns describing which files they must approve changes to.
RequiredReviewerConfigurationfilePatterns ([String!]!): Array of file patterns. Pull requests which change matching files must beminimumApprovals (Int!): Minimum number of approvals required from the specified team. If set to zero,reviewerId (ID!): Node ID of the team which must review changes to matching files.A reviewing team, and file patterns describing which files they must approve changes to.
RequiredReviewerConfigurationInputfilePatterns ([String!]!): Array of file patterns. Pull requests which change matching files must beminimumApprovals (Int!): Minimum number of approvals required from the specified team. If set to zero,reviewerId (ID!): Node ID of the team which must review changes to matching files.Rerequest reviews on a pull request.
rerequestReviewsinput (RerequestReviewsInput!):rerequestReviewsactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that is getting requests.requestedReviewersEdge (UserEdge): The edge from the pull request to the requested reviewers.Autogenerated input type of RerequestReviews.
RerequestReviewsInputbotIds ([ID!]): The Node IDs of the bots to rerequest.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): The Node ID of the pull request to modify.teamIds ([ID!]): The Node IDs of the teams to rerequest.userIds ([ID!]): The Node IDs of the users to rerequest.Marks a review thread as resolved.
resolveReviewThreadinput (ResolveReviewThreadInput!):resolveReviewThreadclientMutationId (String): A unique identifier for the client performing the mutation.thread (PullRequestReviewThread): The thread to resolve.Autogenerated input type of ResolveReviewThread.
ResolveReviewThreadInputclientMutationId (String): A unique identifier for the client performing the mutation.resolutionReason (PullRequestReviewThreadResolutionReason): The reason a Copilot code review thread was resolved.threadId (ID!): The ID of the thread to resolve.Create a pull request that reverts the changes from a merged pull request.
revertPullRequestinput (RevertPullRequestInput!):revertPullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was reverted.revertPullRequest (PullRequest): The new pull request that reverts the input pull request.Autogenerated input type of RevertPullRequest.
RevertPullRequestInputbody (String): The description of the revert pull request.clientMutationId (String): A unique identifier for the client performing the mutation.draft (Boolean): Indicates whether the revert pull request should be a draft.pullRequestId (ID!): The ID of the pull request to revert.title (String): The title of the revert pull request.Represents a review_dismissed event on a given issue or pull request.
Implements: Node, UniformResourceLocatable
ReviewDismissedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.databaseId (Int): Identifies the primary key from the database.dismissalMessage (String): Identifies the optional message associated with the review_dismissed event.dismissalMessageHTML (String): Identifies the optional message associated with the event, rendered to HTML.id (ID!): The Node ID of the ReviewDismissedEvent object.previousReviewState (PullRequestReviewState!): Identifies the previous state of the review with the review_dismissed event.pullRequest (PullRequest!): PullRequest referenced by event.pullRequestCommit (PullRequestCommit): Identifies the commit which caused the review to become stale.resourcePath (URI!): The HTTP path for this review dismissed event.review (PullRequestReview): Identifies the review associated with the review_dismissed event.url (URI!): The HTTP URL for this review dismissed event.A request for a user to review a pull request.
Implements: Node
ReviewRequestasCodeOwner (Boolean!): Whether this request was created for a code owner.databaseId (Int): Identifies the primary key from the database.id (ID!): The Node ID of the ReviewRequest object.pullRequest (PullRequest!): Identifies the pull request associated with this review request.requestedReviewer (RequestedReviewer): The reviewer that is requested.The connection type for ReviewRequest.
ReviewRequestConnectionedges ([ReviewRequestEdge]): A list of edges.nodes ([ReviewRequest]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.Represents an review_requested event on a given pull request.
Implements: Node
ReviewRequestedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the ReviewRequestedEvent object.pullRequest (PullRequest!): PullRequest referenced by event.requestedReviewer (RequestedReviewer): Identifies the reviewer whose review was requested.An edge in a connection.
ReviewRequestEdgecursor (String!): A cursor for use in pagination.node (ReviewRequest): The item at the end of the edge.Represents an review_request_removed event on a given pull request.
Implements: Node
ReviewRequestRemovedEventactor (Actor): Identifies the actor who performed the event.createdAt (DateTime!): Identifies the date and time when the object was created.id (ID!): The Node ID of the ReviewRequestRemovedEvent object.pullRequest (PullRequest!): PullRequest referenced by event.requestedReviewer (RequestedReviewer): Identifies the reviewer whose review request was removed.A hovercard context with a message describing the current code review state of the pull
request.
Implements: HovercardContext
ReviewStatusHovercardContextmessage (String!): A string describing this context.octicon (String!): An octicon to accompany this context.reviewDecision (PullRequestReviewDecision): The current status of the pull request with respect to code review.Submits a pending pull request review.
submitPullRequestReviewinput (SubmitPullRequestReviewInput!):submitPullRequestReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The submitted pull request review.Autogenerated input type of SubmitPullRequestReview.
SubmitPullRequestReviewInputbody (String): The text field to set on the Pull Request Review.clientMutationId (String): A unique identifier for the client performing the mutation.event (PullRequestReviewEvent!): The event to send to the Pull Request Review.pullRequestId (ID): The Pull Request ID to submit any pending reviews.pullRequestReviewId (ID): The Pull Request Review ID to submit.A suggestion to review a pull request based on a user's commit history and review comments.
SuggestedReviewerisAuthor (Boolean!): Is this suggestion based on past commits?.isCommenter (Boolean!): Is this suggestion based on past review comments?.reviewer (User!): Identifies the user suggested to review the pull request.A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
SuggestedReviewerActorisAuthor (Boolean!): Is this suggestion based on past commits?.isCommenter (Boolean!): Is this suggestion based on past review comments?.reviewer (Actor!): Identifies the actor suggested to review the pull request.A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.
SuggestedReviewerActorConnectionedges ([SuggestedReviewerActorEdge]): A list of edges.nodes ([SuggestedReviewerActor]): A list of nodes.pageInfo (PageInfo!): Information to aid in pagination.totalCount (Int!): Identifies the total count of items in the connection.An edge in a connection.
SuggestedReviewerActorEdgecursor (String!): A cursor for use in pagination.node (SuggestedReviewerActor): The item at the end of the edge.Unarchive a pull request. Removes the archived flag from the pull request.
Does not automatically reopen or unlock the pull request. Users with the
triage role or higher can unarchive pull requests.
unarchivePullRequestinput (UnarchivePullRequestInput!):unarchivePullRequestclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The pull request that was unarchived.Autogenerated input type of UnarchivePullRequest.
UnarchivePullRequestInputclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestId (ID!): The Node ID of the pull request to unarchive.Unmark a pull request file as viewed.
unmarkFileAsViewedinput (UnmarkFileAsViewedInput!):unmarkFileAsViewedclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The updated pull request.Autogenerated input type of UnmarkFileAsViewed.
UnmarkFileAsViewedInputclientMutationId (String): A unique identifier for the client performing the mutation.path (String!): The path of the file to mark as unviewed.pullRequestId (ID!): The Node ID of the pull request.Marks a review thread as unresolved.
unresolveReviewThreadinput (UnresolveReviewThreadInput!):unresolveReviewThreadclientMutationId (String): A unique identifier for the client performing the mutation.thread (PullRequestReviewThread): The thread to resolve.Autogenerated input type of UnresolveReviewThread.
UnresolveReviewThreadInputclientMutationId (String): A unique identifier for the client performing the mutation.threadId (ID!): The ID of the thread to unresolve.Update a pull request.
updatePullRequestinput (UpdatePullRequestInput!):updatePullRequestactor (Actor): Identifies the actor who performed the event.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The updated pull request.Merge or Rebase HEAD from upstream branch into pull request branch.
updatePullRequestBranchinput (UpdatePullRequestBranchInput!):updatePullRequestBranchclientMutationId (String): A unique identifier for the client performing the mutation.pullRequest (PullRequest): The updated pull request.Autogenerated input type of UpdatePullRequestBranch.
UpdatePullRequestBranchInputclientMutationId (String): A unique identifier for the client performing the mutation.expectedHeadOid (GitObjectID): The head ref oid for the upstream branch.pullRequestId (ID!): The Node ID of the pull request.updateMethod (PullRequestBranchUpdateMethod): The update branch method to use. If omitted, defaults to 'MERGE'.Autogenerated input type of UpdatePullRequest.
UpdatePullRequestInputassigneeIds ([ID!]): An array of Node IDs of users for this pull request.baseRefName (String): The name of the branch you want your changes pulled into. This should be an existing branchbody (String): The contents of the pull request.clientMutationId (String): A unique identifier for the client performing the mutation.labelIds ([ID!]): An array of Node IDs of labels for this pull request.maintainerCanModify (Boolean): Indicates whether maintainers can modify the pull request.milestoneId (ID): The Node ID of the milestone for this pull request.projectIds ([ID!]): An array of Node IDs for projects associated with this pull request.pullRequestId (ID!): The Node ID of the pull request.state (PullRequestUpdateState): The target state of the pull request.title (String): The title of the pull request.Updates the body of a pull request review.
updatePullRequestReviewinput (UpdatePullRequestReviewInput!):updatePullRequestReviewclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReview (PullRequestReview): The updated pull request review.Updates a pull request review comment.
updatePullRequestReviewCommentinput (UpdatePullRequestReviewCommentInput!):updatePullRequestReviewCommentclientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReviewComment (PullRequestReviewComment): The updated comment.Autogenerated input type of UpdatePullRequestReviewComment.
UpdatePullRequestReviewCommentInputbody (String!): The text of the comment.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReviewCommentId (ID!): The Node ID of the comment to modify.Autogenerated input type of UpdatePullRequestReview.
UpdatePullRequestReviewInputbody (String!): The contents of the pull request review body.clientMutationId (String): A unique identifier for the client performing the mutation.pullRequestReviewId (ID!): The Node ID of the pull request review to modify.Updates team review assignment.
updateTeamReviewAssignmentinput (UpdateTeamReviewAssignmentInput!):updateTeamReviewAssignmentclientMutationId (String): A unique identifier for the client performing the mutation.team (Team): The team that was modified.Autogenerated input type of UpdateTeamReviewAssignment.
UpdateTeamReviewAssignmentInputalgorithm (TeamReviewAssignmentAlgorithm): The algorithm to use for review assignment.clientMutationId (String): A unique identifier for the client performing the mutation.countMembersAlreadyRequested (Boolean): Count any members whose review has already been requested against the required number of members assigned to review.enabled (Boolean!): Turn on or off review assignment.excludedTeamMemberIds ([ID!]): An array of team member IDs to exclude.id (ID!): The Node ID of the team to update review assignments of.includeChildTeamMembers (Boolean): Include the members of any child teams when assigning.notifyTeam (Boolean): Notify the entire team of the PR if it is delegated.removeTeamRequest (Boolean): Remove the team review request when assigning.teamMemberCount (Int): The number of team members to assign.