Skip to content

Commit

Permalink
feat: PullRequest#{isInMergeQueue,mergeQueue} (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Jan 30, 2024
1 parent 1b3c7a8 commit a868665
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17452,6 +17452,8 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
isCrossRepository: Scalars['Boolean']['output'];
/** Identifies if the pull request is a draft. */
isDraft: Scalars['Boolean']['output'];
/** Indicates whether the pull request is in a merge queue */
isInMergeQueue: Scalars['Boolean']['output'];
/** Is this pull request read by the viewer */
isReadByViewer?: Maybe<Scalars['Boolean']['output']>;
/** A list of labels associated with the object. */
Expand All @@ -17468,6 +17470,8 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
maintainerCanModify: Scalars['Boolean']['output'];
/** The commit that was created when this pull request was merged. */
mergeCommit?: Maybe<Commit>;
/** The merge queue for the pull request's base branch */
mergeQueue?: Maybe<MergeQueue>;
/** The merge queue entry of the pull request in the base branch's merge queue */
mergeQueueEntry?: Maybe<MergeQueueEntry>;
/** Whether or not the pull request can be merged based on the existence of merge conflicts. */
Expand Down
10 changes: 10 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -34394,6 +34394,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
isDraft: Boolean!

"""
Indicates whether the pull request is in a merge queue
"""
isInMergeQueue: Boolean!

"""
Is this pull request read by the viewer
"""
Expand Down Expand Up @@ -34504,6 +34509,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
mergeCommit: Commit

"""
The merge queue for the pull request's base branch
"""
mergeQueue: MergeQueue

"""
The merge queue entry of the pull request in the base branch's merge queue
"""
Expand Down
28 changes: 28 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -89594,6 +89594,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isInMergeQueue",
"description": "Indicates whether the pull request is in a merge queue",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isReadByViewer",
"description": "Is this pull request read by the viewer",
Expand Down Expand Up @@ -89841,6 +89857,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mergeQueue",
"description": "The merge queue for the pull request's base branch",
"args": [],
"type": {
"kind": "OBJECT",
"name": "MergeQueue",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mergeQueueEntry",
"description": "The merge queue entry of the pull request in the base branch's merge queue",
Expand Down

0 comments on commit a868665

Please sign in to comment.