Skip to content

Commit

Permalink
feat: PullRequest#isMergeQueueEnabled (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Jan 31, 2024
1 parent cc387f6 commit 6574eec
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> =
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
ID: { input: string | number; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Expand Down Expand Up @@ -17471,6 +17471,8 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
isDraft: Scalars['Boolean']['output'];
/** Indicates whether the pull request is in a merge queue */
isInMergeQueue: Scalars['Boolean']['output'];
/** Indicates whether the pull request's base ref has a merge queue enabled. */
isMergeQueueEnabled: 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 Down
5 changes: 5 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -34429,6 +34429,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
isInMergeQueue: Boolean!

"""
Indicates whether the pull request's base ref has a merge queue enabled.
"""
isMergeQueueEnabled: Boolean!

"""
Is this pull request read by the viewer
"""
Expand Down
16 changes: 16 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -89708,6 +89708,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "isMergeQueueEnabled",
"description": "Indicates whether the pull request's base ref has a merge queue enabled.",
"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

0 comments on commit 6574eec

Please sign in to comment.