diff --git a/schema.d.ts b/schema.d.ts index e155e1bb2..a72489537 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -9188,6 +9188,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ closedAt?: Maybe; + /** List of open pull requests referenced from this issue */ + closedByPullRequestsReferences?: Maybe; /** A list of comments associated with the Issue. */ comments: IssueCommentConnection; /** Identifies the date and time when the object was created. */ @@ -9303,6 +9305,18 @@ export type IssueAssigneesArgs = { }; +/** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ +export type IssueClosedByPullRequestsReferencesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + includeClosedPrs?: InputMaybe; + last?: InputMaybe; + orderByState?: InputMaybe; + userLinkedOnly?: InputMaybe; +}; + + /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueCommentsArgs = { after?: InputMaybe; diff --git a/schema.graphql b/schema.graphql index bfa19f04d..3e450318b 100644 --- a/schema.graphql +++ b/schema.graphql @@ -175,6 +175,46 @@ type AcceptTopicSuggestionPayload { topic: Topic @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") } +""" +Autogenerated input type of AccessUserNamespaceRepository +""" +input AccessUserNamespaceRepositoryInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise owning the user namespace repository. + """ + enterpriseId: ID! + + """ + The ID of the user namespace repository to access. + """ + repositoryId: ID! +} + +""" +Autogenerated return type of AccessUserNamespaceRepository. +""" +type AccessUserNamespaceRepositoryPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The time that repository access expires at + """ + expiresAt: DateTime + + """ + The repository that is temporarily accessible. + """ + repository: Repository +} + """ Represents an object which can take actions on GitHub. Typically a User or Bot. """ @@ -1026,6 +1066,56 @@ type AddStarPayload { starrable: Starrable } +""" +Autogenerated input type of AddSubIssue +""" +input AddSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! + + """ + Option to replace parent issue if one already exists + """ + replaceParent: Boolean + + """ + The id of the sub-issue. + """ + subIssueId: ID + + """ + The url of the sub-issue. + """ + subIssueUrl: String +} + +""" +Autogenerated return type of AddSubIssue. +""" +type AddSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was added to. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of AddUpvote """ @@ -1166,35 +1256,65 @@ type AddedToProjectEvent implements Node { projectColumnName: String! } +""" +An announcement banner for an enterprise or organization. +""" +type AnnouncementBanner { + """ + The date the announcement was created + """ + createdAt: DateTime! + + """ + The expiration date of the announcement, if any + """ + expiresAt: DateTime + + """ + Whether the announcement can be dismissed by the user + """ + isUserDismissible: Boolean! + + """ + The text of the announcement + """ + message: String +} + """ Represents an announcement banner. """ -interface AnnouncementBanner { +interface AnnouncementBannerI { """ The text of the announcement """ - announcement: String + announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ The date the announcement was created """ - announcementCreatedAt: DateTime + announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ The expiration date of the announcement, if any """ - announcementExpiresAt: DateTime + announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ Whether the announcement can be dismissed by the user """ - announcementUserDismissible: Boolean + announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") } """ A GitHub App. """ type App implements Node { + """ + The client ID of the app. + """ + clientId: String + """ Identifies the date and time when the object was created. """ @@ -4213,6 +4333,11 @@ input CloseIssueInput { """ clientMutationId: String + """ + ID of the issue that this is a duplicate of. + """ + duplicateIssueId: ID + """ ID of the issue to be closed. """ @@ -7561,6 +7686,11 @@ input CreateIssueInput { """ milestoneId: ID + """ + The Node ID of the parent issue to add this new issue to + """ + parentIssueId: ID + """ An array of Node IDs for projects associated with this issue. """ @@ -9092,6 +9222,21 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { willCloseTarget: Boolean! } +""" +The Common Vulnerability Scoring System +""" +type CvssSeverities { + """ + The CVSS v3 severity associated with this advisory + """ + cvssV3: CVSS + + """ + The CVSS v4 severity associated with this advisory + """ + cvssV4: CVSS +} + """ An ISO-8601 encoded date string. """ @@ -10078,6 +10223,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The relationship of the dependency. Can be direct, transitive, or unknown + """ + relationship: String! + """ The repository containing the package """ @@ -10303,6 +10453,11 @@ type DeployKey implements Node { """ createdAt: DateTime! + """ + Whether or not the deploy key is enabled by policy at the Enterprise or Organization level. + """ + enabled: Boolean! + """ The Node ID of the DeployKey object """ @@ -11578,6 +11733,11 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ viewerCanDelete: Boolean! + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! + """ Can user react to this subject """ @@ -12586,6 +12746,21 @@ input DraftPullRequestReviewThread { startSide: DiffSide = RIGHT } +""" +The Exploit Prediction Scoring System +""" +type EPSS { + """ + The EPSS percentage represents the likelihood of a CVE being exploited. + """ + percentage: Float + + """ + The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. + """ + percentile: Float +} + """ Autogenerated input type of EnablePullRequestAutoMerge """ @@ -12694,26 +12869,31 @@ type EnqueuePullRequestPayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements AnnouncementBanner & Node { +type Enterprise implements AnnouncementBannerI & Node { """ The text of the announcement """ - announcement: String + announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") + + """ + The announcement banner set on this enterprise, if any. Only visible to members of the enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ - announcementCreatedAt: DateTime + announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ The expiration date of the announcement, if any """ - announcementExpiresAt: DateTime + announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ Whether the announcement can be dismissed by the user """ - announcementUserDismissible: Boolean + announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ A URL pointing to the enterprise's public avatar. @@ -12792,6 +12972,10 @@ type Enterprise implements AnnouncementBanner & Node { """ Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance. + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead. + **Reason:** `has_two_factor_enabled` will be removed. """ hasTwoFactorEnabled: Boolean = null @@ -12819,6 +13003,12 @@ type Enterprise implements AnnouncementBanner & Node { The role of the user in the enterprise organization or server. """ role: EnterpriseUserAccountMembershipRole + + """ + Only return members with this type of two-factor authentication method. Does + not include members who only have an account on a GitHub Enterprise Server instance. + """ + twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null ): EnterpriseMemberConnection! """ @@ -12887,6 +13077,41 @@ type Enterprise implements AnnouncementBanner & Node { """ resourcePath: URI! + """ + Returns a single ruleset from the current enterprise by ID. + """ + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! + ): RepositoryRuleset + + """ + A list of rulesets for this enterprise. + """ + rulesets( + """ + 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 + ): RepositoryRulesetConnection + """ The URL-friendly identifier for the enterprise. """ @@ -13238,6 +13463,21 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue { WRITE } +""" +The possible values for an enabled/no policy enterprise setting. +""" +enum EnterpriseDisallowedMethodsSettingValue { + """ + The setting prevents insecure 2FA methods from being used by members of the enterprise. + """ + INSECURE + + """ + There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise. + """ + NO_POLICY +} + """ An edge in a connection. """ @@ -13831,6 +14071,10 @@ type EnterpriseOwnerInfo { """ Only return administrators with this two-factor authentication status. + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead. + **Reason:** `has_two_factor_enabled` will be removed. """ hasTwoFactorEnabled: Boolean = null @@ -13858,6 +14102,11 @@ type EnterpriseOwnerInfo { The role to filter by. """ role: EnterpriseAdministratorRole + + """ + Only return outside collaborators with this type of two-factor authentication method. + """ + twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null ): EnterpriseAdministratorConnection! """ @@ -14505,6 +14754,10 @@ type EnterpriseOwnerInfo { """ Only return outside collaborators with this two-factor authentication status. + + **Upcoming Change on 2025-04-01 UTC** + **Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead. + **Reason:** `has_two_factor_enabled` will be removed. """ hasTwoFactorEnabled: Boolean = null @@ -14533,6 +14786,11 @@ type EnterpriseOwnerInfo { """ query: String + """ + Only return outside collaborators with this type of two-factor authentication method. + """ + twoFactorMethodSecurity: TwoFactorCredentialSecurityType = null + """ Only return outside collaborators on repositories with this visibility. """ @@ -14689,6 +14947,46 @@ type EnterpriseOwnerInfo { query: String ): EnterpriseMemberInvitationConnection! + """ + The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise. + """ + repositoryDeployKeySetting: EnterpriseEnabledDisabledSettingValue! + + """ + A list of enterprise organizations configured with the provided deploy keys setting value. + """ + repositoryDeployKeySettingOrganizations( + """ + 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 organizations with this setting. + """ + orderBy: OrganizationOrder = {field: LOGIN, direction: ASC} + + """ + The setting value to find organizations for. + """ + value: Boolean! + ): OrganizationConnection! + """ The setting value for whether repository projects are enabled in this enterprise. """ @@ -14730,7 +15028,12 @@ type EnterpriseOwnerInfo { ): OrganizationConnection! """ - The SAML Identity Provider for the enterprise. + The setting value for what methods of two-factor authentication the enterprise prevents its users from having. + """ + twoFactorDisallowedMethodsSetting: EnterpriseDisallowedMethodsSettingValue! + + """ + The setting value for whether the enterprise requires two-factor authentication for its organizations and users. """ samlIdentityProvider: EnterpriseIdentityProvider @@ -14839,6 +15142,11 @@ type EnterpriseOwnerInfo { value: Boolean! ): OrganizationConnection! + """ + The setting value for what methods of two-factor authentication the enterprise prevents its users from having. + """ + twoFactorDisallowedMethodsSetting: EnterpriseDisallowedMethodsSettingValue! + """ The setting value for whether the enterprise requires two-factor authentication for its organizations and users. """ @@ -16226,8 +16534,7 @@ input FileDeletion { } """ -Prevent commits that include files with specified file extensions from being -pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ type FileExtensionRestrictionParameters { """ @@ -16237,8 +16544,7 @@ type FileExtensionRestrictionParameters { } """ -Prevent commits that include files with specified file extensions from being -pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ input FileExtensionRestrictionParametersInput { """ @@ -16248,8 +16554,7 @@ input FileExtensionRestrictionParametersInput { } """ -Prevent commits that include changes in specified file paths from being pushed -to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ type FilePathRestrictionParameters { """ @@ -16259,8 +16564,7 @@ type FilePathRestrictionParameters { } """ -Prevent commits that include changes in specified file paths from being pushed -to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ input FilePathRestrictionParametersInput { """ @@ -16473,6 +16777,11 @@ enum FundingPlatform { """ POLAR + """ + thanks.dev funding platform. + """ + THANKS_DEV + """ Tidelift funding platform. """ @@ -17196,6 +17505,11 @@ interface GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -17337,6 +17651,11 @@ type GpgSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -17947,6 +18266,46 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ closedAt: DateTime + """ + List of open pull requests referenced from this issue + """ + closedByPullRequestsReferences( + """ + 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 + + """ + Include closed PRs in results + """ + includeClosedPrs: Boolean = false + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Return results ordered by state + """ + orderByState: Boolean = false + + """ + Return only manually linked PRs + """ + userLinkedOnly: Boolean = false + ): PullRequestConnection + """ A list of comments associated with the Issue. """ @@ -18107,6 +18466,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ number: Int! + """ + The parent entity of the issue. + """ + parent: Issue + """ A list of Users that are participating in the Issue conversation. """ @@ -18305,7 +18669,42 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ Identifies the reason for the issue state. """ - stateReason: IssueStateReason + stateReason( + """ + Whether or not to return state reason for duplicates + """ + enableDuplicate: Boolean = false + ): IssueStateReason + + """ + A list of sub-issues associated with the Issue. + """ + subIssues( + """ + 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 + ): IssueConnection! + + """ + Summary of the state of an issue's sub-issues + """ + subIssuesSummary: SubIssuesSummary! """ A list of events, comments, commits, etc. associated with the issue. @@ -18492,6 +18891,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ viewerCanDelete: Boolean! + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! + """ Can user react to this subject """ @@ -18547,6 +18951,11 @@ enum IssueClosedStateReason { """ COMPLETED + """ + An issue that has been closed as a duplicate + """ + DUPLICATE + """ An issue that has been closed as not planned """ @@ -19030,6 +19439,12 @@ enum IssueStateReason { """ COMPLETED + """ + An issue that has been closed as a duplicate. To retrieve this value, set + `(enableDuplicate: true)` when querying the stateReason field. + """ + DUPLICATE + """ An issue that has been closed as not planned """ @@ -19174,7 +19589,7 @@ type IssueTimelineItemEdge { """ An item in an issue timeline """ -union IssueTimelineItems = AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent +union IssueTimelineItems = AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent """ The connection type for IssueTimelineItems. @@ -19320,6 +19735,16 @@ enum IssueTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -19350,6 +19775,16 @@ enum IssueTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -19676,6 +20111,11 @@ interface Labelable { """ orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} ): LabelConnection + + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! } """ @@ -20366,41 +20806,6 @@ type MarkFileAsViewedPayload { pullRequest: PullRequest } -""" -Autogenerated input type of MarkNotificationAsDone -""" -input MarkNotificationAsDoneInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The NotificationThread id. - """ - id: ID! -} - -""" -Autogenerated return type of MarkNotificationAsDone. -""" -type MarkNotificationAsDonePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - Did the operation succeed? - """ - success: Boolean - - """ - The user that the notification belongs to. - """ - viewer: User -} - """ Autogenerated input type of MarkProjectV2AsTemplate """ @@ -20884,8 +21289,7 @@ type MarketplaceListingEdge { } """ -Prevent commits that include file paths that exceed a specified character limit -from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ type MaxFilePathLengthParameters { """ @@ -20895,8 +21299,7 @@ type MaxFilePathLengthParameters { } """ -Prevent commits that include file paths that exceed a specified character limit -from being pushed to the commit graph. NOTE: This rule is in beta and subject to change +Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ input MaxFilePathLengthParametersInput { """ @@ -20906,8 +21309,7 @@ input MaxFilePathLengthParametersInput { } """ -Prevent commits that exceed a specified file size limit from being pushed to the -commit. NOTE: This rule is in beta and subject to change +Prevent commits that exceed a specified file size limit from being pushed to the commit. """ type MaxFileSizeParameters { """ @@ -20917,8 +21319,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the -commit. NOTE: This rule is in beta and subject to change +Prevent commits that exceed a specified file size limit from being pushed to the commit. """ input MaxFileSizeParametersInput { """ @@ -21723,6 +22124,44 @@ enum MergeQueueEntryState { UNMERGEABLE } +""" +When set to ALLGREEN, the merge commit created by merge queue for each PR in the +group must pass all required checks to merge. When set to HEADGREEN, only the +commit at the head of the merge group, i.e. the commit containing changes from +all of the PRs in the group, must pass its required checks to merge. +""" +enum MergeQueueGroupingStrategy { + """ + The merge commit created by merge queue for each PR in the group must pass all required checks to merge + """ + ALLGREEN + + """ + Only the commit at the head of the merge group must pass its required checks to merge. + """ + HEADGREEN +} + +""" +Method to use when merging changes from queued pull requests. +""" +enum MergeQueueMergeMethod { + """ + Merge commit + """ + MERGE + + """ + Rebase and merge + """ + REBASE + + """ + Squash and merge + """ + SQUASH +} + """ The possible merging strategies for a merge queue. """ @@ -21738,6 +22177,100 @@ enum MergeQueueMergingStrategy { HEADGREEN } +""" +Merges must be performed via a merge queue. +""" +type MergeQueueParameters { + """ + Maximum time for a required status check to report a conclusion. After this + much time has elapsed, checks that have not reported a conclusion will be + assumed to have failed + """ + checkResponseTimeoutMinutes: Int! + + """ + When set to ALLGREEN, the merge commit created by merge queue for each PR in + the group must pass all required checks to merge. When set to HEADGREEN, only + the commit at the head of the merge group, i.e. the commit containing changes + from all of the PRs in the group, must pass its required checks to merge. + """ + groupingStrategy: MergeQueueGroupingStrategy! + + """ + Limit the number of queued pull requests requesting checks and workflow runs at the same time. + """ + maxEntriesToBuild: Int! + + """ + The maximum number of PRs that will be merged together in a group. + """ + maxEntriesToMerge: Int! + + """ + Method to use when merging changes from queued pull requests. + """ + mergeMethod: MergeQueueMergeMethod! + + """ + The minimum number of PRs that will be merged together in a group. + """ + minEntriesToMerge: Int! + + """ + The time merge queue should wait after the first PR is added to the queue for + the minimum group size to be met. After this time has elapsed, the minimum + group size will be ignored and a smaller group will be merged. + """ + minEntriesToMergeWaitMinutes: Int! +} + +""" +Merges must be performed via a merge queue. +""" +input MergeQueueParametersInput { + """ + Maximum time for a required status check to report a conclusion. After this + much time has elapsed, checks that have not reported a conclusion will be + assumed to have failed + """ + checkResponseTimeoutMinutes: Int! + + """ + When set to ALLGREEN, the merge commit created by merge queue for each PR in + the group must pass all required checks to merge. When set to HEADGREEN, only + the commit at the head of the merge group, i.e. the commit containing changes + from all of the PRs in the group, must pass its required checks to merge. + """ + groupingStrategy: MergeQueueGroupingStrategy! + + """ + Limit the number of queued pull requests requesting checks and workflow runs at the same time. + """ + maxEntriesToBuild: Int! + + """ + The maximum number of PRs that will be merged together in a group. + """ + maxEntriesToMerge: Int! + + """ + Method to use when merging changes from queued pull requests. + """ + mergeMethod: MergeQueueMergeMethod! + + """ + The minimum number of PRs that will be merged together in a group. + """ + minEntriesToMerge: Int! + + """ + The time merge queue should wait after the first PR is added to the queue for + the minimum group size to be met. After this time has elapsed, the minimum + group size will be ignored and a smaller group will be merged. + """ + minEntriesToMergeWaitMinutes: Int! +} + """ Detailed status information about a pull request merge. """ @@ -22545,6 +23078,16 @@ type Mutation { input: AcceptTopicSuggestionInput! ): AcceptTopicSuggestionPayload + """ + Access user namespace repository for a temporary duration. + """ + accessUserNamespaceRepository( + """ + Parameters for AccessUserNamespaceRepository + """ + input: AccessUserNamespaceRepositoryInput! + ): AccessUserNamespaceRepositoryPayload + """ Adds assignees to an assignable object. """ @@ -22715,6 +23258,16 @@ type Mutation { input: AddStarInput! ): AddStarPayload + """ + Adds a sub-issue to a given issue + """ + addSubIssue( + """ + Parameters for AddSubIssue + """ + input: AddSubIssueInput! + ): AddSubIssuePayload + """ Add an upvote to a discussion or discussion comment. """ @@ -23744,16 +24297,6 @@ type Mutation { input: MarkFileAsViewedInput! ): MarkFileAsViewedPayload - """ - Marks a notification as done - """ - markNotificationAsDone( - """ - Parameters for MarkNotificationAsDone - """ - input: MarkNotificationAsDoneInput! - ): MarkNotificationAsDonePayload - """ Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. """ @@ -23985,6 +24528,16 @@ type Mutation { input: RemoveStarInput! ): RemoveStarPayload + """ + Removes a sub-issue from a given issue + """ + removeSubIssue( + """ + Parameters for RemoveSubIssue + """ + input: RemoveSubIssueInput! + ): RemoveSubIssuePayload + """ Remove an upvote to a discussion or discussion comment. """ @@ -24035,6 +24588,16 @@ type Mutation { input: ReorderEnvironmentInput! ): ReorderEnvironmentPayload + """ + Reprioritizes a sub-issue to a different position in the parent list. + """ + reprioritizeSubIssue( + """ + Parameters for ReprioritizeSubIssue + """ + input: ReprioritizeSubIssueInput! + ): ReprioritizeSubIssuePayload + """ Set review requests on a pull request. """ @@ -24345,16 +24908,6 @@ type Mutation { input: UnresolveReviewThreadInput! ): UnresolveReviewThreadPayload - """ - Unsubscribes from notifications - """ - unsubscribeFromNotifications( - """ - Parameters for UnsubscribeFromNotifications - """ - input: UnsubscribeFromNotificationsInput! - ): UnsubscribeFromNotificationsPayload - """ Update a branch protection rule """ @@ -24435,6 +24988,16 @@ type Mutation { input: UpdateEnterpriseDefaultRepositoryPermissionSettingInput! ): UpdateEnterpriseDefaultRepositoryPermissionSettingPayload + """ + Sets whether deploy keys are allowed to be created and used for an enterprise. + """ + updateEnterpriseDeployKeySetting( + """ + Parameters for UpdateEnterpriseDeployKeySetting + """ + input: UpdateEnterpriseDeployKeySettingInput! + ): UpdateEnterpriseDeployKeySettingPayload + """ Sets whether organization members with admin permissions on a repository can change repository visibility. """ @@ -24565,6 +25128,16 @@ type Mutation { input: UpdateEnterpriseTeamDiscussionsSettingInput! ): UpdateEnterpriseTeamDiscussionsSettingPayload + """ + Sets the two-factor authentication methods that users of an enterprise may not use. + """ + updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting( + """ + Parameters for UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting + """ + input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput! + ): UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload + """ Sets whether two factor authentication is required for all users in an enterprise. """ @@ -24748,6 +25321,16 @@ type Mutation { input: UpdateProjectV2DraftIssueInput! ): UpdateProjectV2DraftIssuePayload + """ + Update a project field. + """ + updateProjectV2Field( + """ + Parameters for UpdateProjectV2Field + """ + input: UpdateProjectV2FieldInput! + ): UpdateProjectV2FieldPayload + """ This mutation updates the value of a field for an item in a Project. Currently only single-select, text, number, date, and iteration fields are supported. @@ -28631,26 +29214,31 @@ type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEnt """ An account on GitHub, with one or more owners, that has repositories, members and teams. """ -type Organization implements Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type Organization implements Actor & AnnouncementBannerI & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ The text of the announcement """ - announcement: String + announcement: String @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") + + """ + The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. + """ + announcementBanner: AnnouncementBanner """ The date the announcement was created """ - announcementCreatedAt: DateTime + announcementCreatedAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ The expiration date of the announcement, if any """ - announcementExpiresAt: DateTime + announcementExpiresAt: DateTime @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ Whether the announcement can be dismissed by the user """ - announcementUserDismissible: Boolean + announcementUserDismissible: Boolean @deprecated(reason: "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC.") """ Determine if this repository owner has any items that can be pinned to their profile. @@ -29571,6 +30159,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod The ID of the ruleset to be returned. """ databaseId: Int! + + """ + Include rulesets configured at higher levels that apply to this organization. + """ + includeParents: Boolean = true ): RepositoryRuleset """ @@ -29601,6 +30194,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod Returns the last _n_ elements from the list. """ last: Int + + """ + Return rulesets that apply to the specified target + """ + targets: [RepositoryRulesetTarget!] = null ): RepositoryRulesetConnection """ @@ -31354,6 +31952,56 @@ type PageInfo { startCursor: String } +""" +Represents a 'parent_issue_added' event on a given issue. +""" +type ParentIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueAddedEvent object + """ + id: ID! + + """ + The parent issue added. + """ + parent: Issue +} + +""" +Represents a 'parent_issue_removed' event on a given issue. +""" +type ParentIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ParentIssueRemovedEvent object + """ + id: ID! + + """ + The parent issue removed. + """ + parent: Issue +} + """ The possible types of patch statuses. """ @@ -33103,7 +33751,7 @@ type ProjectV2 implements Closable & Node & Updatable { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ A field of the project @@ -33145,6 +33793,11 @@ type ProjectV2 implements Closable & Node & Updatable { orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} ): ProjectV2FieldConfigurationConnection! + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ The Node ID of the ProjectV2 object """ @@ -33883,7 +34536,7 @@ type ProjectV2Item implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ The field value of the first project field which matches the 'name' argument that is set on the item. @@ -35198,7 +35851,12 @@ type ProjectV2StatusUpdate implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt """ The Node ID of the ProjectV2StatusUpdate object @@ -35323,7 +35981,7 @@ type ProjectV2View implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ The view's visible fields. @@ -35360,6 +36018,11 @@ type ProjectV2View implements Node { """ filter: String + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ The view's group-by field. """ @@ -35698,13 +36361,18 @@ type ProjectV2Workflow implements Node { """ Identifies the primary key from the database. """ - databaseId: Int + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC.") """ Whether the workflow is enabled. """ enabled: Boolean! + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + """ The Node ID of the ProjectV2Workflow object """ @@ -36084,7 +36752,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab closedAt: DateTime """ - List of issues that were may be closed by this pull request + List of issues that may be closed by this pull request """ closingIssuesReferences( """ @@ -36916,6 +37584,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ viewerCanEnableAutoMerge: Boolean! + """ + Indicates if the viewer can edit labels for this object. + """ + viewerCanLabel: Boolean! + """ Indicates whether the viewer can bypass branch protections and merge the pull request immediately """ @@ -37342,6 +38015,12 @@ enum PullRequestOrderField { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -37372,6 +38051,12 @@ type PullRequestParameters { Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { + """ + When merging pull requests, you can allow any combination of merge commits, + squashing, or rebasing. At least one option must be enabled. + """ + allowedMergeMethods: [String!] + """ New, reviewable commits pushed will dismiss previous pull request review approvals. """ @@ -38575,7 +39260,7 @@ type PullRequestTimelineItemEdge { """ An item in a pull request timeline """ -union PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent +union PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent """ The connection type for PullRequestTimelineItems. @@ -38806,6 +39491,16 @@ enum PullRequestTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT + """ + Represents a 'parent_issue_added' event on a given issue. + """ + PARENT_ISSUE_ADDED_EVENT + + """ + Represents a 'parent_issue_removed' event on a given issue. + """ + PARENT_ISSUE_REMOVED_EVENT + """ Represents a 'pinned' event on a given issue or pull request. """ @@ -38886,6 +39581,16 @@ enum PullRequestTimelineItemsItemType { """ SUBSCRIBED_EVENT + """ + Represents a 'sub_issue_added' event on a given issue. + """ + SUB_ISSUE_ADDED_EVENT + + """ + Represents a 'sub_issue_removed' event on a given issue. + """ + SUB_ISSUE_REMOVED_EVENT + """ Represents a 'transferred' event on a given issue or pull request. """ @@ -39045,7 +39750,7 @@ type PushAllowanceEdge { """ The query root of GitHub's GraphQL interface. """ -type Query { +type Query implements Node { """ Look up a code of conduct by its key """ @@ -39086,12 +39791,12 @@ type Query { enterpriseSlug: String! """ - The role for the business member invitation. + The role for the enterprise member invitation. """ role: EnterpriseAdministratorRole! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseAdministratorInvitation @@ -39116,7 +39821,7 @@ type Query { enterpriseSlug: String! """ - The login of the user invited to join the business. + The login of the user invited to join the enterprise. """ userLogin: String! ): EnterpriseMemberInvitation @@ -39131,6 +39836,11 @@ type Query { invitationToken: String! ): EnterpriseMemberInvitation + """ + ID of the object. + """ + id: ID! + """ Look up an open source license by its key """ @@ -39412,6 +40122,16 @@ type Query { """ classifications: [SecurityAdvisoryClassification!] + """ + The EPSS percentage to filter advisories by. + """ + epssPercentage: Float + + """ + The EPSS percentile to filter advisories by. + """ + epssPercentile: Float + """ Returns the first _n_ elements from the list. """ @@ -41273,6 +41993,46 @@ type RemoveStarPayload { starrable: Starrable } +""" +Autogenerated input type of RemoveSubIssue +""" +input RemoveSubIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the issue. + """ + issueId: ID! + + """ + The id of the sub-issue. + """ + subIssueId: ID! +} + +""" +Autogenerated return type of RemoveSubIssue. +""" +type RemoveSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent of the sub-issue. + """ + issue: Issue + + """ + The sub-issue of the parent. + """ + subIssue: Issue +} + """ Autogenerated input type of RemoveUpvote """ @@ -41703,7 +42463,7 @@ The privacy of a repository """ enum RepoAccessAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -41843,7 +42603,7 @@ The privacy of a repository """ enum RepoAddMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -42108,7 +42868,7 @@ The privacy of a repository """ enum RepoArchivedAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -43553,7 +44313,7 @@ The privacy of a repository """ enum RepoCreateAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -43693,7 +44453,7 @@ The privacy of a repository """ enum RepoDestroyAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -43833,7 +44593,7 @@ The privacy of a repository """ enum RepoRemoveMemberAuditEntryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -45464,6 +46224,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent Returns the last _n_ elements from the list. """ last: Int + + """ + Return rulesets that apply to the specified target + """ + targets: [RepositoryRulesetTarget!] = null ): RepositoryRulesetConnection """ @@ -47165,14 +47930,12 @@ enum RepositoryRuleType { DELETION """ - Prevent commits that include files with specified file extensions from being - pushed to the commit graph. NOTE: Thie rule is in beta and subject to change + Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ FILE_EXTENSION_RESTRICTION """ - Prevent commits that include changes in specified file paths from being pushed - to the commit graph. NOTE: Thie rule is in beta and subject to change + Prevent commits that include changes in specified file paths from being pushed to the commit graph. """ FILE_PATH_RESTRICTION @@ -47182,15 +47945,12 @@ enum RepositoryRuleType { LOCK_BRANCH """ - Prevent commits that include file paths that exceed a specified character - limit from being pushed to the commit graph. NOTE: Thie rule is in beta and - subject to change + Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. """ MAX_FILE_PATH_LENGTH """ - Prevent commits that exceed a specified file size limit from being pushed to - the commit. NOTE: Thie rule is in beta and subject to change + Prevent commits that exceed a specified file size limit from being pushed to the commit. """ MAX_FILE_SIZE @@ -47407,6 +48167,11 @@ type RepositoryRulesetBypassActor implements Node { """ deployKey: Boolean! + """ + This actor represents the ability for an enterprise owner to bypass + """ + enterpriseOwner: Boolean! + """ The Node ID of the RepositoryRulesetBypassActor object """ @@ -47509,6 +48274,11 @@ input RepositoryRulesetBypassActorInput { """ deployKey: Boolean + """ + For enterprise owner bypasses, true + """ + enterpriseOwner: Boolean + """ For organization owner bypasses, true """ @@ -47561,7 +48331,7 @@ type RepositoryRulesetEdge { } """ -The targets supported for rulesets. NOTE: The push target is in beta and subject to change. +The targets supported for rulesets. """ enum RepositoryRulesetTarget { """ @@ -47574,6 +48344,11 @@ enum RepositoryRulesetTarget { """ PUSH + """ + repository + """ + REPOSITORY + """ Tag """ @@ -47650,7 +48425,7 @@ The repository's visibility level. """ enum RepositoryVisibility { """ - The repository is visible only to users in the same business. + The repository is visible only to users in the same enterprise. """ INTERNAL @@ -48060,6 +48835,51 @@ enum RepositoryVulnerabilityAlertState { OPEN } +""" +Autogenerated input type of ReprioritizeSubIssue +""" +input ReprioritizeSubIssueInput { + """ + The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). + """ + afterId: ID + + """ + The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). + """ + beforeId: ID + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The id of the parent issue. + """ + issueId: ID! + + """ + The id of the sub-issue to reprioritize. + """ + subIssueId: ID! +} + +""" +Autogenerated return type of ReprioritizeSubIssue. +""" +type ReprioritizeSubIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The parent issue that the sub-issue was reprioritized in. + """ + issue: Issue +} + """ Autogenerated input type of RequestReviews """ @@ -48267,6 +49087,11 @@ Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. """ type RequiredStatusChecksParameters { + """ + Allow repositories and branches to be created if a check would otherwise prohibit it. + """ + doNotEnforceOnCreate: Boolean! + """ Status checks that are required. """ @@ -48285,6 +49110,11 @@ Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. """ input RequiredStatusChecksParametersInput { + """ + Allow repositories and branches to be created if a check would otherwise prohibit it. + """ + doNotEnforceOnCreate: Boolean + """ Status checks that are required. """ @@ -48895,7 +49725,7 @@ enum RuleEnforcement { """ Types which can be parameters for `RepositoryRule` objects. """ -union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters +union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters """ Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. @@ -48946,6 +49776,11 @@ input RuleParametersInput { """ maxFileSize: MaxFileSizeParametersInput + """ + Parameters used for the `merge_queue` rule type + """ + mergeQueue: MergeQueueParametersInput + """ Parameters used for the `pull_request` rule type """ @@ -48980,7 +49815,7 @@ input RuleParametersInput { """ Types which can have `RepositoryRule` objects. """ -union RuleSource = Organization | Repository +union RuleSource = Enterprise | Organization | Repository """ The possible digest algorithms used to sign SAML requests for an identity provider. @@ -49256,7 +50091,12 @@ type SecurityAdvisory implements Node { """ The CVSS associated with this advisory """ - cvss: CVSS! + cvss: CVSS! @deprecated(reason: "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC.") + + """ + The CVSS associated with this advisory + """ + cvssSeverities: CvssSeverities! """ CWEs associated with this Advisory @@ -49293,6 +50133,11 @@ type SecurityAdvisory implements Node { """ description: String! + """ + The Exploit Prediction Scoring System + """ + epss: EPSS + """ The GitHub Security Advisory ID """ @@ -49588,6 +50433,16 @@ input SecurityAdvisoryOrder { Properties by which security advisory connections can be ordered. """ enum SecurityAdvisoryOrderField { + """ + Order advisories by EPSS percentage + """ + EPSS_PERCENTAGE + + """ + Order advisories by EPSS percentile + """ + EPSS_PERCENTILE + """ Order advisories by publication time """ @@ -49975,6 +50830,11 @@ type SmimeSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -50045,6 +50905,11 @@ type SocialAccountEdge { Software or company that hosts social media accounts. """ enum SocialAccountProvider { + """ + Decentralized microblogging social platform. + """ + BLUESKY + """ Social media and networking website. """ @@ -52978,6 +53843,11 @@ type SshSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -53631,6 +54501,76 @@ type StripeConnectAccount { stripeDashboardUrl: URI! } +""" +Represents a 'sub_issue_added' event on a given issue. +""" +type SubIssueAddedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueAddedEvent object + """ + id: ID! + + """ + The sub-issue added. + """ + subIssue: Issue +} + +""" +Represents a 'sub_issue_removed' event on a given issue. +""" +type SubIssueRemovedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SubIssueRemovedEvent object + """ + id: ID! + + """ + The sub-issue removed. + """ + subIssue: Issue +} + +""" +Summary of the state of an issue's sub-issues +""" +type SubIssuesSummary { + """ + Count of completed sub-issues + """ + completed: Int! + + """ + Percent of sub-issues which are completed + """ + percentCompleted: Int! + + """ + Count of total number of sub-issues + """ + total: Int! +} + """ Autogenerated input type of SubmitPullRequestReview """ @@ -56596,6 +57536,26 @@ type TreeEntry { type: String! } +""" +Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. +""" +enum TwoFactorCredentialSecurityType { + """ + No method of two-factor authentication. + """ + DISABLED + + """ + Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication. + """ + INSECURE + + """ + Has only secure methods of two-factor authentication. + """ + SECURE +} + """ An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. """ @@ -56811,6 +57771,11 @@ type UnknownSignature implements GitSignature { """ state: GitSignatureState! + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + """ True if the signature was made with GitHub's signing key. """ @@ -57302,36 +58267,6 @@ type UnresolveReviewThreadPayload { thread: PullRequestReviewThread } -""" -Autogenerated input type of UnsubscribeFromNotifications -""" -input UnsubscribeFromNotificationsInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The NotificationThread IDs of the objects to unsubscribe from. - """ - ids: [ID!]! -} - -""" -Autogenerated return type of UnsubscribeFromNotifications. -""" -type UnsubscribeFromNotificationsPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - Did the operation succeed? - """ - success: Boolean -} - """ Represents an 'unsubscribed' event on a given `Subscribable`. """ @@ -57863,6 +58798,46 @@ type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload { message: String } +""" +Autogenerated input type of UpdateEnterpriseDeployKeySetting +""" +input UpdateEnterpriseDeployKeySettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise on which to set the deploy key setting. + """ + enterpriseId: ID! + + """ + The value for the deploy key setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} + +""" +Autogenerated return type of UpdateEnterpriseDeployKeySetting. +""" +type UpdateEnterpriseDeployKeySettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The enterprise with the updated deploy key setting. + """ + enterprise: Enterprise + + """ + A message confirming the result of updating the deploy key setting. + """ + message: String +} + """ Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting """ @@ -58414,6 +59389,46 @@ type UpdateEnterpriseTeamDiscussionsSettingPayload { message: String } +""" +Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting +""" +input UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. + """ + enterpriseId: ID! + + """ + The value for the two-factor authentication disallowed methods setting on the enterprise. + """ + settingValue: EnterpriseDisallowedMethodsSettingValue! +} + +""" +Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting. +""" +type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The enterprise with the updated two-factor authentication disallowed methods setting. + """ + enterprise: Enterprise + + """ + A message confirming the result of updating the two-factor authentication disallowed methods setting. + """ + message: String +} + """ Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting """ @@ -59161,6 +60176,48 @@ type UpdateProjectV2DraftIssuePayload { draftIssue: DraftIssue } +""" +Autogenerated input type of UpdateProjectV2Field +""" +input UpdateProjectV2FieldInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the field to update. + """ + fieldId: ID! + + """ + The name to update. + """ + name: String + + """ + Options for a field of type SINGLE_SELECT. If empty, no changes will be made + to the options. If values are present, they will overwrite the existing + options for the field. + """ + singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!] +} + +""" +Autogenerated return type of UpdateProjectV2Field. +""" +type UpdateProjectV2FieldPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated field. + """ + projectV2Field: ProjectV2FieldConfiguration +} + """ Autogenerated input type of UpdateProjectV2 """ @@ -61818,6 +62875,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ url: URI! + """ + Whether the request returns publicly visible information or privately visible information about the user + """ + userViewType: UserViewType! + """ Can the viewer pin repositories and gists to the profile? """ @@ -62301,6 +63363,36 @@ type UserListSuggestion { name: String } +""" +A repository owned by an Enterprise Managed user. +""" +type UserNamespaceRepository implements Node { + """ + The Node ID of the UserNamespaceRepository object + """ + id: ID! + + """ + The name of the repository. + """ + name: String! + + """ + The repository's name with owner. + """ + nameWithOwner: String! + + """ + The user owner of the repository. + """ + owner: RepositoryOwner! + + """ + The repository owned by an enterprise managed user. + """ + repository: RepositoryInfo +} + """ The user's description of what they're currently doing. """ @@ -62421,6 +63513,21 @@ enum UserStatusOrderField { UPDATED_AT } +""" +Whether a user being viewed contains public or private information. +""" +enum UserViewType { + """ + A user containing information only visible to the authenticated user. + """ + PRIVATE + + """ + A user that is publicly visible. + """ + PUBLIC +} + """ A domain that can be verified or approved for an organization or an enterprise. """ @@ -63030,6 +64137,11 @@ enum WorkflowState { Require all changes made to a targeted branch to pass the specified workflows before they can be merged. """ type WorkflowsParameters { + """ + Allow repositories and branches to be created if a check would otherwise prohibit it. + """ + doNotEnforceOnCreate: Boolean! + """ Workflows that must pass for this rule to pass. """ @@ -63040,6 +64152,11 @@ type WorkflowsParameters { Require all changes made to a targeted branch to pass the specified workflows before they can be merged. """ input WorkflowsParametersInput { + """ + Allow repositories and branches to be created if a check would otherwise prohibit it. + """ + doNotEnforceOnCreate: Boolean + """ Workflows that must pass for this rule to pass. """ diff --git a/schema.json b/schema.json index 09c08c417..8cc7a1755 100644 --- a/schema.json +++ b/schema.json @@ -45309,6 +45309,89 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "closedByPullRequestsReferences", + "description": "List of open pull requests referenced from this issue", + "args": [ + { + "name": "includeClosedPrs", + "description": "Include closed PRs in results", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "orderByState", + "description": "Return results ordered by state", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "userLinkedOnly", + "description": "Return only manually linked PRs", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "PullRequestConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "comments", "description": "A list of comments associated with the Issue.",