diff --git a/.github/workflows/enterprise-dates.yml b/.github/workflows/enterprise-dates.yml index d638bf8ba351..c81e32b9a36c 100644 --- a/.github/workflows/enterprise-dates.yml +++ b/.github/workflows/enterprise-dates.yml @@ -35,7 +35,7 @@ jobs: - name: Create pull request id: create-pull-request - uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # pin @v7.0.3 + uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # pin @v7.0.9 env: # Disable pre-commit hooks; they don't play nicely here HUSKY: '0' diff --git a/.github/workflows/sync-graphql.yml b/.github/workflows/sync-graphql.yml index 483158197700..e5c0f55a1914 100644 --- a/.github/workflows/sync-graphql.yml +++ b/.github/workflows/sync-graphql.yml @@ -33,7 +33,7 @@ jobs: run: npm run sync-graphql - name: Create pull request id: create-pull-request - uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # pin @v7.0.3 + uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # pin @v7.0.9 env: # Disable pre-commit hooks; they don't play nicely here HUSKY: '0' diff --git a/data/release-notes/enterprise-server/3-14/20.yml b/data/release-notes/enterprise-server/3-14/20.yml index fdebea21629a..334303848c59 100644 --- a/data/release-notes/enterprise-server/3-14/20.yml +++ b/data/release-notes/enterprise-server/3-14/20.yml @@ -13,7 +13,7 @@ sections: - | On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instance's proxy. - | - New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. + New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. - | An "Invite member" button intended only for GitHub.com was displayed on the enterprise "People" tab. - | @@ -22,7 +22,7 @@ sections: When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica. changes: - | - A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. + A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. - | Administrators can add security key-backed (SK) SSH certificate authorities. - | diff --git a/data/release-notes/enterprise-server/3-15/14.yml b/data/release-notes/enterprise-server/3-15/14.yml index 9c22b1222e15..bea0d224a7c4 100644 --- a/data/release-notes/enterprise-server/3-15/14.yml +++ b/data/release-notes/enterprise-server/3-15/14.yml @@ -26,7 +26,7 @@ sections: On instances where GitHub Actions workflows require approval to run on pull requests from forked repositories, workflows remained queued indefinitely after users clicked "Approve and run". changes: - | - Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. + Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. known_issues: - | Custom firewall rules are removed during the upgrade process. diff --git a/data/release-notes/enterprise-server/3-15/15.yml b/data/release-notes/enterprise-server/3-15/15.yml index a7f68aec059c..ae7b24804e24 100644 --- a/data/release-notes/enterprise-server/3-15/15.yml +++ b/data/release-notes/enterprise-server/3-15/15.yml @@ -13,7 +13,7 @@ sections: - | On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy. - | - New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. + New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. - | Site administrators using the Management Console would see overly verbose error messages on the maintenance page. These error messages were not cleared when a new request was made, and no message was displayed when maintenance mode changes were saved successfully. - | @@ -26,7 +26,7 @@ sections: When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica. changes: - | - A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. + A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. - | Administrators can add security key-backed (SK) SSH certificate authorities. - | diff --git a/data/release-notes/enterprise-server/3-16/10.yml b/data/release-notes/enterprise-server/3-16/10.yml index bec0dbaa5db3..d2723a60d290 100644 --- a/data/release-notes/enterprise-server/3-16/10.yml +++ b/data/release-notes/enterprise-server/3-16/10.yml @@ -38,7 +38,7 @@ sections: The GitHub system user was not always properly set on startup, occasionally surfacing in authentication errors or failed secret scanning jobs in logs. changes: - | - Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. + Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. - | Logging of configuration runs is improved with streamlined logging for different configuration phases. Phase-specific logs are written to both the main log file (`ghe-config.log`) and the console for better visibility. known_issues: diff --git a/data/release-notes/enterprise-server/3-16/11.yml b/data/release-notes/enterprise-server/3-16/11.yml index c5e0b11505c4..2732fe0af220 100644 --- a/data/release-notes/enterprise-server/3-16/11.yml +++ b/data/release-notes/enterprise-server/3-16/11.yml @@ -11,7 +11,7 @@ sections: - | On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy. - | - New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. + New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. - | Site administrators using the Management Console would see overly verbose error messages on the maintenance page. These error messages were not cleared when a new request was made, and no message was displayed when maintenance mode changes were saved successfully. - | @@ -30,7 +30,7 @@ sections: When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica. changes: - | - A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. + A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. - | Administrators can add security key-backed (SK) SSH certificate authorities. known_issues: diff --git a/data/release-notes/enterprise-server/3-17/7.yml b/data/release-notes/enterprise-server/3-17/7.yml index 3c73452160fc..5d3fb0876da0 100644 --- a/data/release-notes/enterprise-server/3-17/7.yml +++ b/data/release-notes/enterprise-server/3-17/7.yml @@ -46,7 +46,7 @@ sections: In rare cases, inconsistent data could lead to a panic in the code scanning service, causing it to restart and become unavailable for a few seconds. This could cause HTTP 500 errors when interacting with the code scanning API or in parts of the UI. changes: - | - Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. + Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. - | Logging of configuration runs is improved with streamlined logging for different configuration phases. Phase-specific logs are written to both the main log file (`ghe-config.log`) and the console for better visibility. known_issues: diff --git a/data/release-notes/enterprise-server/3-17/8.yml b/data/release-notes/enterprise-server/3-17/8.yml index f60aab7168bb..52fec958e650 100644 --- a/data/release-notes/enterprise-server/3-17/8.yml +++ b/data/release-notes/enterprise-server/3-17/8.yml @@ -11,7 +11,7 @@ sections: - | On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy. - | - New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. + New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. - | Site administrators using the Management Console would see overly verbose error messages on the maintenance page. These error messages were not cleared when a new request was made, and no message was displayed when maintenance mode changes were saved successfully. - | @@ -34,7 +34,7 @@ sections: When new Elasticsearch indexes were created, index routing memos could go to a read-only MySQL replica and fail, causing delays in audit log indexing after monthly rollovers. The memos are now written to the primary database rather than a read-only replica. changes: - | - A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. + A new weekly job automatically disables Elasticsearch deprecation logging and removes existing deprecation logs every Saturday at midnight. This helps administrators manage disk space by regularly cleaning up deprecation data streams and log indices that are no longer needed. - | Administrators can add security key-backed (SK) SSH certificate authorities. - | diff --git a/data/release-notes/enterprise-server/3-18/1.yml b/data/release-notes/enterprise-server/3-18/1.yml index d47dbcfa0093..8f01a6d6f4b3 100644 --- a/data/release-notes/enterprise-server/3-18/1.yml +++ b/data/release-notes/enterprise-server/3-18/1.yml @@ -44,7 +44,7 @@ sections: The GitHub system user was not always properly set on startup, occasionally surfacing in authentication errors or failed secret scanning jobs in logs. changes: - | - Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. + Elasticsearch deprecation warnings, which are logged to index files in new versions of Elasticsearch, have been disabled. These warnings provided no value to administrators, and in some cases could block upgrades of instances in high-availability or cluster configurations. - | Logging of configuration runs is improved with streamlined logging for different configuration phases. Phase-specific logs are written to both the main log file (`ghe-config.log`) and the console for better visibility. - | diff --git a/data/release-notes/enterprise-server/3-18/2.yml b/data/release-notes/enterprise-server/3-18/2.yml index be79691220b4..9a8d524a43b0 100644 --- a/data/release-notes/enterprise-server/3-18/2.yml +++ b/data/release-notes/enterprise-server/3-18/2.yml @@ -13,7 +13,7 @@ sections: - | On instances with a "No Proxy" setting configured for GitHub Actions with MinIO or AWS remote blob providers, administrators sometimes experienced failures reading or writing Actions logs, artifacts, or caches because some traffic was incorrectly routed through the instances proxy. - | - New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. + New Microsoft Teams integrations failed to set up because the required `tenant_id` field was missing from the configuration, following Microsoft's deprecation of multi-tenant bot creation. - | Administrators running the `ghe-repl-decommission` script received an error. - | diff --git a/src/graphql/data/ghes-3.19/graphql_upcoming_changes.public-enterprise.yml b/src/graphql/data/ghes-3.19/graphql_upcoming_changes.public-enterprise.yml index 350de99a28e4..28a8ac281f31 100644 --- a/src/graphql/data/ghes-3.19/graphql_upcoming_changes.public-enterprise.yml +++ b/src/graphql/data/ghes-3.19/graphql_upcoming_changes.public-enterprise.yml @@ -1382,14 +1382,12 @@ upcoming_changes: date: '2025-04-01T00:00:00+00:00' criticality: breaking owner: github/memex - - location: SearchType.ISSUE_ADVANCED - description: '`ISSUE_ADVANCED` will be removed.' - reason: - Search for issues and pull requests will be overridden by advanced search - on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. - date: '2025-09-04' + - location: Issue.stateReason.enableDuplicate + description: '`enableDuplicate` will be removed.' + reason: The state reason for duplicate issue is now returned by default. + date: '2025-10-01T00:00:00+00:00' criticality: breaking - owner: github/issues_advanced_search + owner: issues - location: SecurityAdvisory.cvss description: '`cvss` will be removed. New `cvss_severities` field will now contain @@ -1398,6 +1396,26 @@ upcoming_changes: date: '2025-10-01T00:00:00+00:00' criticality: breaking owner: github/advisory-database + - location: SearchType.ISSUE_ADVANCED + description: '`ISSUE_ADVANCED` will be removed.' + reason: + Search for issues and pull requests will be overridden by advanced search + on November 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. + date: '2025-11-04' + criticality: breaking + owner: github/issues_advanced_search + - location: NotificationThread.list + description: '`list` will be removed. Use the `optionalList` field instead.' + reason: Null values are possible for this field. + date: '2026-01-01T00:00:00+00:00' + criticality: breaking + owner: github/notifications + - location: NotificationThread.subject + description: '`subject` will be removed. Use the `optionalSubject` field instead.' + reason: Null values are possible for this field. + date: '2026-01-01T00:00:00+00:00' + criticality: breaking + owner: github/notifications - location: AuditEntry.action description: '`action` will be removed.' reason: The GraphQL audit-log is deprecated. Please use the REST API instead. diff --git a/src/graphql/data/ghes-3.19/schema.docs-enterprise.graphql b/src/graphql/data/ghes-3.19/schema.docs-enterprise.graphql index af8fdb48374b..956396362d12 100644 --- a/src/graphql/data/ghes-3.19/schema.docs-enterprise.graphql +++ b/src/graphql/data/ghes-3.19/schema.docs-enterprise.graphql @@ -273,6 +273,46 @@ type AddAssigneesToAssignablePayload { clientMutationId: String } +""" +Autogenerated input type of AddBlockedBy +""" +input AddBlockedByInput { + """ + The ID of the issue that blocks the given issue. + """ + blockingIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue to be blocked. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of AddBlockedBy. +""" +type AddBlockedByPayload { + """ + The issue that is blocking the given issue. + """ + blockingIssue: Issue + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue that is blocked. + """ + issue: Issue +} + """ Autogenerated input type of AddComment """ @@ -2265,6 +2305,106 @@ type Blob implements GitObject & Node { text: String } +""" +Represents a 'blocked_by_added' event on a given issue. +""" +type BlockedByAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + The blocking issue that was added. + """ + blockingIssue: Issue + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the BlockedByAddedEvent object + """ + id: ID! +} + +""" +Represents a 'blocked_by_removed' event on a given issue. +""" +type BlockedByRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + The blocking issue that was removed. + """ + blockingIssue: Issue + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the BlockedByRemovedEvent object + """ + id: ID! +} + +""" +Represents a 'blocking_added' event on a given issue. +""" +type BlockingAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + The blocked issue that was added. + """ + blockedIssue: Issue + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the BlockingAddedEvent object + """ + id: ID! +} + +""" +Represents a 'blocking_removed' event on a given issue. +""" +type BlockingRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + The blocked issue that was removed. + """ + blockedIssue: Issue + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the BlockingRemovedEvent object + """ + id: ID! +} + """ A special type of user which takes actions on behalf of GitHub Apps. """ @@ -2315,11 +2455,6 @@ type Bot implements Actor & Node & UniformResourceLocatable { url: URI! } -""" -Used when either Bot or User are accepted. -""" -union BotOrUser = Bot | User - """ Types which can be actors for `BranchActorAllowance` objects. """ @@ -5478,6 +5613,11 @@ type CommitComment implements Comment & Deletable & Minimizable & Node & Reactab """ viewerCanReact: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -6233,7 +6373,8 @@ input ContributionOrder { } """ -A contributions collection aggregates contributions such as opened issues and commits created by a user. +A collection of contributions made by a user, including opened issues, commits, and pull requests. +Contributions in private and internal repositories are only included with the optional read:user scope. """ type ContributionsCollection { """ @@ -6873,6 +7014,36 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. +""" +type CopilotCodeReviewParameters { + """ + Copilot automatically reviews draft pull requests before they are marked as ready for review. + """ + reviewDraftPullRequests: Boolean! + + """ + Copilot automatically reviews each new push to the pull request. + """ + reviewOnPush: Boolean! +} + +""" +Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. +""" +input CopilotCodeReviewParametersInput { + """ + Copilot automatically reviews draft pull requests before they are marked as ready for review. + """ + reviewDraftPullRequests: Boolean + + """ + Copilot automatically reviews each new push to the pull request. + """ + reviewOnPush: Boolean +} + """ Copilot endpoint information """ @@ -11172,7 +11343,7 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable answerChosenBy: Actor """ - The actor who authored the comment. + The actor who authored the discussion. """ author: Actor @@ -11833,6 +12004,11 @@ type DiscussionComment implements Comment & Deletable & Minimizable & Node & Rea """ viewerCanUnmarkAsAnswer: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -16489,6 +16665,11 @@ type GistComment implements Comment & Deletable & Minimizable & Node & Updatable """ viewerCanMinimize: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -17536,6 +17717,66 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ authorAssociation: CommentAuthorAssociation! + """ + A list of issues that are blocking this issue. + """ + blockedBy( + """ + 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 + + """ + Ordering options for dependencies + """ + orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC} + ): IssueConnection! + + """ + A list of issues that this issue is blocking. + """ + blocking( + """ + 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 + + """ + Ordering options for dependencies + """ + orderBy: IssueDependencyOrder = {field: DEPENDENCY_ADDED_AT, direction: DESC} + ): IssueConnection! + """ Identifies the body of the issue. """ @@ -17701,6 +17942,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ isReadByViewer: Boolean + """ + Summary of the state of an issue's dependencies + """ + issueDependenciesSummary: IssueDependenciesSummary! + """ The issue type for this Issue """ @@ -17990,6 +18236,10 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & stateReason( """ Whether or not to return state reason for duplicates + + **Upcoming Change on 2025-10-01 UTC** + **Description:** `enableDuplicate` will be removed. + **Reason:** The state reason for duplicate issue is now returned by default. """ enableDuplicate: Boolean = false ): IssueStateReason @@ -18195,6 +18445,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ viewerCanReopen: Boolean! + """ + Check if the current viewer can set fields on the issue. + """ + viewerCanSetFields: Boolean + """ Check if the viewer is able to change their subscription status for the repository. """ @@ -18448,6 +18703,11 @@ type IssueComment implements Comment & Deletable & Minimizable & Node & Reactabl """ viewerCanReact: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -18594,6 +18854,51 @@ type IssueContributionsByRepository { repository: Repository! } +""" +Summary of the state of an issue's dependencies +""" +type IssueDependenciesSummary { + """ + Count of issues this issue is blocked by + """ + blockedBy: Int! + + """ + Count of issues this issue is blocking + """ + blocking: Int! +} + +""" +Ordering options issue dependencies +""" +input IssueDependencyOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order issue dependencies by. + """ + field: IssueDependencyOrderField! +} + +""" +Properties by which issue dependencies can be ordered. +""" +enum IssueDependencyOrderField { + """ + Order issue dependencies by the creation time of the dependent issue + """ + CREATED_AT + + """ + Order issue dependencies by time of when the dependency relationship was added + """ + DEPENDENCY_ADDED_AT +} + """ An edge in a connection. """ @@ -18734,8 +19039,7 @@ enum IssueStateReason { COMPLETED """ - An issue that has been closed as a duplicate. To retrieve this value, set - `(enableDuplicate: true)` when querying the stateReason field. + An issue that has been closed as a duplicate. """ DUPLICATE @@ -18910,6 +19214,10 @@ An item in an issue timeline union IssueTimelineItems = AddedToProjectEvent | AssignedEvent + | BlockedByAddedEvent + | BlockedByRemovedEvent + | BlockingAddedEvent + | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent @@ -19016,6 +19324,26 @@ enum IssueTimelineItemsItemType { """ ASSIGNED_EVENT + """ + Represents a 'blocked_by_added' event on a given issue. + """ + BLOCKED_BY_ADDED_EVENT + + """ + Represents a 'blocked_by_removed' event on a given issue. + """ + BLOCKED_BY_REMOVED_EVENT + + """ + Represents a 'blocking_added' event on a given issue. + """ + BLOCKING_ADDED_EVENT + + """ + Represents a 'blocking_removed' event on a given issue. + """ + BLOCKING_REMOVED_EVENT + """ Represents a 'closed' event on any `Closable`. """ @@ -20314,6 +20642,11 @@ type Mannequin implements Actor & Node & UniformResourceLocatable { """ login: String! + """ + The display name of the imported mannequin. + """ + name: String + """ The HTML path to this resource. """ @@ -22305,6 +22638,11 @@ interface Minimizable { Check if the current viewer can minimize this object. """ viewerCanMinimize: Boolean! + + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! } """ @@ -22532,6 +22870,16 @@ type Mutation { input: AddAssigneesToAssignableInput! ): AddAssigneesToAssignablePayload + """ + Adds a 'blocked by' relationship to an issue. + """ + addBlockedBy( + """ + Parameters for AddBlockedBy + """ + input: AddBlockedByInput! + ): AddBlockedByPayload + """ Adds a comment to an Issue or Pull Request. """ @@ -23806,6 +24154,16 @@ type Mutation { input: RemoveAssigneesFromAssignableInput! ): RemoveAssigneesFromAssignablePayload + """ + Removes a 'blocked by' relationship from an issue. + """ + removeBlockedBy( + """ + Parameters for RemoveBlockedBy + """ + input: RemoveBlockedByInput! + ): RemoveBlockedByPayload + """ Removes an administrator from the enterprise. """ @@ -39004,7 +39362,7 @@ type PullRequestParameters { allowedMergeMethods: [PullRequestAllowedMergeMethods!] """ - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. """ automaticCopilotCodeReviewEnabled: Boolean! @@ -39045,7 +39403,7 @@ input PullRequestParametersInput { allowedMergeMethods: [PullRequestAllowedMergeMethods!] """ - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. """ automaticCopilotCodeReviewEnabled: Boolean @@ -39339,6 +39697,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea """ viewerCanReact: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -39633,6 +39996,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ viewerCanReact: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + """ Check if the current viewer can update this object. """ @@ -40308,6 +40676,10 @@ union PullRequestTimelineItems = | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent + | BlockedByAddedEvent + | BlockedByRemovedEvent + | BlockingAddedEvent + | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent @@ -40481,6 +40853,26 @@ enum PullRequestTimelineItemsItemType { """ BASE_REF_FORCE_PUSHED_EVENT + """ + Represents a 'blocked_by_added' event on a given issue. + """ + BLOCKED_BY_ADDED_EVENT + + """ + Represents a 'blocked_by_removed' event on a given issue. + """ + BLOCKED_BY_REMOVED_EVENT + + """ + Represents a 'blocking_added' event on a given issue. + """ + BLOCKING_ADDED_EVENT + + """ + Represents a 'blocking_removed' event on a given issue. + """ + BLOCKING_REMOVED_EVENT + """ Represents a 'closed' event on any `Closable`. """ @@ -42159,6 +42551,11 @@ type Release implements Node & Reactable & UniformResourceLocatable { """ id: ID! + """ + Whether or not the release is immutable + """ + immutable: Boolean! + """ Whether or not the release is a draft """ @@ -42540,6 +42937,46 @@ type RemoveAssigneesFromAssignablePayload { clientMutationId: String } +""" +Autogenerated input type of RemoveBlockedBy +""" +input RemoveBlockedByInput { + """ + The ID of the blocking issue. + """ + blockingIssueId: ID! @possibleTypes(concreteTypes: ["Issue"]) + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the blocked issue. + """ + issueId: ID! @possibleTypes(concreteTypes: ["Issue"]) +} + +""" +Autogenerated return type of RemoveBlockedBy. +""" +type RemoveBlockedByPayload { + """ + The previously blocking issue. + """ + blockingIssue: Issue + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The previously blocked issue. + """ + issue: Issue +} + """ Autogenerated input type of RemoveEnterpriseAdmin """ @@ -48244,6 +48681,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent reason: "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." ) + """ + Indicates whether the current user can see issue fields in this repository + """ + viewerCanSeeIssueFields: Boolean! + """ Check if the viewer is able to change their subscription status for the repository. """ @@ -49701,6 +50143,11 @@ enum RepositoryRuleType { """ COMMIT_MESSAGE_PATTERN + """ + Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. + """ + COPILOT_CODE_REVIEW + """ Only allow users with bypass permission to create matching refs. """ @@ -49990,6 +50437,11 @@ enum RepositoryRulesetBypassActorBypassMode { """ ALWAYS + """ + The actor is exempt from rules without generating a pass / fail result + """ + EXEMPT + """ The actor can only bypass rules via a pull request """ @@ -50784,6 +51236,11 @@ type ReprioritizeSubIssuePayload { Autogenerated input type of RequestReviews """ input RequestReviewsInput { + """ + The Node IDs of the bot to request. + """ + botIds: [ID!] @possibleTypes(concreteTypes: ["Bot"]) + """ A unique identifier for the client performing the mutation. """ @@ -50807,7 +51264,7 @@ input RequestReviewsInput { """ The Node IDs of the user to request. """ - userIds: [ID!] @possibleTypes(concreteTypes: ["Bot", "User"]) + userIds: [ID!] @possibleTypes(concreteTypes: ["User"]) } """ @@ -51601,6 +52058,7 @@ union RuleParameters = | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters + | CopilotCodeReviewParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters @@ -51642,6 +52100,11 @@ input RuleParametersInput { """ committerEmailPattern: CommitterEmailPatternParametersInput + """ + Parameters used for the `copilot_code_review` rule type + """ + copilotCodeReview: CopilotCodeReviewParametersInput + """ Parameters used for the `file_extension_restriction` rule type """ @@ -51959,7 +52422,7 @@ enum SearchType { """ ISSUE_ADVANCED @deprecated( - reason: "Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. Removal on 2025-09-04 UTC." + reason: "Search for issues and pull requests will be overridden by advanced search on November 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/. Removal on 2025-11-04 UTC." ) """ @@ -58311,6 +58774,11 @@ input UpdateEnterpriseProfileInput { """ name: String + """ + The security contact email address of the enterprise. + """ + securityContactEmail: String + """ The URL of the enterprise's website. """ diff --git a/src/graphql/data/ghes-3.19/schema.json b/src/graphql/data/ghes-3.19/schema.json index d9ac1bd0e2ba..465bb805cb99 100644 --- a/src/graphql/data/ghes-3.19/schema.json +++ b/src/graphql/data/ghes-3.19/schema.json @@ -766,6 +766,48 @@ } ] }, + { + "name": "addBlockedBy", + "kind": "mutations", + "id": "addblockedby", + "href": "/graphql/reference/mutations#addblockedby", + "description": "

