From d82e604fe32f4516779df2ab4379d55180c82a49 Mon Sep 17 00:00:00 2001 From: Carlos Alarcon Date: Thu, 14 Dec 2023 17:27:50 +0100 Subject: [PATCH 1/3] Add Search based on the custom property section (#47293) Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> --- .../searching-for-repositories.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/search-github/searching-on-github/searching-for-repositories.md b/content/search-github/searching-on-github/searching-for-repositories.md index 18bc217a21..1448f9babf 100644 --- a/content/search-github/searching-on-github/searching-for-repositories.md +++ b/content/search-github/searching-on-github/searching-for-repositories.md @@ -154,6 +154,26 @@ You can filter your search based on the visibility of the repositories. For more | `is:internal` | [**is:internal test**](https://github.com/search?q=is%3Ainternal+test&type=Repositories) matches internal repositories that you can access and contain the word "test".{% endif %} | `is:private` | [**is:private pages**](https://github.com/search?q=is%3Aprivate+pages&type=Repositories) matches private repositories that you can access and contain the word "pages." +{% ifversion repository-properties %} + +## Search based on repository custom property + +{% note %} + +**Note:** Repository properties are in public beta and subject to change. + +{% endnote %} + +You can filter repositories based on custom properties using the `props.` prefixed qualifiers. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)." + +For these qualifiers to work, the search must be limited to a single organization. Otherwise, `props.` qualifiers are ignored. + +| Qualifier | Example +| ------------- | ------------- +| props.PROPERTY:VALUE | [**org:github props.environment:production**](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+props.environment%3Atesting&type=Repositories) matches repositories from the `github` organization that have the custom property `environment` set to `production`. + +{% endif %} + {% ifversion fpt or ghec %} ## Search based on whether a repository is a mirror From 3515c586682ce586343ce6cb09c2ec19d7c274d6 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:32:36 -0500 Subject: [PATCH 2/3] Update audit log event data (#47831) --- src/audit-logs/lib/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index d75c3045f3..fd20776152 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -1,4 +1,4 @@ { "apiOnlyEventsAdditionalDescription": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", - "sha": "8fcac9942f2d261caff9d040f5ebf30242b548da" + "sha": "4dcbff116bbe9842cf8a961260eb7d7f8191c7c4" } \ No newline at end of file From 69f6e9a9a076545c67d9ca027edb762184a8431d Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:34:27 -0500 Subject: [PATCH 3/3] GraphQL schema update (#47832) Co-authored-by: rachmari --- data/graphql/ghae/schema.docs-ghae.graphql | 450 ++++++++++++- src/graphql/data/ghae/schema.json | 729 +++++++++++++++++++++ 2 files changed, 1178 insertions(+), 1 deletion(-) diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 84b8bc03d0..8f5206444a 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -888,6 +888,41 @@ type AddUpvotePayload { subject: Votable } +""" +Represents an 'added_to_merge_queue' event on a given pull request. +""" +type AddedToMergeQueueEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The user who added this Pull Request to the merge queue + """ + enqueuer: User + + """ + The Node ID of the AddedToMergeQueueEvent object + """ + id: ID! + + """ + The merge queue where this pull request was added to. + """ + mergeQueue: MergeQueue + + """ + PullRequest referenced by event. + """ + pullRequest: PullRequest +} + """ Represents a 'added_to_project' event on a given issue or pull request. """ @@ -9755,6 +9790,36 @@ enum DeploymentStatusState { WAITING } +""" +Autogenerated input type of DequeuePullRequest +""" +input DequeuePullRequestInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the pull request to be dequeued. + """ + id: ID! @possibleTypes(concreteTypes: ["PullRequest"]) +} + +""" +Autogenerated return type of DequeuePullRequest +""" +type DequeuePullRequestPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The merge queue entry of the dequeued pull request. + """ + mergeQueueEntry: MergeQueueEntry +} + """ The possible sides of a diff. """ @@ -10912,6 +10977,46 @@ type EnablePullRequestAutoMergePayload { pullRequest: PullRequest } +""" +Autogenerated input type of EnqueuePullRequest +""" +input EnqueuePullRequestInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The expected head OID of the pull request. + """ + expectedHeadOid: GitObjectID + + """ + Add the pull request to the front of the queue. + """ + jump: Boolean + + """ + The ID of the pull request to enqueue. + """ + pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) +} + +""" +Autogenerated return type of EnqueuePullRequest +""" +type EnqueuePullRequestPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The merge queue entry for the enqueued pull request. + """ + mergeQueueEntry: MergeQueueEntry +} + """ An account to manage multiple organizations with consolidated policy and billing. """ @@ -18462,6 +18567,257 @@ type MergePullRequestPayload { pullRequest: PullRequest } +""" +The queue of pull request entries to be merged into a protected branch in a repository. +""" +type MergeQueue implements Node { + """ + The configuration for this merge queue + """ + configuration: MergeQueueConfiguration + + """ + The entries in the queue + """ + entries( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): MergeQueueEntryConnection + + """ + The Node ID of the MergeQueue object + """ + id: ID! + + """ + The estimated time in seconds until a newly added entry would be merged + """ + nextEntryEstimatedTimeToMerge: Int + + """ + The repository this merge queue belongs to + """ + repository: Repository + + """ + The HTTP path for this merge queue + """ + resourcePath: URI! + + """ + The HTTP URL for this merge queue + """ + url: URI! +} + +""" +Configuration for a MergeQueue +""" +type MergeQueueConfiguration { + """ + The amount of time in minutes to wait for a check response before considering it a failure. + """ + checkResponseTimeout: Int + + """ + The maximum number of entries to build at once. + """ + maximumEntriesToBuild: Int + + """ + The maximum number of entries to merge at once. + """ + maximumEntriesToMerge: Int + + """ + The merge method to use for this queue. + """ + mergeMethod: PullRequestMergeMethod + + """ + The strategy to use when merging entries. + """ + mergingStrategy: MergeQueueMergingStrategy + + """ + The minimum number of entries required to merge at once. + """ + minimumEntriesToMerge: Int + + """ + The amount of time in minutes to wait before ignoring the minumum number of + entries in the queue requirement and merging a collection of entries + """ + minimumEntriesToMergeWaitTime: Int +} + +""" +Entries in a MergeQueue +""" +type MergeQueueEntry implements Node { + """ + The base commit for this entry + """ + baseCommit: Commit + + """ + The date and time this entry was added to the merge queue + """ + enqueuedAt: DateTime! + + """ + The actor that enqueued this entry + """ + enqueuer: Actor! + + """ + The estimated time in seconds until this entry will be merged + """ + estimatedTimeToMerge: Int + + """ + The head commit for this entry + """ + headCommit: Commit + + """ + The Node ID of the MergeQueueEntry object + """ + id: ID! + + """ + Whether this pull request should jump the queue + """ + jump: Boolean! + + """ + The merge queue that this entry belongs to + """ + mergeQueue: MergeQueue + + """ + The position of this entry in the queue + """ + position: Int! + + """ + The pull request that will be added to a merge group + """ + pullRequest: PullRequest + + """ + Does this pull request need to be deployed on its own + """ + solo: Boolean! + + """ + The state of this entry in the queue + """ + state: MergeQueueEntryState! +} + +""" +The connection type for MergeQueueEntry. +""" +type MergeQueueEntryConnection { + """ + A list of edges. + """ + edges: [MergeQueueEntryEdge] + + """ + A list of nodes. + """ + nodes: [MergeQueueEntry] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type MergeQueueEntryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: MergeQueueEntry +} + +""" +The possible states for a merge queue entry. +""" +enum MergeQueueEntryState { + """ + The entry is currently waiting for checks to pass. + """ + AWAITING_CHECKS + + """ + The entry is currently locked. + """ + LOCKED + + """ + The entry is currently mergeable. + """ + MERGEABLE + + """ + The entry is currently queued. + """ + QUEUED + + """ + The entry is currently unmergeable. + """ + UNMERGEABLE +} + +""" +The possible merging strategies for a merge queue. +""" +enum MergeQueueMergingStrategy { + """ + Entries only allowed to merge if they are passing. + """ + ALLGREEN + + """ + Failing Entires are allowed to merge if they are with a passing entry. + """ + HEADGREEN +} + """ Detailed status information about a pull request merge. """ @@ -19989,6 +20345,16 @@ type Mutation { input: DeleteUserListInput! ): DeleteUserListPayload + """ + Remove a pull request from the merge queue. + """ + dequeuePullRequest( + """ + Parameters for DequeuePullRequest + """ + input: DequeuePullRequestInput! + ): DequeuePullRequestPayload + """ Disable auto merge on the given pull request """ @@ -20029,6 +20395,16 @@ type Mutation { input: EnablePullRequestAutoMergeInput! ): EnablePullRequestAutoMergePayload + """ + Add a pull request to the merge queue. + """ + enqueuePullRequest( + """ + Parameters for EnqueuePullRequest + """ + input: EnqueuePullRequestInput! + ): EnqueuePullRequestPayload + """ Follow an organization. """ @@ -28356,6 +28732,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ mergeCommit: Commit + """ + The merge queue entry of the pull request in the base branch's merge queue + """ + mergeQueueEntry: MergeQueueEntry + """ Detailed information about the current pull request merge state status. """ @@ -30462,7 +30843,8 @@ type PullRequestTimelineItemEdge { An item in a pull request timeline """ union PullRequestTimelineItems = - AddedToProjectEvent + AddedToMergeQueueEvent + | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent @@ -30503,6 +30885,7 @@ union PullRequestTimelineItems = | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent + | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent @@ -30578,6 +30961,11 @@ type PullRequestTimelineItemsEdge { The possible item types found in a timeline. """ enum PullRequestTimelineItemsItemType { + """ + Represents an 'added_to_merge_queue' event on a given pull request. + """ + ADDED_TO_MERGE_QUEUE_EVENT + """ Represents a 'added_to_project' event on a given issue or pull request. """ @@ -30783,6 +31171,11 @@ enum PullRequestTimelineItemsItemType { """ REFERENCED_EVENT + """ + Represents a 'removed_from_merge_queue' event on a given pull request. + """ + REMOVED_FROM_MERGE_QUEUE_EVENT + """ Represents a 'removed_from_project' event on a given issue or pull request. """ @@ -32809,6 +33202,51 @@ type RemoveUpvotePayload { subject: Votable } +""" +Represents a 'removed_from_merge_queue' event on a given pull request. +""" +type RemovedFromMergeQueueEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the before commit SHA for the 'removed_from_merge_queue' event. + """ + beforeCommit: Commit + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The user who removed this Pull Request from the merge queue + """ + enqueuer: User + + """ + The Node ID of the RemovedFromMergeQueueEvent object + """ + id: ID! + + """ + The merge queue where this pull request was removed from. + """ + mergeQueue: MergeQueue + + """ + PullRequest referenced by event. + """ + pullRequest: PullRequest + + """ + The reason this pull request was removed from the queue. + """ + reason: String +} + """ Represents a 'removed_from_project' event on a given issue or pull request. """ @@ -36233,6 +36671,16 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su """ mergeCommitTitle: MergeCommitTitle! + """ + The merge queue for a specified branch, otherwise the default branch if not provided. + """ + mergeQueue( + """ + The name of the branch to get the merge queue for. Case sensitive. + """ + branch: String + ): MergeQueue + """ Returns a single milestone from the current repository by number. """ diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index c4f43dd125..ebff98b3bf 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -3183,6 +3183,40 @@ } ] }, + { + "name": "dequeuePullRequest", + "kind": "mutations", + "id": "dequeuepullrequest", + "href": "/graphql/reference/mutations#dequeuepullrequest", + "description": "

Remove a pull request from the merge queue.

", + "inputFields": [ + { + "name": "input", + "type": "DequeuePullRequestInput!", + "id": "dequeuepullrequestinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#dequeuepullrequestinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "mergeQueueEntry", + "type": "MergeQueueEntry", + "id": "mergequeueentry", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentry", + "description": "

The merge queue entry of the dequeued pull request.

" + } + ] + }, { "name": "disablePullRequestAutoMerge", "kind": "mutations", @@ -3335,6 +3369,40 @@ } ] }, + { + "name": "enqueuePullRequest", + "kind": "mutations", + "id": "enqueuepullrequest", + "href": "/graphql/reference/mutations#enqueuepullrequest", + "description": "

Add a pull request to the merge queue.

", + "inputFields": [ + { + "name": "input", + "type": "EnqueuePullRequestInput!", + "id": "enqueuepullrequestinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#enqueuepullrequestinput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "mergeQueueEntry", + "type": "MergeQueueEntry", + "id": "mergequeueentry", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentry", + "description": "

The merge queue entry for the enqueued pull request.

" + } + ] + }, { "name": "followOrganization", "kind": "mutations", @@ -7055,6 +7123,70 @@ } ] }, + { + "name": "AddedToMergeQueueEvent", + "kind": "objects", + "id": "addedtomergequeueevent", + "href": "/graphql/reference/objects#addedtomergequeueevent", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "enqueuer", + "description": "

The user who added this Pull Request to the merge queue.

", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "id", + "description": "

The Node ID of the AddedToMergeQueueEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "mergeQueue", + "description": "

The merge queue where this pull request was added to.

", + "type": "MergeQueue", + "id": "mergequeue", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeue" + }, + { + "name": "pullRequest", + "description": "

PullRequest referenced by event.

", + "type": "PullRequest", + "id": "pullrequest", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequest" + } + ] + }, { "name": "AddedToProjectEvent", "kind": "objects", @@ -28003,6 +28135,363 @@ } ] }, + { + "name": "MergeQueue", + "kind": "objects", + "id": "mergequeue", + "href": "/graphql/reference/objects#mergequeue", + "description": "

The queue of pull request entries to be merged into a protected branch in a repository.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "configuration", + "description": "

The configuration for this merge queue.

", + "type": "MergeQueueConfiguration", + "id": "mergequeueconfiguration", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueconfiguration" + }, + { + "name": "entries", + "description": "

The entries in the queue.

", + "type": "MergeQueueEntryConnection", + "id": "mergequeueentryconnection", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentryconnection", + "arguments": [ + { + "name": "after", + "description": "

Returns the elements in the list that come after the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "before", + "description": "

Returns the elements in the list that come before the specified cursor.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + }, + { + "name": "first", + "description": "

Returns the first n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + }, + { + "name": "last", + "description": "

Returns the last n elements from the list.

", + "type": { + "name": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + } + ] + }, + { + "name": "id", + "description": "

The Node ID of the MergeQueue object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "nextEntryEstimatedTimeToMerge", + "description": "

The estimated time in seconds until a newly added entry would be merged.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "repository", + "description": "

The repository this merge queue belongs to.

", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository" + }, + { + "name": "resourcePath", + "description": "

The HTTP path for this merge queue.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + }, + { + "name": "url", + "description": "

The HTTP URL for this merge queue.

", + "type": "URI!", + "id": "uri", + "kind": "scalars", + "href": "/graphql/reference/scalars#uri" + } + ] + }, + { + "name": "MergeQueueConfiguration", + "kind": "objects", + "id": "mergequeueconfiguration", + "href": "/graphql/reference/objects#mergequeueconfiguration", + "description": "

Configuration for a MergeQueue.

", + "fields": [ + { + "name": "checkResponseTimeout", + "description": "

The amount of time in minutes to wait for a check response before considering it a failure.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "maximumEntriesToBuild", + "description": "

The maximum number of entries to build at once.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "maximumEntriesToMerge", + "description": "

The maximum number of entries to merge at once.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "mergeMethod", + "description": "

The merge method to use for this queue.

", + "type": "PullRequestMergeMethod", + "id": "pullrequestmergemethod", + "kind": "enums", + "href": "/graphql/reference/enums#pullrequestmergemethod" + }, + { + "name": "mergingStrategy", + "description": "

The strategy to use when merging entries.

", + "type": "MergeQueueMergingStrategy", + "id": "mergequeuemergingstrategy", + "kind": "enums", + "href": "/graphql/reference/enums#mergequeuemergingstrategy" + }, + { + "name": "minimumEntriesToMerge", + "description": "

The minimum number of entries required to merge at once.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "minimumEntriesToMergeWaitTime", + "description": "

The amount of time in minutes to wait before ignoring the minumum number of\nentries in the queue requirement and merging a collection of entries.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "MergeQueueEntry", + "kind": "objects", + "id": "mergequeueentry", + "href": "/graphql/reference/objects#mergequeueentry", + "description": "

Entries in a MergeQueue.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "baseCommit", + "description": "

The base commit for this entry.

", + "type": "Commit", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "enqueuedAt", + "description": "

The date and time this entry was added to the merge queue.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "enqueuer", + "description": "

The actor that enqueued this entry.

", + "type": "Actor!", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "estimatedTimeToMerge", + "description": "

The estimated time in seconds until this entry will be merged.

", + "type": "Int", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "headCommit", + "description": "

The head commit for this entry.

", + "type": "Commit", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "id", + "description": "

The Node ID of the MergeQueueEntry object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "jump", + "description": "

Whether this pull request should jump the queue.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "mergeQueue", + "description": "

The merge queue that this entry belongs to.

", + "type": "MergeQueue", + "id": "mergequeue", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeue" + }, + { + "name": "position", + "description": "

The position of this entry in the queue.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + }, + { + "name": "pullRequest", + "description": "

The pull request that will be added to a merge group.

", + "type": "PullRequest", + "id": "pullrequest", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequest" + }, + { + "name": "solo", + "description": "

Does this pull request need to be deployed on its own.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "state", + "description": "

The state of this entry in the queue.

", + "type": "MergeQueueEntryState!", + "id": "mergequeueentrystate", + "kind": "enums", + "href": "/graphql/reference/enums#mergequeueentrystate" + } + ] + }, + { + "name": "MergeQueueEntryConnection", + "kind": "objects", + "id": "mergequeueentryconnection", + "href": "/graphql/reference/objects#mergequeueentryconnection", + "description": "

The connection type for MergeQueueEntry.

", + "fields": [ + { + "name": "edges", + "description": "

A list of edges.

", + "type": "[MergeQueueEntryEdge]", + "id": "mergequeueentryedge", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentryedge" + }, + { + "name": "nodes", + "description": "

A list of nodes.

", + "type": "[MergeQueueEntry]", + "id": "mergequeueentry", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentry" + }, + { + "name": "pageInfo", + "description": "

Information to aid in pagination.

", + "type": "PageInfo!", + "id": "pageinfo", + "kind": "objects", + "href": "/graphql/reference/objects#pageinfo" + }, + { + "name": "totalCount", + "description": "

Identifies the total count of items in the connection.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, + { + "name": "MergeQueueEntryEdge", + "kind": "objects", + "id": "mergequeueentryedge", + "href": "/graphql/reference/objects#mergequeueentryedge", + "description": "

An edge in a connection.

", + "fields": [ + { + "name": "cursor", + "description": "

A cursor for use in pagination.

", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "node", + "description": "

The item at the end of the edge.

", + "type": "MergeQueueEntry", + "id": "mergequeueentry", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentry" + } + ] + }, { "name": "MergedEvent", "kind": "objects", @@ -39880,6 +40369,14 @@ "kind": "objects", "href": "/graphql/reference/objects#commit" }, + { + "name": "mergeQueueEntry", + "description": "

The merge queue entry of the pull request in the base branch's merge queue.

", + "type": "MergeQueueEntry", + "id": "mergequeueentry", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeueentry" + }, { "name": "mergeStateStatus", "description": "

Detailed information about the current pull request merge state status.

", @@ -45127,6 +45624,86 @@ } ] }, + { + "name": "RemovedFromMergeQueueEvent", + "kind": "objects", + "id": "removedfrommergequeueevent", + "href": "/graphql/reference/objects#removedfrommergequeueevent", + "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

", + "implements": [ + { + "name": "Node", + "id": "node", + "href": "/graphql/reference/interfaces#node" + } + ], + "fields": [ + { + "name": "actor", + "description": "

Identifies the actor who performed the event.

", + "type": "Actor", + "id": "actor", + "kind": "interfaces", + "href": "/graphql/reference/interfaces#actor" + }, + { + "name": "beforeCommit", + "description": "

Identifies the before commit SHA for theremoved_from_merge_queueevent.

", + "type": "Commit", + "id": "commit", + "kind": "objects", + "href": "/graphql/reference/objects#commit" + }, + { + "name": "createdAt", + "description": "

Identifies the date and time when the object was created.

", + "type": "DateTime!", + "id": "datetime", + "kind": "scalars", + "href": "/graphql/reference/scalars#datetime" + }, + { + "name": "enqueuer", + "description": "

The user who removed this Pull Request from the merge queue.

", + "type": "User", + "id": "user", + "kind": "objects", + "href": "/graphql/reference/objects#user" + }, + { + "name": "id", + "description": "

The Node ID of the RemovedFromMergeQueueEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + }, + { + "name": "mergeQueue", + "description": "

The merge queue where this pull request was removed from.

", + "type": "MergeQueue", + "id": "mergequeue", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeue" + }, + { + "name": "pullRequest", + "description": "

PullRequest referenced by event.

", + "type": "PullRequest", + "id": "pullrequest", + "kind": "objects", + "href": "/graphql/reference/objects#pullrequest" + }, + { + "name": "reason", + "description": "

The reason this pull request was removed from the queue.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "RemovedFromProjectEvent", "kind": "objects", @@ -50992,6 +51569,26 @@ "kind": "enums", "href": "/graphql/reference/enums#mergecommittitle" }, + { + "name": "mergeQueue", + "description": "

The merge queue for a specified branch, otherwise the default branch if not provided.

", + "type": "MergeQueue", + "id": "mergequeue", + "kind": "objects", + "href": "/graphql/reference/objects#mergequeue", + "arguments": [ + { + "name": "branch", + "description": "

The name of the branch to get the merge queue for. Case sensitive.

", + "type": { + "name": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + } + ] + }, { "name": "milestone", "description": "

Returns a single milestone from the current repository by number.

", @@ -69213,6 +69810,52 @@ } ] }, + { + "name": "MergeQueueEntryState", + "kind": "enums", + "id": "mergequeueentrystate", + "href": "/graphql/reference/enums#mergequeueentrystate", + "description": "

The possible states for a merge queue entry.

", + "values": [ + { + "name": "AWAITING_CHECKS", + "description": "

The entry is currently waiting for checks to pass.

" + }, + { + "name": "LOCKED", + "description": "

The entry is currently locked.

" + }, + { + "name": "MERGEABLE", + "description": "

The entry is currently mergeable.

" + }, + { + "name": "QUEUED", + "description": "

The entry is currently queued.

" + }, + { + "name": "UNMERGEABLE", + "description": "

The entry is currently unmergeable.

" + } + ] + }, + { + "name": "MergeQueueMergingStrategy", + "kind": "enums", + "id": "mergequeuemergingstrategy", + "href": "/graphql/reference/enums#mergequeuemergingstrategy", + "description": "

The possible merging strategies for a merge queue.

", + "values": [ + { + "name": "ALLGREEN", + "description": "

Entries only allowed to merge if they are passing.

" + }, + { + "name": "HEADGREEN", + "description": "

Failing Entires are allowed to merge if they are with a passing entry.

" + } + ] + }, { "name": "MergeStateStatus", "kind": "enums", @@ -70334,6 +70977,10 @@ "href": "/graphql/reference/enums#pullrequesttimelineitemsitemtype", "description": "

The possible item types found in a timeline.

", "values": [ + { + "name": "ADDED_TO_MERGE_QUEUE_EVENT", + "description": "

Represents anadded_to_merge_queueevent on a given pull request.

" + }, { "name": "ADDED_TO_PROJECT_EVENT", "description": "

Represents aadded_to_projectevent on a given issue or pull request.

" @@ -70498,6 +71145,10 @@ "name": "REFERENCED_EVENT", "description": "

Represents areferencedevent on a given ReferencedSubject.

" }, + { + "name": "REMOVED_FROM_MERGE_QUEUE_EVENT", + "description": "

Represents aremoved_from_merge_queueevent on a given pull request.

" + }, { "name": "REMOVED_FROM_PROJECT_EVENT", "description": "

Represents aremoved_from_projectevent on a given issue or pull request.

" @@ -73161,6 +73812,11 @@ "href": "/graphql/reference/unions#pullrequesttimelineitems", "description": "

An item in a pull request timeline.

", "possibleTypes": [ + { + "name": "AddedToMergeQueueEvent", + "id": "addedtomergequeueevent", + "href": "/graphql/reference/objects#addedtomergequeueevent" + }, { "name": "AddedToProjectEvent", "id": "addedtoprojectevent", @@ -73366,6 +74022,11 @@ "id": "referencedevent", "href": "/graphql/reference/objects#referencedevent" }, + { + "name": "RemovedFromMergeQueueEvent", + "id": "removedfrommergequeueevent", + "href": "/graphql/reference/objects#removedfrommergequeueevent" + }, { "name": "RemovedFromProjectEvent", "id": "removedfromprojectevent", @@ -77719,6 +78380,32 @@ } ] }, + { + "name": "DequeuePullRequestInput", + "kind": "inputObjects", + "id": "dequeuepullrequestinput", + "href": "/graphql/reference/input-objects#dequeuepullrequestinput", + "description": "

Autogenerated input type of DequeuePullRequest.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "id", + "description": "

The ID of the pull request to be dequeued.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "DisablePullRequestAutoMergeInput", "kind": "inputObjects", @@ -77994,6 +78681,48 @@ } ] }, + { + "name": "EnqueuePullRequestInput", + "kind": "inputObjects", + "id": "enqueuepullrequestinput", + "href": "/graphql/reference/input-objects#enqueuepullrequestinput", + "description": "

Autogenerated input type of EnqueuePullRequest.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "expectedHeadOid", + "description": "

The expected head OID of the pull request.

", + "type": "GitObjectID", + "id": "gitobjectid", + "kind": "scalars", + "href": "/graphql/reference/scalars#gitobjectid" + }, + { + "name": "jump", + "description": "

Add the pull request to the front of the queue.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "pullRequestId", + "description": "

The ID of the pull request to enqueue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "EnterpriseAdministratorInvitationOrder", "kind": "inputObjects",