Adds a 'blocked by' relationship to an issue.

", + "inputFields": [ + { + "name": "input", + "type": "AddBlockedByInput!", + "id": "addblockedbyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#addblockedbyinput" + } + ], + "returnFields": [ + { + "name": "blockingIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The issue that is blocking the given issue.

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

A unique identifier for the client performing the mutation.

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

The issue that is blocked.

" + } + ] + }, { "name": "addComment", "kind": "mutations", @@ -5016,6 +5058,48 @@ } ] }, + { + "name": "removeBlockedBy", + "kind": "mutations", + "id": "removeblockedby", + "href": "/graphql/reference/mutations#removeblockedby", + "description": "

Removes a 'blocked by' relationship from an issue.

", + "inputFields": [ + { + "name": "input", + "type": "RemoveBlockedByInput!", + "id": "removeblockedbyinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#removeblockedbyinput" + } + ], + "returnFields": [ + { + "name": "blockingIssue", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue", + "description": "

The previously blocking issue.

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

A unique identifier for the client performing the mutation.

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

The previously blocked issue.

" + } + ] + }, { "name": "removeEnterpriseAdmin", "kind": "mutations", @@ -10148,6 +10232,198 @@ } ] }, + { + "name": "BlockedByAddedEvent", + "kind": "objects", + "id": "blockedbyaddedevent", + "href": "/graphql/reference/objects#blockedbyaddedevent", + "description": "

Represents ablocked_by_addedevent on a given issue.

", + "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": "blockingIssue", + "description": "

The blocking issue that was added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, + { + "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": "id", + "description": "

The Node ID of the BlockedByAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, + { + "name": "BlockedByRemovedEvent", + "kind": "objects", + "id": "blockedbyremovedevent", + "href": "/graphql/reference/objects#blockedbyremovedevent", + "description": "

Represents ablocked_by_removedevent on a given issue.

", + "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": "blockingIssue", + "description": "

The blocking issue that was removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, + { + "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": "id", + "description": "

The Node ID of the BlockedByRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, + { + "name": "BlockingAddedEvent", + "kind": "objects", + "id": "blockingaddedevent", + "href": "/graphql/reference/objects#blockingaddedevent", + "description": "

Represents ablocking_addedevent on a given issue.

", + "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": "blockedIssue", + "description": "

The blocked issue that was added.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, + { + "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": "id", + "description": "

The Node ID of the BlockingAddedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, + { + "name": "BlockingRemovedEvent", + "kind": "objects", + "id": "blockingremovedevent", + "href": "/graphql/reference/objects#blockingremovedevent", + "description": "

Represents ablocking_removedevent on a given issue.

", + "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": "blockedIssue", + "description": "

The blocked issue that was removed.

", + "type": "Issue", + "id": "issue", + "kind": "objects", + "href": "/graphql/reference/objects#issue" + }, + { + "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": "id", + "description": "

The Node ID of the BlockingRemovedEvent object.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id" + } + ] + }, { "name": "Bot", "kind": "objects", @@ -13964,6 +14240,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -14878,7 +15162,7 @@ "kind": "objects", "id": "contributionscollection", "href": "/graphql/reference/objects#contributionscollection", - "description": "

A contributions collection aggregates contributions such as opened issues and commits created by a user.

", + "description": "

A collection of contributions made by a user, including opened issues, commits, and pull requests.\nContributions in private and internal repositories are only included with the optional read:user scope.

", "fields": [ { "name": "commitContributionsByRepository", @@ -15847,6 +16131,31 @@ } ] }, + { + "name": "CopilotCodeReviewParameters", + "kind": "objects", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/objects#copilotcodereviewparameters", + "description": "

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

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

Copilot automatically reviews draft pull requests before they are marked as ready for review.

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

Copilot automatically reviews each new push to the pull request.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "CopilotEndpoints", "kind": "objects", @@ -18556,7 +18865,7 @@ }, { "name": "author", - "description": "

The actor who authored the comment.

", + "description": "

The actor who authored the discussion.

", "type": "Actor", "id": "actor", "kind": "interfaces", @@ -19716,6 +20025,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -26143,6 +26460,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -27181,6 +27506,126 @@ "kind": "enums", "href": "/graphql/reference/enums#commentauthorassociation" }, + { + "name": "blockedBy", + "description": "

A list of issues that are blocking this issue.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "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": "orderBy", + "description": "

Ordering options for dependencies.

", + "type": { + "name": "IssueDependencyOrder", + "id": "issuedependencyorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuedependencyorder" + } + } + ] + }, + { + "name": "blocking", + "description": "

A list of issues that this issue is blocking.

", + "type": "IssueConnection!", + "id": "issueconnection", + "kind": "objects", + "href": "/graphql/reference/objects#issueconnection", + "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": "orderBy", + "description": "

Ordering options for dependencies.

", + "type": { + "name": "IssueDependencyOrder", + "id": "issuedependencyorder", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#issuedependencyorder" + } + } + ] + }, { "name": "body", "description": "

Identifies the body of the issue.

", @@ -27481,6 +27926,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "issueDependenciesSummary", + "description": "

Summary of the state of an issue's dependencies.

", + "type": "IssueDependenciesSummary!", + "id": "issuedependenciessummary", + "kind": "objects", + "href": "/graphql/reference/objects#issuedependenciessummary" + }, { "name": "issueType", "description": "

The issue type for this Issue.

", @@ -28034,7 +28487,7 @@ { "name": "enableDuplicate", "defaultValue": false, - "description": "

Whether or not to return state reason for duplicates.

", + "description": "

Whether or not to return state reason for duplicates

\n

Upcoming Change on 2025-10-01 UTC\nDescription: enableDuplicate will be removed.\nReason: The state reason for duplicate issue is now returned by default.

", "type": { "name": "Boolean", "id": "boolean", @@ -28426,6 +28879,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanSetFields", + "description": "

Check if the current viewer can set fields on the issue.

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

Check if the viewer is able to change their subscription status for the repository.

", @@ -28861,6 +29322,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -29071,6 +29540,31 @@ } ] }, + { + "name": "IssueDependenciesSummary", + "kind": "objects", + "id": "issuedependenciessummary", + "href": "/graphql/reference/objects#issuedependenciessummary", + "description": "

Summary of the state of an issue's dependencies.

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

Count of issues this issue is blocked by.

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

Count of issues this issue is blocking.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" + } + ] + }, { "name": "IssueEdge", "kind": "objects", @@ -30804,6 +31298,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "name", + "description": "

The display name of the imported mannequin.

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

The HTML path to this resource.

", @@ -51985,7 +52487,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "

Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.

", + "description": "

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

", "type": "Boolean!", "id": "boolean", "kind": "scalars", @@ -52536,6 +53038,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -53065,6 +53575,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

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

Check if the current viewer can update this object.

", @@ -55337,6 +55855,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#id" }, + { + "name": "immutable", + "description": "

Whether or not the release is immutable.

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

Whether or not the release is a draft.

", @@ -64120,6 +64646,14 @@ "isDeprecated": true, "deprecationReason": "

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.

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

Indicates whether the current user can see issue fields in this repository.

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

Check if the viewer is able to change their subscription status for the repository.

", @@ -79296,6 +79830,14 @@ "id": "boolean", "kind": "scalars", "href": "/graphql/reference/scalars#boolean" + }, + { + "name": "viewerCanUnminimize", + "description": "

Check if the current viewer can unminimize this object.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" } ] }, @@ -82747,6 +83289,23 @@ } ] }, + { + "name": "IssueDependencyOrderField", + "kind": "enums", + "id": "issuedependencyorderfield", + "href": "/graphql/reference/enums#issuedependencyorderfield", + "description": "

Properties by which issue dependencies can be ordered.

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

Order issue dependencies by the creation time of the dependent issue.

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

Order issue dependencies by time of when the dependency relationship was added.

" + } + ] + }, { "name": "IssueOrderField", "kind": "enums", @@ -82798,7 +83357,7 @@ }, { "name": "DUPLICATE", - "description": "

An issue that has been closed as a duplicate. To retrieve this value, set\n(enableDuplicate: true) when querying the stateReason field.

" + "description": "

An issue that has been closed as a duplicate.

" }, { "name": "NOT_PLANNED", @@ -82825,6 +83384,22 @@ "name": "ASSIGNED_EVENT", "description": "

Represents anassignedevent on any assignable object.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

" @@ -84939,6 +85514,22 @@ "name": "BASE_REF_FORCE_PUSHED_EVENT", "description": "

Represents abase_ref_force_pushedevent on a given pull request.

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

Represents ablocked_by_addedevent on a given issue.

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

Represents ablocked_by_removedevent on a given issue.

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

Represents ablocking_addedevent on a given issue.

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

Represents ablocking_removedevent on a given issue.

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

Represents aclosedevent on any Closable.

" @@ -85683,6 +86274,10 @@ "name": "COMMIT_MESSAGE_PATTERN", "description": "

Commit message pattern.

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

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

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

Only allow users with bypass permission to create matching refs.

" @@ -85792,6 +86387,10 @@ "name": "ALWAYS", "description": "

The actor can always bypass rules.

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

The actor is exempt from rules without generating a pass / fail result.

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

The actor can only bypass rules via a pull request.

" @@ -86778,25 +87377,6 @@ } ] }, - { - "name": "BotOrUser", - "kind": "unions", - "id": "botoruser", - "href": "/graphql/reference/unions#botoruser", - "description": "

Used when either Bot or User are accepted.

", - "possibleTypes": [ - { - "name": "Bot", - "id": "bot", - "href": "/graphql/reference/objects#bot" - }, - { - "name": "User", - "id": "user", - "href": "/graphql/reference/objects#user" - } - ] - }, { "name": "BranchActorAllowanceActor", "kind": "unions", @@ -87142,6 +87722,26 @@ "id": "assignedevent", "href": "/graphql/reference/objects#assignedevent" }, + { + "name": "BlockedByAddedEvent", + "id": "blockedbyaddedevent", + "href": "/graphql/reference/objects#blockedbyaddedevent" + }, + { + "name": "BlockedByRemovedEvent", + "id": "blockedbyremovedevent", + "href": "/graphql/reference/objects#blockedbyremovedevent" + }, + { + "name": "BlockingAddedEvent", + "id": "blockingaddedevent", + "href": "/graphql/reference/objects#blockingaddedevent" + }, + { + "name": "BlockingRemovedEvent", + "id": "blockingremovedevent", + "href": "/graphql/reference/objects#blockingremovedevent" + }, { "name": "ClosedEvent", "id": "closedevent", @@ -88129,6 +88729,26 @@ "id": "baserefforcepushedevent", "href": "/graphql/reference/objects#baserefforcepushedevent" }, + { + "name": "BlockedByAddedEvent", + "id": "blockedbyaddedevent", + "href": "/graphql/reference/objects#blockedbyaddedevent" + }, + { + "name": "BlockedByRemovedEvent", + "id": "blockedbyremovedevent", + "href": "/graphql/reference/objects#blockedbyremovedevent" + }, + { + "name": "BlockingAddedEvent", + "id": "blockingaddedevent", + "href": "/graphql/reference/objects#blockingaddedevent" + }, + { + "name": "BlockingRemovedEvent", + "id": "blockingremovedevent", + "href": "/graphql/reference/objects#blockingremovedevent" + }, { "name": "ClosedEvent", "id": "closedevent", @@ -88572,6 +89192,11 @@ "id": "committeremailpatternparameters", "href": "/graphql/reference/objects#committeremailpatternparameters" }, + { + "name": "CopilotCodeReviewParameters", + "id": "copilotcodereviewparameters", + "href": "/graphql/reference/objects#copilotcodereviewparameters" + }, { "name": "FileExtensionRestrictionParameters", "id": "fileextensionrestrictionparameters", @@ -88872,6 +89497,41 @@ } ] }, + { + "name": "AddBlockedByInput", + "kind": "inputObjects", + "id": "addblockedbyinput", + "href": "/graphql/reference/input-objects#addblockedbyinput", + "description": "

Autogenerated input type of AddBlockedBy.

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

The ID of the issue that blocks the given issue.

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

A unique identifier for the client performing the mutation.

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

The ID of the issue to be blocked.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "AddCommentInput", "kind": "inputObjects", @@ -90995,6 +91655,31 @@ } ] }, + { + "name": "CopilotCodeReviewParametersInput", + "kind": "inputObjects", + "id": "copilotcodereviewparametersinput", + "href": "/graphql/reference/input-objects#copilotcodereviewparametersinput", + "description": "

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

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

Copilot automatically reviews draft pull requests before they are marked as ready for review.

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

Copilot automatically reviews each new push to the pull request.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "CopyProjectV2Input", "kind": "inputObjects", @@ -94532,6 +95217,31 @@ } ] }, + { + "name": "IssueDependencyOrder", + "kind": "inputObjects", + "id": "issuedependencyorder", + "href": "/graphql/reference/input-objects#issuedependencyorder", + "description": "

Ordering options issue dependencies.

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

The ordering direction.

", + "type": "OrderDirection!", + "id": "orderdirection", + "kind": "enums", + "href": "/graphql/reference/enums#orderdirection" + }, + { + "name": "field", + "description": "

The field to order issue dependencies by.

", + "type": "IssueDependencyOrderField!", + "id": "issuedependencyorderfield", + "kind": "enums", + "href": "/graphql/reference/enums#issuedependencyorderfield" + } + ] + }, { "name": "IssueFilters", "kind": "inputObjects", @@ -96093,7 +96803,7 @@ }, { "name": "automaticCopilotCodeReviewEnabled", - "description": "

Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.

", + "description": "

Request Copilot code review for new pull requests automatically if the author has access to Copilot code review.

", "type": "Boolean", "id": "boolean", "kind": "scalars", @@ -96385,6 +97095,41 @@ } ] }, + { + "name": "RemoveBlockedByInput", + "kind": "inputObjects", + "id": "removeblockedbyinput", + "href": "/graphql/reference/input-objects#removeblockedbyinput", + "description": "

Autogenerated input type of RemoveBlockedBy.

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

The ID of the blocking issue.

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

A unique identifier for the client performing the mutation.

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

The ID of the blocked issue.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + } + ] + }, { "name": "RemoveEnterpriseAdminInput", "kind": "inputObjects", @@ -97124,6 +97869,15 @@ "href": "/graphql/reference/input-objects#requestreviewsinput", "description": "

Autogenerated input type of RequestReviews.

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

The Node IDs of the bot to request.

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

A unique identifier for the client performing the mutation.

", @@ -97478,6 +98232,14 @@ "kind": "input-objects", "href": "/graphql/reference/input-objects#committeremailpatternparametersinput" }, + { + "name": "copilotCodeReview", + "description": "

Parameters used for the copilot_code_review rule type.

", + "type": "CopilotCodeReviewParametersInput", + "id": "copilotcodereviewparametersinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#copilotcodereviewparametersinput" + }, { "name": "fileExtensionRestriction", "description": "

Parameters used for the file_extension_restriction rule type.

", @@ -99518,6 +100280,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "securityContactEmail", + "description": "

The security contact email address of the enterprise.

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

The URL of the enterprise's website.

", diff --git a/src/graphql/data/ghes-3.19/upcoming-changes.json b/src/graphql/data/ghes-3.19/upcoming-changes.json index 02b11e466958..ed9dd1791ca8 100644 --- a/src/graphql/data/ghes-3.19/upcoming-changes.json +++ b/src/graphql/data/ghes-3.19/upcoming-changes.json @@ -8873,6 +8873,34 @@ "owner": "audit_logs" } ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + }, + { + "location": "NotificationThread.list", + "description": "

list will be removed. Use the optionalList field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-11-04": [ + { + "location": "SearchType.ISSUE_ADVANCED", + "description": "

ISSUE_ADVANCED will be removed.

", + "reason": "

Search for issues and pull requests will be overridden by advanced search on November 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/.

", + "date": "2025-11-04", + "criticality": "breaking", + "owner": "github/issues_advanced_search" + } + ], "2025-10-01": [ { "location": "SecurityAdvisory.cvss", @@ -8881,16 +8909,14 @@ "date": "2025-10-01", "criticality": "breaking", "owner": "github/advisory-database" - } - ], - "2025-09-04": [ + }, { - "location": "SearchType.ISSUE_ADVANCED", - "description": "

ISSUE_ADVANCED will be removed.

", - "reason": "

Search for issues and pull requests will be overridden by advanced search on September 4, 2025. You can read more about this change on https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/.

", - "date": "2025-09-04", + "location": "Issue.stateReason.enableDuplicate", + "description": "

enableDuplicate will be removed.

", + "reason": "

The state reason for duplicate issue is now returned by default.

", + "date": "2025-10-01", "criticality": "breaking", - "owner": "github/issues_advanced_search" + "owner": "issues" } ], "2025-04-01": [