diff --git a/schema.d.ts b/schema.d.ts index a72489537..fd1e267df 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -147,6 +147,27 @@ export type AcceptTopicSuggestionPayload = { topic?: Maybe; }; +/** Autogenerated input type of AccessUserNamespaceRepository */ +export type AccessUserNamespaceRepositoryInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the enterprise owning the user namespace repository. */ + enterpriseId: Scalars['ID']['input']; + /** The ID of the user namespace repository to access. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AccessUserNamespaceRepository. */ +export type AccessUserNamespaceRepositoryPayload = { + __typename?: 'AccessUserNamespaceRepositoryPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The time that repository access expires at */ + expiresAt?: Maybe; + /** The repository that is temporarily accessible. */ + repository?: Maybe; +}; + /** Represents an object which can take actions on GitHub. Typically a User or Bot. */ export type Actor = { /** A URL pointing to the actor's public avatar. */ @@ -224,7 +245,7 @@ export type AddCommentPayload = { /** The edge from the subject's comment connection. */ commentEdge?: Maybe; /** The subject */ - subject?: Maybe; + subject?: Maybe; /** The edge from the subject's timeline connection. */ timelineEdge?: Maybe; }; @@ -624,6 +645,31 @@ export type AddStarPayload = { starrable?: Maybe; }; +/** Autogenerated input type of AddSubIssue */ +export type AddSubIssueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the issue. */ + issueId: Scalars['ID']['input']; + /** Option to replace parent issue if one already exists */ + replaceParent?: InputMaybe; + /** The id of the sub-issue. */ + subIssueId?: InputMaybe; + /** The url of the sub-issue. */ + subIssueUrl?: InputMaybe; +}; + +/** Autogenerated return type of AddSubIssue. */ +export type AddSubIssuePayload = { + __typename?: 'AddSubIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The parent issue that the sub-issue was added to. */ + issue?: Maybe; + /** The sub-issue of the parent. */ + subIssue?: Maybe; +}; + /** Autogenerated input type of AddUpvote */ export type AddUpvoteInput = { /** A unique identifier for the client performing the mutation. */ @@ -684,33 +730,69 @@ export type AddedToProjectEvent = Node & { actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; /** The Node ID of the AddedToProjectEvent object */ id: Scalars['ID']['output']; /** Project referenced by event. */ project?: Maybe; - /** Project card referenced by this project event. */ + /** + * Project card referenced by this project event. + * @deprecated 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. + */ projectCard?: Maybe; - /** Column name referenced by this project event. */ + /** + * Column name referenced by this project event. + * @deprecated 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. + */ projectColumnName: Scalars['String']['output']; }; -/** Represents an announcement banner. */ +/** An announcement banner for an enterprise or organization. */ export type AnnouncementBanner = { + __typename?: 'AnnouncementBanner'; + /** The date the announcement was created */ + createdAt: Scalars['DateTime']['output']; + /** The expiration date of the announcement, if any */ + expiresAt?: Maybe; + /** Whether the announcement can be dismissed by the user */ + isUserDismissible: Scalars['Boolean']['output']; /** The text of the announcement */ + message?: Maybe; +}; + +/** Represents an announcement banner. */ +export type AnnouncementBannerI = { + /** + * The text of the announcement + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcement?: Maybe; - /** The date the announcement was created */ + /** + * The date the announcement was created + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementCreatedAt?: Maybe; - /** The expiration date of the announcement, if any */ + /** + * The expiration date of the announcement, if any + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementExpiresAt?: Maybe; - /** Whether the announcement can be dismissed by the user */ + /** + * Whether the announcement can be dismissed by the user + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementUserDismissible?: Maybe; }; /** A GitHub App. */ export type App = Node & { __typename?: 'App'; + /** The client ID of the app. */ + clientId?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ @@ -2205,6 +2287,8 @@ export type CloseDiscussionPayload = { export type CloseIssueInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; + /** ID of the issue that this is a duplicate of. */ + duplicateIssueId?: InputMaybe; /** ID of the issue to be closed. */ issueId: Scalars['ID']['input']; /** The reason the issue is to be closed. */ @@ -3484,7 +3568,10 @@ export type ConvertedNoteToIssueEvent = Node & { id: Scalars['ID']['output']; /** Project referenced by event. */ project?: Maybe; - /** Project card referenced by this project event. */ + /** + * Project card referenced by this project event. + * @deprecated 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. + */ projectCard?: Maybe; /** Column name referenced by this project event. */ projectColumnName: Scalars['String']['output']; @@ -3898,6 +3985,8 @@ export type CreateIssueInput = { labelIds?: InputMaybe>; /** The Node ID of the milestone for this issue. */ milestoneId?: InputMaybe; + /** The Node ID of the parent issue to add this new issue to */ + parentIssueId?: InputMaybe; /** An array of Node IDs for projects associated with this issue. */ projectIds?: InputMaybe>; /** The Node ID of the repository. */ @@ -4021,6 +4110,8 @@ export type CreateProjectV2FieldInput = { clientMutationId?: InputMaybe; /** The data type of the field. */ dataType: ProjectV2CustomFieldType; + /** Configuration for an iteration field. */ + iterationConfiguration?: InputMaybe; /** The name of the field. */ name: Scalars['String']['input']; /** The ID of the Project to create the field in. */ @@ -4779,6 +4870,15 @@ export type CrossReferencedEvent = Node & UniformResourceLocatable & { willCloseTarget: Scalars['Boolean']['output']; }; +/** The Common Vulnerability Scoring System */ +export type CvssSeverities = { + __typename?: 'CvssSeverities'; + /** The CVSS v3 severity associated with this advisory */ + cvssV3?: Maybe; + /** The CVSS v4 severity associated with this advisory */ + cvssV4?: Maybe; +}; + /** Autogenerated input type of DeclineTopicSuggestion */ export type DeclineTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */ @@ -5342,6 +5442,8 @@ export type DependencyGraphDependency = { packageManager?: Maybe; /** The name of the package in the canonical form used by the package manager. */ packageName: Scalars['String']['output']; + /** Public preview: The relationship of the dependency. Can be direct, transitive, or unknown */ + relationship: Scalars['String']['output']; /** The repository containing the package */ repository?: Maybe; /** The dependency version requirements */ @@ -5452,6 +5554,8 @@ export type DeployKey = Node & { __typename?: 'DeployKey'; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; + /** Whether or not the deploy key is enabled by policy at the Enterprise or Organization level. */ + enabled: Scalars['Boolean']['output']; /** The Node ID of the DeployKey object */ id: Scalars['ID']['output']; /** The deploy key. */ @@ -6016,6 +6120,8 @@ export type Discussion = Closable & Comment & Deletable & Labelable & Lockable & viewerCanClose: Scalars['Boolean']['output']; /** Check if the current viewer can delete this object. */ viewerCanDelete: Scalars['Boolean']['output']; + /** Indicates if the viewer can edit labels for this object. */ + viewerCanLabel: Scalars['Boolean']['output']; /** Can user react to this subject */ viewerCanReact: Scalars['Boolean']['output']; /** Indicates if the object can be reopened by the viewer. */ @@ -6530,6 +6636,15 @@ export type DraftPullRequestReviewThread = { startSide?: InputMaybe; }; +/** The Exploit Prediction Scoring System */ +export type Epss = { + __typename?: 'EPSS'; + /** The EPSS percentage represents the likelihood of a CVE being exploited. */ + percentage?: Maybe; + /** The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. */ + percentile?: Maybe; +}; + /** Autogenerated input type of EnablePullRequestAutoMerge */ export type EnablePullRequestAutoMergeInput = { /** The email address to associate with this merge. */ @@ -6592,15 +6707,29 @@ export type EnqueuePullRequestPayload = { }; /** An account to manage multiple organizations with consolidated policy and billing. */ -export type Enterprise = AnnouncementBanner & Node & { +export type Enterprise = AnnouncementBannerI & Node & { __typename?: 'Enterprise'; - /** The text of the announcement */ + /** + * The text of the announcement + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcement?: Maybe; - /** The date the announcement was created */ + /** The announcement banner set on this enterprise, if any. Only visible to members of the enterprise. */ + announcementBanner?: Maybe; + /** + * The date the announcement was created + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementCreatedAt?: Maybe; - /** The expiration date of the announcement, if any */ + /** + * The expiration date of the announcement, if any + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementExpiresAt?: Maybe; - /** Whether the announcement can be dismissed by the user */ + /** + * Whether the announcement can be dismissed by the user + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementUserDismissible?: Maybe; /** A URL pointing to the enterprise's public avatar. */ avatarUrl: Scalars['URI']['output']; @@ -6637,10 +6766,18 @@ export type Enterprise = AnnouncementBanner & Node & { readmeHTML: Scalars['HTML']['output']; /** The HTTP path for this enterprise. */ resourcePath: Scalars['URI']['output']; + /** Returns a single ruleset from the current enterprise by ID. */ + ruleset?: Maybe; + /** A list of rulesets for this enterprise. */ + rulesets?: Maybe; /** The URL-friendly identifier for the enterprise. */ slug: Scalars['String']['output']; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this enterprise. */ url: Scalars['URI']['output']; + /** A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users. */ + userNamespaceRepositories: UserNamespaceRepositoryConnection; /** Is the current viewer an admin of this enterprise? */ viewerIsAdmin: Scalars['Boolean']['output']; /** The URL of the enterprise website. */ @@ -6666,6 +6803,7 @@ export type EnterpriseMembersArgs = { organizationLogins?: InputMaybe>; query?: InputMaybe; role?: InputMaybe; + twoFactorMethodSecurity?: InputMaybe; }; @@ -6680,6 +6818,32 @@ export type EnterpriseOrganizationsArgs = { viewerOrganizationRole?: InputMaybe; }; + +/** An account to manage multiple organizations with consolidated policy and billing. */ +export type EnterpriseRulesetArgs = { + databaseId: Scalars['Int']['input']; +}; + + +/** An account to manage multiple organizations with consolidated policy and billing. */ +export type EnterpriseRulesetsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** An account to manage multiple organizations with consolidated policy and billing. */ +export type EnterpriseUserNamespaceRepositoriesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; + query?: InputMaybe; +}; + /** The connection type for User. */ export type EnterpriseAdministratorConnection = { __typename?: 'EnterpriseAdministratorConnection'; @@ -6763,7 +6927,9 @@ export type EnterpriseAdministratorRole = /** Represents a billing manager of the enterprise account. */ | 'BILLING_MANAGER' /** Represents an owner of the enterprise account. */ - | 'OWNER'; + | 'OWNER' + /** Unaffiliated member of the enterprise account without an admin role. */ + | 'UNAFFILIATED'; /** The possible values for the enterprise allow private repository forking policy value. */ export type EnterpriseAllowPrivateRepositoryForkingPolicyValue = @@ -6841,6 +7007,13 @@ export type EnterpriseDefaultRepositoryPermissionSettingValue = /** Organization members will be able to clone, pull, and push all organization repositories. */ | 'WRITE'; +/** The possible values for an enabled/no policy enterprise setting. */ +export type 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. */ export type EnterpriseEdge = { __typename?: 'EnterpriseEdge'; @@ -7229,6 +7402,10 @@ export type EnterpriseOwnerInfo = { pendingMemberInvitations: EnterprisePendingMemberInvitationConnection; /** A list of pending unaffiliated member invitations for the enterprise. */ pendingUnaffiliatedMemberInvitations: 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: OrganizationConnection; /** The setting value for whether repository projects are enabled in this enterprise. */ repositoryProjectsSetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided repository projects setting value. */ @@ -7243,6 +7420,8 @@ export type EnterpriseOwnerInfo = { teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided team discussions setting value. */ teamDiscussionsSettingOrganizations: 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. */ twoFactorRequiredSetting: EnterpriseEnabledSettingValue; /** A list of enterprise organizations configured with the two-factor authentication setting value. */ @@ -7264,6 +7443,7 @@ export type EnterpriseOwnerInfoAdminsArgs = { organizationLogins?: InputMaybe>; query?: InputMaybe; role?: InputMaybe; + twoFactorMethodSecurity?: InputMaybe; }; @@ -7488,6 +7668,7 @@ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { orderBy?: InputMaybe; organizationLogins?: InputMaybe>; query?: InputMaybe; + twoFactorMethodSecurity?: InputMaybe; visibility?: InputMaybe; }; @@ -7550,6 +7731,20 @@ export type EnterpriseOwnerInfoPendingUnaffiliatedMemberInvitationsArgs = { }; +/** + * Enterprise information visible to enterprise owners or enterprise owners' + * personal access tokens (classic) with read:enterprise or admin:enterprise scope. + */ +export type EnterpriseOwnerInfoRepositoryDeployKeySettingOrganizationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; + value: Scalars['Boolean']['input']; +}; + + /** * Enterprise information visible to enterprise owners or enterprise owners' * personal access tokens (classic) with read:enterprise or admin:enterprise scope. @@ -8349,39 +8544,27 @@ export type FileDeletion = { path: Scalars['String']['input']; }; -/** - * 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. */ export type FileExtensionRestrictionParameters = { __typename?: 'FileExtensionRestrictionParameters'; /** The file extensions that are restricted from being pushed to the commit graph. */ restrictedFileExtensions: Array; }; -/** - * 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. */ export type FileExtensionRestrictionParametersInput = { /** The file extensions that are restricted from being pushed to the commit graph. */ restrictedFileExtensions: Array; }; -/** - * 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. */ export type FilePathRestrictionParameters = { __typename?: 'FilePathRestrictionParameters'; /** The file paths that are restricted from being pushed to the commit graph. */ restrictedFilePaths: Array; }; -/** - * 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. */ export type FilePathRestrictionParametersInput = { /** The file paths that are restricted from being pushed to the commit graph. */ restrictedFilePaths: Array; @@ -8489,6 +8672,8 @@ export type FundingPlatform = | 'PATREON' /** Polar funding platform. */ | 'POLAR' + /** thanks.dev funding platform. */ + | 'THANKS_DEV' /** Tidelift funding platform. */ | 'TIDELIFT'; @@ -8834,6 +9019,8 @@ export type GitSignature = { * GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; + /** The date the signature was verified, if valid */ + verifiedAt?: Maybe; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; }; @@ -8895,6 +9082,8 @@ export type GpgSignature = GitSignature & { * GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; + /** The date the signature was verified, if valid */ + verifiedAt?: Maybe; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; }; @@ -9224,6 +9413,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo milestone?: Maybe; /** Identifies the issue number. */ number: Scalars['Int']['output']; + /** The parent entity of the issue. */ + parent?: Maybe; /** A list of Users that are participating in the Issue conversation. */ participants: UserConnection; /** List of project cards associated with this issue. */ @@ -9248,6 +9439,10 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo state: IssueState; /** Identifies the reason for the issue state. */ stateReason?: Maybe; + /** A list of sub-issues associated with the Issue. */ + subIssues: IssueConnection; + /** Summary of the state of an issue's sub-issues */ + subIssuesSummary: SubIssuesSummary; /** * A list of events, comments, commits, etc. associated with the issue. * @deprecated `timeline` will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC. @@ -9275,6 +9470,8 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo viewerCanClose: Scalars['Boolean']['output']; /** Check if the current viewer can delete this object. */ viewerCanDelete: Scalars['Boolean']['output']; + /** Indicates if the viewer can edit labels for this object. */ + viewerCanLabel: Scalars['Boolean']['output']; /** Can user react to this subject */ viewerCanReact: Scalars['Boolean']['output']; /** Indicates if the object can be reopened by the viewer. */ @@ -9410,6 +9607,21 @@ export type IssueReactionsArgs = { }; +/** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ +export type IssueStateReasonArgs = { + enableDuplicate?: InputMaybe; +}; + + +/** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ +export type IssueSubIssuesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + /** An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. */ export type IssueTimelineArgs = { after?: InputMaybe; @@ -9468,6 +9680,8 @@ export type IssueUserContentEditsArgs = { export type IssueClosedStateReason = /** An issue that has been closed as completed */ | 'COMPLETED' + /** An issue that has been closed as a duplicate */ + | 'DUPLICATE' /** An issue that has been closed as not planned */ | 'NOT_PLANNED'; @@ -9705,6 +9919,11 @@ export type IssueState = export type IssueStateReason = /** An issue that has been closed as completed */ | '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 */ | 'NOT_PLANNED' /** An issue that has been reopened */ @@ -9774,7 +9993,7 @@ export type IssueTimelineItemEdge = { }; /** An item in an issue timeline */ -export type 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; +export type 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. */ export type IssueTimelineItemsConnection = { @@ -9840,6 +10059,10 @@ export type IssueTimelineItemsItemType = | 'MILESTONED_EVENT' /** Represents a 'moved_columns_in_project' event on a given issue or pull request. */ | '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. */ | 'PINNED_EVENT' /** Represents a 'referenced' event on a given `ReferencedSubject`. */ @@ -9852,6 +10075,10 @@ export type IssueTimelineItemsItemType = | 'REOPENED_EVENT' /** Represents a 'subscribed' event on a given `Subscribable`. */ | '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. */ | 'TRANSFERRED_EVENT' /** Represents an 'unassigned' event on any assignable object. */ @@ -9985,6 +10212,8 @@ export type LabelOrderField = export type Labelable = { /** A list of labels associated with the object. */ labels?: Maybe; + /** Indicates if the viewer can edit labels for this object. */ + viewerCanLabel: Scalars['Boolean']['output']; }; @@ -10355,25 +10584,6 @@ export type MarkFileAsViewedPayload = { pullRequest?: Maybe; }; -/** Autogenerated input type of MarkNotificationAsDone */ -export type MarkNotificationAsDoneInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The NotificationThread id. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated return type of MarkNotificationAsDone. */ -export type MarkNotificationAsDonePayload = { - __typename?: 'MarkNotificationAsDonePayload'; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; - /** Did the operation succeed? */ - success?: Maybe; - /** The user that the notification belongs to. */ - viewer?: Maybe; -}; - /** Autogenerated input type of MarkProjectV2AsTemplate */ export type MarkProjectV2AsTemplateInput = { /** A unique identifier for the client performing the mutation. */ @@ -10614,39 +10824,27 @@ export type MarketplaceListingEdge = { node?: Maybe; }; -/** - * 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. */ export type MaxFilePathLengthParameters = { __typename?: 'MaxFilePathLengthParameters'; /** The maximum amount of characters allowed in file paths */ maxFilePathLength: Scalars['Int']['output']; }; -/** - * 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. */ export type MaxFilePathLengthParametersInput = { /** The maximum amount of characters allowed in file paths */ maxFilePathLength: Scalars['Int']['input']; }; -/** - * 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 graph. */ export type MaxFileSizeParameters = { __typename?: 'MaxFileSizeParameters'; /** The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). */ maxFileSize: Scalars['Int']['output']; }; -/** - * 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 graph. */ export type MaxFileSizeParametersInput = { /** The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). */ maxFileSize: Scalars['Int']['input']; @@ -11019,6 +11217,27 @@ export type MergeQueueEntryState = /** The entry is currently unmergeable. */ | '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. + */ +export type 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. */ +export type MergeQueueMergeMethod = + /** Merge commit */ + | 'MERGE' + /** Rebase and merge */ + | 'REBASE' + /** Squash and merge */ + | 'SQUASH'; + /** The possible merging strategies for a merge queue. */ export type MergeQueueMergingStrategy = /** Entries only allowed to merge if they are passing. */ @@ -11026,6 +11245,69 @@ export type MergeQueueMergingStrategy = /** Failing Entires are allowed to merge if they are with a passing entry. */ | 'HEADGREEN'; +/** Merges must be performed via a merge queue. */ +export type MergeQueueParameters = { + __typename?: '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: Scalars['Int']['output']; + /** + * 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: Scalars['Int']['output']; + /** The maximum number of PRs that will be merged together in a group. */ + maxEntriesToMerge: Scalars['Int']['output']; + /** 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: Scalars['Int']['output']; + /** + * 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: Scalars['Int']['output']; +}; + +/** Merges must be performed via a merge queue. */ +export type 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: Scalars['Int']['input']; + /** + * 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: Scalars['Int']['input']; + /** The maximum number of PRs that will be merged together in a group. */ + maxEntriesToMerge: Scalars['Int']['input']; + /** 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: Scalars['Int']['input']; + /** + * 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: Scalars['Int']['input']; +}; + /** Detailed status information about a pull request merge. */ export type MergeStateStatus = /** The head ref is out of date. */ @@ -11361,17 +11643,29 @@ export type MovedColumnsInProjectEvent = Node & { actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; /** The Node ID of the MovedColumnsInProjectEvent object */ id: Scalars['ID']['output']; - /** Column name the issue or pull request was moved from. */ + /** + * Column name the issue or pull request was moved from. + * @deprecated 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. + */ previousProjectColumnName: Scalars['String']['output']; /** Project referenced by event. */ project?: Maybe; - /** Project card referenced by this project event. */ + /** + * Project card referenced by this project event. + * @deprecated 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. + */ projectCard?: Maybe; - /** Column name the issue or pull request was moved to. */ + /** + * Column name the issue or pull request was moved to. + * @deprecated 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. + */ projectColumnName: Scalars['String']['output']; }; @@ -11388,6 +11682,8 @@ export type Mutation = { acceptEnterpriseMemberInvitation?: Maybe; /** Applies a suggested topic to the repository. */ acceptTopicSuggestion?: Maybe; + /** Access user namespace repository for a temporary duration. */ + accessUserNamespaceRepository?: Maybe; /** Adds assignees to an assignable object. */ addAssigneesToAssignable?: Maybe; /** Adds a comment to an Issue or Pull Request. */ @@ -11402,9 +11698,15 @@ export type Mutation = { addEnterpriseSupportEntitlement?: Maybe; /** Adds labels to a labelable object. */ addLabelsToLabelable?: Maybe; - /** Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. */ + /** + * Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. + * @deprecated 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. + */ addProjectCard?: Maybe; - /** Adds a column to a Project. */ + /** + * Adds a column to a Project. + * @deprecated 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. + */ addProjectColumn?: Maybe; /** Creates a new draft issue and add it to a Project. */ addProjectV2DraftIssue?: Maybe; @@ -11422,6 +11724,8 @@ export type Mutation = { addReaction?: Maybe; /** Adds a star to a Starrable. */ addStar?: Maybe; + /** Adds a sub-issue to a given issue */ + addSubIssue?: Maybe; /** Add an upvote to a discussion or discussion comment. */ addUpvote?: Maybe; /** Adds a verifiable domain to an owning account. */ @@ -11450,7 +11754,10 @@ export type Mutation = { * milestone fields are supported. */ clearProjectV2ItemFieldValue?: Maybe; - /** Creates a new project by cloning configuration from an existing project. */ + /** + * Creates a new project by cloning configuration from an existing project. + * @deprecated 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. + */ cloneProject?: Maybe; /** Create a new repository with the same files and directory structure as a template repository. */ cloneTemplateRepository?: Maybe; @@ -11460,7 +11767,10 @@ export type Mutation = { closeIssue?: Maybe; /** Close a pull request. */ closePullRequest?: Maybe; - /** Convert a project note card to one associated with a newly created issue. */ + /** + * Convert a project note card to one associated with a newly created issue. + * @deprecated 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. + */ convertProjectCardNoteToIssue?: Maybe; /** Converts a projectV2 draft issue item to an issue. */ convertProjectV2DraftIssueItemToIssue?: Maybe; @@ -11548,7 +11858,10 @@ export type Mutation = { createLinkedBranch?: Maybe; /** Creates a GitHub Enterprise Importer (GEI) migration source. */ createMigrationSource?: Maybe; - /** Creates a new project. */ + /** + * Creates a new project. + * @deprecated 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. + */ createProject?: Maybe; /** Creates a new project. */ createProjectV2?: Maybe; @@ -11605,11 +11918,20 @@ export type Mutation = { deleteLinkedBranch?: Maybe; /** Delete a package version. */ deletePackageVersion?: Maybe; - /** Deletes a project. */ + /** + * Deletes a project. + * @deprecated 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. + */ deleteProject?: Maybe; - /** Deletes a project card. */ + /** + * Deletes a project card. + * @deprecated 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. + */ deleteProjectCard?: Maybe; - /** Deletes a project column. */ + /** + * Deletes a project column. + * @deprecated 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. + */ deleteProjectColumn?: Maybe; /** Delete a project. */ deleteProjectV2?: Maybe; @@ -11657,7 +11979,10 @@ export type Mutation = { grantEnterpriseOrganizationsMigratorRole?: Maybe; /** Grant the migrator role to a user or a team. */ grantMigratorRole?: Maybe; - /** Creates a new project by importing columns and a list of issues/PRs. */ + /** + * Creates a new project by importing columns and a list of issues/PRs. + * @deprecated 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. + */ importProject?: Maybe; /** Invite someone to become an administrator of the enterprise. */ inviteEnterpriseAdmin?: Maybe; @@ -11667,7 +11992,10 @@ export type Mutation = { linkProjectV2ToRepository?: Maybe; /** Links a project to a team. */ linkProjectV2ToTeam?: Maybe; - /** Creates a repository link for a project. */ + /** + * Creates a repository link for a project. + * @deprecated 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. + */ linkRepositoryToProject?: Maybe; /** Lock a lockable object */ lockLockable?: Maybe; @@ -11675,8 +12003,6 @@ export type Mutation = { markDiscussionCommentAsAnswer?: Maybe; /** Mark a pull request file as viewed */ markFileAsViewed?: Maybe; - /** Marks a notification as done */ - markNotificationAsDone?: Maybe; /** Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. */ markProjectV2AsTemplate?: Maybe; /** Marks a pull request ready for review. */ @@ -11687,9 +12013,15 @@ export type Mutation = { mergePullRequest?: Maybe; /** Minimizes a comment on an Issue, Commit, Pull Request, or Gist */ minimizeComment?: Maybe; - /** Moves a project card to another place. */ + /** + * Moves a project card to another place. + * @deprecated 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. + */ moveProjectCard?: Maybe; - /** Moves a project column to another place. */ + /** + * Moves a project column to another place. + * @deprecated 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. + */ moveProjectColumn?: Maybe; /** Pin an environment to a repository */ pinEnvironment?: Maybe; @@ -11726,6 +12058,8 @@ export type Mutation = { removeReaction?: Maybe; /** Removes a star from a Starrable. */ removeStar?: Maybe; + /** Removes a sub-issue from a given issue */ + removeSubIssue?: Maybe; /** Remove an upvote to a discussion or discussion comment. */ removeUpvote?: Maybe; /** Reopen a discussion. */ @@ -11736,6 +12070,8 @@ export type Mutation = { reopenPullRequest?: Maybe; /** Reorder a pinned repository environment */ reorderEnvironment?: Maybe; + /** Reprioritizes a sub-issue to a different position in the parent list. */ + reprioritizeSubIssue?: Maybe; /** Set review requests on a pull request. */ requestReviews?: Maybe; /** Rerequests an existing check suite. */ @@ -11780,7 +12116,10 @@ export type Mutation = { unlinkProjectV2FromRepository?: Maybe; /** Unlinks a project to a team. */ unlinkProjectV2FromTeam?: Maybe; - /** Deletes a repository link from a project. */ + /** + * Deletes a repository link from a project. + * @deprecated 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. + */ unlinkRepositoryFromProject?: Maybe; /** Unlock a lockable object */ unlockLockable?: Maybe; @@ -11798,8 +12137,6 @@ export type Mutation = { unpinIssue?: Maybe; /** Marks a review thread as unresolved. */ unresolveReviewThread?: Maybe; - /** Unsubscribes from notifications */ - unsubscribeFromNotifications?: Maybe; /** Update a branch protection rule */ updateBranchProtectionRule?: Maybe; /** Update a check run */ @@ -11816,6 +12153,8 @@ export type Mutation = { updateEnterpriseAllowPrivateRepositoryForkingSetting?: Maybe; /** Sets the base repository permission for organizations in an enterprise. */ updateEnterpriseDefaultRepositoryPermissionSetting?: Maybe; + /** Sets whether deploy keys are allowed to be created and used for an enterprise. */ + updateEnterpriseDeployKeySetting?: Maybe; /** Sets whether organization members with admin permissions on a repository can change repository visibility. */ updateEnterpriseMembersCanChangeRepositoryVisibilitySetting?: Maybe; /** Sets the members can create repositories setting for an enterprise. */ @@ -11842,6 +12181,8 @@ export type Mutation = { updateEnterpriseRepositoryProjectsSetting?: Maybe; /** Sets whether team discussions are enabled for an enterprise. */ updateEnterpriseTeamDiscussionsSetting?: Maybe; + /** Sets the two-factor authentication methods that users of an enterprise may not use. */ + updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting?: Maybe; /** Sets whether two factor authentication is required for all users in an enterprise. */ updateEnterpriseTwoFactorAuthenticationRequiredSetting?: Maybe; /** Updates an environment. */ @@ -11871,11 +12212,20 @@ export type Mutation = { * your GitHub account with Patreon. */ updatePatreonSponsorability?: Maybe; - /** Updates an existing project. */ + /** + * Updates an existing project. + * @deprecated 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. + */ updateProject?: Maybe; - /** Updates an existing project card. */ + /** + * Updates an existing project card. + * @deprecated 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. + */ updateProjectCard?: Maybe; - /** Updates an existing project column. */ + /** + * Updates an existing project column. + * @deprecated 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. + */ updateProjectColumn?: Maybe; /** Updates an existing project. */ updateProjectV2?: Maybe; @@ -11883,6 +12233,8 @@ export type Mutation = { updateProjectV2Collaborators?: Maybe; /** Updates a draft issue within a Project. */ updateProjectV2DraftIssue?: Maybe; + /** Update a project field. */ + updateProjectV2Field?: Maybe; /** * 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. @@ -11982,6 +12334,12 @@ export type MutationAcceptTopicSuggestionArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationAccessUserNamespaceRepositoryArgs = { + input: AccessUserNamespaceRepositoryInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationAddAssigneesToAssignableArgs = { input: AddAssigneesToAssignableInput; @@ -12084,6 +12442,12 @@ export type MutationAddStarArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationAddSubIssueArgs = { + input: AddSubIssueInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationAddUpvoteArgs = { input: AddUpvoteInput; @@ -12672,12 +13036,6 @@ export type MutationMarkFileAsViewedArgs = { }; -/** The root query for implementing GraphQL mutations. */ -export type MutationMarkNotificationAsDoneArgs = { - input: MarkNotificationAsDoneInput; -}; - - /** The root query for implementing GraphQL mutations. */ export type MutationMarkProjectV2AsTemplateArgs = { input: MarkProjectV2AsTemplateInput; @@ -12816,6 +13174,12 @@ export type MutationRemoveStarArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationRemoveSubIssueArgs = { + input: RemoveSubIssueInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationRemoveUpvoteArgs = { input: RemoveUpvoteInput; @@ -12846,6 +13210,12 @@ export type MutationReorderEnvironmentArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationReprioritizeSubIssueArgs = { + input: ReprioritizeSubIssueInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationRequestReviewsArgs = { input: RequestReviewsInput; @@ -13032,12 +13402,6 @@ export type MutationUnresolveReviewThreadArgs = { }; -/** The root query for implementing GraphQL mutations. */ -export type MutationUnsubscribeFromNotificationsArgs = { - input: UnsubscribeFromNotificationsInput; -}; - - /** The root query for implementing GraphQL mutations. */ export type MutationUpdateBranchProtectionRuleArgs = { input: UpdateBranchProtectionRuleInput; @@ -13086,6 +13450,12 @@ export type MutationUpdateEnterpriseDefaultRepositoryPermissionSettingArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUpdateEnterpriseDeployKeySettingArgs = { + input: UpdateEnterpriseDeployKeySettingInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingArgs = { input: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput; @@ -13164,6 +13534,12 @@ export type MutationUpdateEnterpriseTeamDiscussionsSettingArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingArgs = { + input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdateEnterpriseTwoFactorAuthenticationRequiredSettingArgs = { input: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput; @@ -13272,6 +13648,12 @@ export type MutationUpdateProjectV2DraftIssueArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUpdateProjectV2FieldArgs = { + input: UpdateProjectV2FieldInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdateProjectV2ItemFieldValueArgs = { input: UpdateProjectV2ItemFieldValueInput; @@ -15003,15 +15385,29 @@ export type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry = AuditEntry }; /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ -export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & { +export type Organization = Actor & AnnouncementBannerI & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable & { __typename?: 'Organization'; - /** The text of the announcement */ + /** + * The text of the announcement + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcement?: Maybe; - /** The date the announcement was created */ + /** The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. */ + announcementBanner?: Maybe; + /** + * The date the announcement was created + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementCreatedAt?: Maybe; - /** The expiration date of the announcement, if any */ + /** + * The expiration date of the announcement, if any + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementExpiresAt?: Maybe; - /** Whether the announcement can be dismissed by the user */ + /** + * Whether the announcement can be dismissed by the user + * @deprecated The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC. + */ announcementUserDismissible?: Maybe; /** Determine if this repository owner has any items that can be pinned to their profile. */ anyPinnableItems: Scalars['Boolean']['output']; @@ -15099,11 +15495,17 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node pinnedItems: PinnableItemConnection; /** Returns how many more items this profile owner can pin to their profile. */ pinnedItemsRemaining: Scalars['Int']['output']; - /** Find project by number. */ + /** + * Find project by number. + * @deprecated 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. + */ project?: Maybe; /** Find a project by number. */ projectV2?: Maybe; - /** A list of projects under the owner. */ + /** + * A list of projects under the owner. + * @deprecated 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. + */ projects: ProjectConnection; /** The HTTP path listing organization's projects */ projectsResourcePath: Scalars['URI']['output']; @@ -15458,6 +15860,7 @@ export type OrganizationRepositoryMigrationsArgs = { /** An account on GitHub, with one or more owners, that has repositories, members and teams. */ export type OrganizationRulesetArgs = { databaseId: Scalars['Int']['input']; + includeParents?: InputMaybe; }; @@ -15468,6 +15871,7 @@ export type OrganizationRulesetsArgs = { first?: InputMaybe; includeParents?: InputMaybe; last?: InputMaybe; + targets?: InputMaybe>; }; @@ -16222,6 +16626,32 @@ export type PageInfo = { startCursor?: Maybe; }; +/** Represents a 'parent_issue_added' event on a given issue. */ +export type ParentIssueAddedEvent = Node & { + __typename?: 'ParentIssueAddedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the ParentIssueAddedEvent object */ + id: Scalars['ID']['output']; + /** The parent issue added. */ + parent?: Maybe; +}; + +/** Represents a 'parent_issue_removed' event on a given issue. */ +export type ParentIssueRemovedEvent = Node & { + __typename?: 'ParentIssueRemovedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the ParentIssueRemovedEvent object */ + id: Scalars['ID']['output']; + /** The parent issue removed. */ + parent?: Maybe; +}; + /** The possible types of patch statuses. */ export type PatchStatus = /** The file was added. Git status 'A'. */ @@ -16712,41 +17142,89 @@ export type ProfileOwnerPinnedItemsArgs = { /** Projects manage issues, pull requests and notes within a project owner. */ export type Project = Closable & Node & Updatable & { __typename?: 'Project'; - /** The project's description body. */ + /** + * The project's description body. + * @deprecated 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. + */ body?: Maybe; - /** The projects description body rendered to HTML. */ + /** + * The projects description body rendered to HTML. + * @deprecated 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. + */ bodyHTML: Scalars['HTML']['output']; /** Indicates if the object is closed (definition of closed may depend on type) */ closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ closedAt?: Maybe; - /** List of columns in the project */ + /** + * List of columns in the project + * @deprecated 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. + */ columns: ProjectColumnConnection; - /** Identifies the date and time when the object was created. */ + /** + * Identifies the date and time when the object was created. + * @deprecated 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. + */ createdAt: Scalars['DateTime']['output']; - /** The actor who originally created the project. */ + /** + * The actor who originally created the project. + * @deprecated 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. + */ creator?: Maybe; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; - /** The Node ID of the Project object */ + /** + * The Node ID of the Project object + * @deprecated 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. + */ id: Scalars['ID']['output']; - /** The project's name. */ + /** + * The project's name. + * @deprecated 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: Scalars['String']['output']; - /** The project's number. */ + /** + * The project's number. + * @deprecated 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. + */ number: Scalars['Int']['output']; - /** The project's owner. Currently limited to repositories, organizations, and users. */ + /** + * The project's owner. Currently limited to repositories, organizations, and users. + * @deprecated 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. + */ owner: Organization | Repository | User; - /** List of pending cards in this project */ + /** + * List of pending cards in this project + * @deprecated 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. + */ pendingCards: ProjectCardConnection; - /** Project progress details. */ + /** + * Project progress details. + * @deprecated 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. + */ progress: ProjectProgress; - /** The HTTP path for this project */ + /** + * The HTTP path for this project + * @deprecated 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. + */ resourcePath: Scalars['URI']['output']; - /** Whether the project is open or closed. */ + /** + * Whether the project is open or closed. + * @deprecated 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. + */ state: ProjectState; - /** Identifies the date and time when the object was last updated. */ + /** + * Identifies the date and time when the object was last updated. + * @deprecated 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. + */ updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL for this project */ + /** + * The HTTP URL for this project + * @deprecated 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. + */ url: Scalars['URI']['output']; /** Indicates if the object can be closed by the viewer. */ viewerCanClose: Scalars['Boolean']['output']; @@ -16783,31 +17261,68 @@ export type ProjectCard = Node & { * project column at a time. The column field will be null if the card is created * in a pending state and has yet to be associated with a column. Once cards are * associated with a column, they will not become pending in the future. + * @deprecated 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. */ column?: Maybe; - /** The card content item */ + /** + * The card content item + * @deprecated 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. + */ content?: Maybe; - /** Identifies the date and time when the object was created. */ + /** + * Identifies the date and time when the object was created. + * @deprecated 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. + */ createdAt: Scalars['DateTime']['output']; - /** The actor who created this card */ + /** + * The actor who created this card + * @deprecated 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. + */ creator?: Maybe; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; - /** The Node ID of the ProjectCard object */ + /** + * The Node ID of the ProjectCard object + * @deprecated 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. + */ id: Scalars['ID']['output']; - /** Whether the card is archived */ + /** + * Whether the card is archived + * @deprecated 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. + */ isArchived: Scalars['Boolean']['output']; - /** The card note */ + /** + * The card note + * @deprecated 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. + */ note?: Maybe; - /** The project that contains this card. */ + /** + * The project that contains this card. + * @deprecated 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. + */ project: Project; - /** The HTTP path for this card */ + /** + * The HTTP path for this card + * @deprecated 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. + */ resourcePath: Scalars['URI']['output']; - /** The state of ProjectCard */ + /** + * The state of ProjectCard + * @deprecated 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. + */ state?: Maybe; - /** Identifies the date and time when the object was last updated. */ + /** + * Identifies the date and time when the object was last updated. + * @deprecated 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. + */ updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL for this card */ + /** + * The HTTP URL for this card + * @deprecated 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. + */ url: Scalars['URI']['output']; }; @@ -16863,25 +17378,55 @@ export type ProjectCardState = /** A column inside a project. */ export type ProjectColumn = Node & { __typename?: 'ProjectColumn'; - /** List of cards in the column */ + /** + * List of cards in the column + * @deprecated 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. + */ cards: ProjectCardConnection; - /** Identifies the date and time when the object was created. */ + /** + * Identifies the date and time when the object was created. + * @deprecated 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. + */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; - /** The Node ID of the ProjectColumn object */ + /** + * The Node ID of the ProjectColumn object + * @deprecated 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. + */ id: Scalars['ID']['output']; - /** The project column's name. */ + /** + * The project column's name. + * @deprecated 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: Scalars['String']['output']; - /** The project that contains this column. */ + /** + * The project that contains this column. + * @deprecated 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. + */ project: Project; - /** The semantic purpose of the column */ + /** + * The semantic purpose of the column + * @deprecated 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. + */ purpose?: Maybe; - /** The HTTP path for this project column */ + /** + * The HTTP path for this project column + * @deprecated 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. + */ resourcePath: Scalars['URI']['output']; - /** Identifies the date and time when the object was last updated. */ + /** + * Identifies the date and time when the object was last updated. + * @deprecated 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. + */ updatedAt: Scalars['DateTime']['output']; - /** The HTTP URL for this project column */ + /** + * The HTTP URL for this project column + * @deprecated 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. + */ url: Scalars['URI']['output']; }; @@ -16979,9 +17524,15 @@ export type ProjectOrderField = export type ProjectOwner = { /** The Node ID of the ProjectOwner object */ id: Scalars['ID']['output']; - /** Find project by number. */ + /** + * Find project by number. + * @deprecated 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. + */ project?: Maybe; - /** A list of projects under the owner. */ + /** + * A list of projects under the owner. + * @deprecated 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. + */ projects: ProjectConnection; /** The HTTP path listing owners projects */ projectsResourcePath: Scalars['URI']['output']; @@ -17012,19 +17563,40 @@ export type ProjectOwnerProjectsArgs = { /** Project progress stats. */ export type ProjectProgress = { __typename?: 'ProjectProgress'; - /** The number of done cards. */ + /** + * The number of done cards. + * @deprecated 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. + */ doneCount: Scalars['Int']['output']; - /** The percentage of done cards. */ + /** + * The percentage of done cards. + * @deprecated 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. + */ donePercentage: Scalars['Float']['output']; - /** Whether progress tracking is enabled and cards with purpose exist for this project */ + /** + * Whether progress tracking is enabled and cards with purpose exist for this project + * @deprecated 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. + */ enabled: Scalars['Boolean']['output']; - /** The number of in-progress cards. */ + /** + * The number of in-progress cards. + * @deprecated 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. + */ inProgressCount: Scalars['Int']['output']; - /** The percentage of in-progress cards. */ + /** + * The percentage of in-progress cards. + * @deprecated 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. + */ inProgressPercentage: Scalars['Float']['output']; - /** The number of to do cards. */ + /** + * The number of to do cards. + * @deprecated 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. + */ todoCount: Scalars['Int']['output']; - /** The percentage of to do cards. */ + /** + * The percentage of to do cards. + * @deprecated 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. + */ todoPercentage: Scalars['Float']['output']; }; @@ -17057,12 +17629,17 @@ export type ProjectV2 = Closable & Node & Updatable & { createdAt: Scalars['DateTime']['output']; /** The actor who originally created the project. */ creator?: Maybe; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC. + */ databaseId?: Maybe; /** A field of the project */ field?: Maybe; /** List of fields and their constraints in the project */ fields: ProjectV2FieldConfigurationConnection; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; /** The Node ID of the ProjectV2 object */ id: Scalars['ID']['output']; /** List of items in the project */ @@ -17249,6 +17826,8 @@ export type ProjectV2Connection = { export type ProjectV2CustomFieldType = /** Date */ | 'DATE' + /** Iteration */ + | 'ITERATION' /** Number */ | 'NUMBER' /** Single Select */ @@ -17382,12 +17961,16 @@ export type ProjectV2FieldType = | 'MILESTONE' /** Number */ | 'NUMBER' + /** Parent issue */ + | 'PARENT_ISSUE' /** Repository */ | 'REPOSITORY' /** Reviewers */ | 'REVIEWERS' /** Single Select */ | 'SINGLE_SELECT' + /** Sub-issues progress */ + | 'SUB_ISSUES_PROGRESS' /** Text */ | 'TEXT' /** Title */ @@ -17426,7 +18009,10 @@ export type ProjectV2Item = Node & { createdAt: Scalars['DateTime']['output']; /** The actor who created the item. */ creator?: Maybe; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC. + */ databaseId?: Maybe; /** The field value of the first project field which matches the 'name' argument that is set on the item. */ fieldValueByName?: Maybe; @@ -17781,6 +18367,16 @@ export type ProjectV2ItemType = /** Redacted Item */ | 'REDACTED'; +/** Represents an iteration */ +export type ProjectV2Iteration = { + /** The duration of the iteration, in days. */ + duration: Scalars['Int']['input']; + /** The start date for the iteration. */ + startDate: Scalars['Date']['input']; + /** The title for the iteration. */ + title: Scalars['String']['input']; +}; + /** An iteration field inside a project. */ export type ProjectV2IterationField = Node & ProjectV2FieldCommon & { __typename?: 'ProjectV2IterationField'; @@ -17815,6 +18411,16 @@ export type ProjectV2IterationFieldConfiguration = { startDay: Scalars['Int']['output']; }; +/** Represents an iteration field configuration. */ +export type ProjectV2IterationFieldConfigurationInput = { + /** The duration of each iteration, in days. */ + duration: Scalars['Int']['input']; + /** Zero or more iterations for the field. */ + iterations: Array; + /** The start date for the first iteration. */ + startDate: Scalars['Date']['input']; +}; + /** Iteration field iteration settings for a project. */ export type ProjectV2IterationFieldIteration = { __typename?: 'ProjectV2IterationFieldIteration'; @@ -18073,8 +18679,13 @@ export type ProjectV2StatusUpdate = Node & { createdAt: Scalars['DateTime']['output']; /** The actor who created the status update. */ creator?: Maybe; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC. + */ databaseId?: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; /** The Node ID of the ProjectV2StatusUpdate object */ id: Scalars['ID']['output']; /** The project that contains this status update. */ @@ -18134,12 +18745,17 @@ export type ProjectV2View = Node & { __typename?: 'ProjectV2View'; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC. + */ databaseId?: Maybe; /** The view's visible fields. */ fields?: Maybe; /** The project view's filter. */ filter?: Maybe; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; /** * The view's group-by field. * @deprecated The `ProjectV2View#order_by` API is deprecated in favour of the more capable `ProjectV2View#group_by_field` API. Check out the `ProjectV2View#group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC. @@ -18311,10 +18927,15 @@ export type ProjectV2Workflow = Node & { __typename?: 'ProjectV2Workflow'; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC. + */ databaseId?: Maybe; /** Whether the workflow is enabled. */ enabled: Scalars['Boolean']['output']; + /** Identifies the primary key from the database as a BigInt. */ + fullDatabaseId?: Maybe; /** The Node ID of the ProjectV2Workflow object */ id: Scalars['ID']['output']; /** The name of the workflow. */ @@ -18495,7 +19116,7 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable closed: Scalars['Boolean']['output']; /** Identifies the date and time when the object was closed. */ closedAt?: Maybe; - /** List of issues that were may be closed by this pull request */ + /** List of issues that may be closed by this pull request */ closingIssuesReferences?: Maybe; /** A list of comments associated with the pull request. */ comments: IssueCommentConnection; @@ -18654,6 +19275,8 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable viewerCanEditFiles: Scalars['Boolean']['output']; /** Whether or not the viewer can enable auto-merge */ viewerCanEnableAutoMerge: Scalars['Boolean']['output']; + /** Indicates if the viewer can edit labels for this object. */ + viewerCanLabel: Scalars['Boolean']['output']; /** Indicates whether the viewer can bypass branch protections and merge the pull request immediately */ viewerCanMergeAsAdmin: Scalars['Boolean']['output']; /** Can user react to this subject */ @@ -19075,6 +19698,11 @@ export type PullRequestOrderField = /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ export type PullRequestParameters = { __typename?: 'PullRequestParameters'; + /** + * Array of allowed merge methods. Allowed values include `merge`, `squash`, and + * `rebase`. At least one option must be enabled. + */ + allowedMergeMethods?: Maybe>; /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismissStaleReviewsOnPush: Scalars['Boolean']['output']; /** Require an approving review in pull requests that modify files that have a designated code owner. */ @@ -19089,6 +19717,11 @@ export type PullRequestParameters = { /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ export type PullRequestParametersInput = { + /** + * Array of allowed merge methods. Allowed values include `merge`, `squash`, and + * `rebase`. At least one option must be enabled. + */ + allowedMergeMethods?: InputMaybe>; /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismissStaleReviewsOnPush: Scalars['Boolean']['input']; /** Require an approving review in pull requests that modify files that have a designated code owner. */ @@ -19644,7 +20277,7 @@ export type PullRequestTimelineItemEdge = { }; /** An item in a pull request timeline */ -export type 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; +export type 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. */ export type PullRequestTimelineItemsConnection = { @@ -19744,6 +20377,10 @@ export type PullRequestTimelineItemsItemType = | 'MILESTONED_EVENT' /** Represents a 'moved_columns_in_project' event on a given issue or pull request. */ | '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. */ | 'PINNED_EVENT' /** Represents a Git commit part of a pull request. */ @@ -19776,6 +20413,10 @@ export type PullRequestTimelineItemsItemType = | 'REVIEW_REQUEST_REMOVED_EVENT' /** Represents a 'subscribed' event on a given `Subscribable`. */ | '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. */ | 'TRANSFERRED_EVENT' /** Represents an 'unassigned' event on any assignable object. */ @@ -19854,7 +20495,7 @@ export type PushAllowanceEdge = { }; /** The query root of GitHub's GraphQL interface. */ -export type Query = { +export type Query = Node & { __typename?: 'Query'; /** Look up a code of conduct by its key */ codeOfConduct?: Maybe; @@ -19870,6 +20511,8 @@ export type Query = { enterpriseMemberInvitation?: Maybe; /** Look up a pending enterprise unaffiliated member invitation by invitation token. */ enterpriseMemberInvitationByToken?: Maybe; + /** ID of the object. */ + id: Scalars['ID']['output']; /** Look up an open source license by its key */ license?: Maybe; /** Return a list of known open source licenses */ @@ -19885,9 +20528,9 @@ export type Query = { /** Return information about the GitHub instance */ meta: GitHubMetadata; /** Fetches an object given its ID. */ - node?: Maybe; + node?: Maybe; /** Lookup nodes by a list of IDs. */ - nodes: Array>; + nodes: Array>; /** Lookup a organization by login. */ organization?: Maybe; /** The client's rate limit information. */ @@ -20067,6 +20710,8 @@ export type QuerySecurityAdvisoriesArgs = { after?: InputMaybe; before?: InputMaybe; classifications?: InputMaybe>; + epssPercentage?: InputMaybe; + epssPercentile?: InputMaybe; first?: InputMaybe; identifier?: InputMaybe; last?: InputMaybe; @@ -20957,6 +21602,27 @@ export type RemoveStarPayload = { starrable?: Maybe; }; +/** Autogenerated input type of RemoveSubIssue */ +export type RemoveSubIssueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the issue. */ + issueId: Scalars['ID']['input']; + /** The id of the sub-issue. */ + subIssueId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of RemoveSubIssue. */ +export type RemoveSubIssuePayload = { + __typename?: 'RemoveSubIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The parent of the sub-issue. */ + issue?: Maybe; + /** The sub-issue of the parent. */ + subIssue?: Maybe; +}; + /** Autogenerated input type of RemoveUpvote */ export type RemoveUpvoteInput = { /** A unique identifier for the client performing the mutation. */ @@ -21002,13 +21668,19 @@ export type RemovedFromProjectEvent = Node & { actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; - /** Identifies the primary key from the database. */ + /** + * Identifies the primary key from the database. + * @deprecated 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. + */ databaseId?: Maybe; /** The Node ID of the RemovedFromProjectEvent object */ id: Scalars['ID']['output']; /** Project referenced by event. */ project?: Maybe; - /** Column name referenced by this project event. */ + /** + * Column name referenced by this project event. + * @deprecated 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. + */ projectColumnName: Scalars['String']['output']; }; @@ -21170,7 +21842,7 @@ export type RepoAccessAuditEntry = AuditEntry & Node & OrganizationAuditEntryDat /** The privacy of a repository */ export type RepoAccessAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -21230,7 +21902,7 @@ export type RepoAddMemberAuditEntry = AuditEntry & Node & OrganizationAuditEntry /** The privacy of a repository */ export type RepoAddMemberAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -21343,7 +22015,7 @@ export type RepoArchivedAuditEntry = AuditEntry & Node & OrganizationAuditEntryD /** The privacy of a repository */ export type RepoArchivedAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -21959,7 +22631,7 @@ export type RepoCreateAuditEntry = AuditEntry & Node & OrganizationAuditEntryDat /** The privacy of a repository */ export type RepoCreateAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -22019,7 +22691,7 @@ export type RepoDestroyAuditEntry = AuditEntry & Node & OrganizationAuditEntryDa /** The privacy of a repository */ export type RepoDestroyAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -22079,7 +22751,7 @@ export type RepoRemoveMemberAuditEntry = AuditEntry & Node & OrganizationAuditEn /** The privacy of a repository */ export type RepoRemoveMemberAuditEntryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -22324,11 +22996,17 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent & planFeatures: RepositoryPlanFeatures; /** The primary language of the repository's code. */ primaryLanguage?: Maybe; - /** Find project by number. */ + /** + * Find project by number. + * @deprecated 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. + */ project?: Maybe; /** Finds and returns the Project according to the provided Project number. */ projectV2?: Maybe; - /** A list of projects under the owner. */ + /** + * A list of projects under the owner. + * @deprecated 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. + */ projects: ProjectConnection; /** The HTTP path listing the repository's projects */ projectsResourcePath: Scalars['URI']['output']; @@ -22837,6 +23515,7 @@ export type RepositoryRulesetsArgs = { first?: InputMaybe; includeParents?: InputMaybe; last?: InputMaybe; + targets?: InputMaybe>; }; @@ -23591,28 +24270,15 @@ export type RepositoryRuleType = | 'CREATION' /** Only allow users with bypass permissions to delete matching refs. */ | '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' /** Branch is read-only. Users cannot push to the branch. */ | '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 graph. */ | 'MAX_FILE_SIZE' /** Max ref updates */ | 'MAX_REF_UPDATES' @@ -23713,6 +24379,8 @@ export type RepositoryRulesetBypassActor = Node & { bypassMode?: Maybe; /** This actor represents the ability for a deploy key to bypass */ deployKey: Scalars['Boolean']['output']; + /** This actor represents the ability for an enterprise owner to bypass */ + enterpriseOwner: Scalars['Boolean']['output']; /** The Node ID of the RepositoryRulesetBypassActor object */ id: Scalars['ID']['output']; /** This actor represents the ability for an organization owner to bypass */ @@ -23766,6 +24434,8 @@ export type RepositoryRulesetBypassActorInput = { bypassMode: RepositoryRulesetBypassActorBypassMode; /** For deploy key bypasses, true. Can only use ALWAYS as the bypass mode */ deployKey?: InputMaybe; + /** For enterprise owner bypasses, true */ + enterpriseOwner?: InputMaybe; /** For organization owner bypasses, true */ organizationAdmin?: InputMaybe; /** For role bypasses, the role database ID */ @@ -23794,12 +24464,14 @@ export type RepositoryRulesetEdge = { node?: Maybe; }; -/** The targets supported for rulesets. NOTE: The push target is in beta and subject to change. */ +/** The targets supported for rulesets. */ export type RepositoryRulesetTarget = /** Branch */ | 'BRANCH' /** Push */ | 'PUSH' + /** repository */ + | 'REPOSITORY' /** Tag */ | 'TAG'; @@ -23840,7 +24512,7 @@ export type RepositoryTopicEdge = { /** The repository's visibility level. */ export type RepositoryVisibility = - /** The repository is visible only to users in the same business. */ + /** The repository is visible only to users in the same enterprise. */ | 'INTERNAL' /** The repository is visible only to those with explicit access. */ | 'PRIVATE' @@ -24022,6 +24694,29 @@ export type RepositoryVulnerabilityAlertState = /** An alert that is still open. */ | 'OPEN'; +/** Autogenerated input type of ReprioritizeSubIssue */ +export type ReprioritizeSubIssueInput = { + /** The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). */ + afterId?: InputMaybe; + /** The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). */ + beforeId?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the parent issue. */ + issueId: Scalars['ID']['input']; + /** The id of the sub-issue to reprioritize. */ + subIssueId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ReprioritizeSubIssue. */ +export type ReprioritizeSubIssuePayload = { + __typename?: 'ReprioritizeSubIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The parent issue that the sub-issue was reprioritized in. */ + issue?: Maybe; +}; + /** Autogenerated input type of RequestReviews */ export type RequestReviewsInput = { /** A unique identifier for the client performing the mutation. */ @@ -24140,6 +24835,8 @@ export type RequiredStatusCheckInput = { */ export type RequiredStatusChecksParameters = { __typename?: 'RequiredStatusChecksParameters'; + /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ + doNotEnforceOnCreate: Scalars['Boolean']['output']; /** Status checks that are required. */ requiredStatusChecks: Array; /** @@ -24155,6 +24852,8 @@ export type RequiredStatusChecksParameters = { * commits must first be pushed to another ref where the checks pass. */ export type RequiredStatusChecksParametersInput = { + /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ + doNotEnforceOnCreate?: InputMaybe; /** Status checks that are required. */ requiredStatusChecks: Array; /** @@ -24479,7 +25178,7 @@ export type RuleEnforcement = | 'EVALUATE'; /** Types which can be parameters for `RepositoryRule` objects. */ -export type RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters; +export type 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. */ export type RuleParametersInput = { @@ -24501,6 +25200,8 @@ export type RuleParametersInput = { maxFilePathLength?: InputMaybe; /** Parameters used for the `max_file_size` rule type */ maxFileSize?: InputMaybe; + /** Parameters used for the `merge_queue` rule type */ + mergeQueue?: InputMaybe; /** Parameters used for the `pull_request` rule type */ pullRequest?: InputMaybe; /** Parameters used for the `required_deployments` rule type */ @@ -24516,7 +25217,7 @@ export type RuleParametersInput = { }; /** Types which can have `RepositoryRule` objects. */ -export type RuleSource = Organization | Repository; +export type RuleSource = Enterprise | Organization | Repository; /** The possible digest algorithms used to sign SAML requests for an identity provider. */ export type SamlDigestAlgorithm = @@ -24671,14 +25372,21 @@ export type SecurityAdvisory = Node & { __typename?: 'SecurityAdvisory'; /** The classification of the advisory */ classification: SecurityAdvisoryClassification; - /** The CVSS associated with this advisory */ + /** + * The CVSS associated with this advisory + * @deprecated `cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC. + */ cvss: Cvss; + /** The CVSS associated with this advisory */ + cvssSeverities: CvssSeverities; /** CWEs associated with this Advisory */ cwes: CweConnection; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** This is a long plaintext description of the advisory */ description: Scalars['String']['output']; + /** The Exploit Prediction Scoring System */ + epss?: Maybe; /** The GitHub Security Advisory ID */ ghsaId: Scalars['String']['output']; /** The Node ID of the SecurityAdvisory object */ @@ -24820,6 +25528,10 @@ export type SecurityAdvisoryOrder = { /** Properties by which security advisory connections can be ordered. */ export type SecurityAdvisoryOrderField = + /** Order advisories by EPSS percentage */ + | 'EPSS_PERCENTAGE' + /** Order advisories by EPSS percentile */ + | 'EPSS_PERCENTILE' /** Order advisories by publication time */ | 'PUBLISHED_AT' /** Order advisories by update time */ @@ -25027,6 +25739,8 @@ export type SmimeSignature = GitSignature & { * GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; + /** The date the signature was verified, if valid */ + verifiedAt?: Maybe; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; }; @@ -25066,6 +25780,8 @@ export type SocialAccountEdge = { /** Software or company that hosts social media accounts. */ export type SocialAccountProvider = + /** Decentralized microblogging social platform. */ + | 'BLUESKY' /** Social media and networking website. */ | 'FACEBOOK' /** Catch-all for social media providers that do not yet have specific handling. */ @@ -26412,6 +27128,8 @@ export type SshSignature = GitSignature & { * GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; + /** The date the signature was verified, if valid */ + verifiedAt?: Maybe; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; }; @@ -26751,6 +27469,43 @@ export type StripeConnectAccount = { stripeDashboardUrl: Scalars['URI']['output']; }; +/** Represents a 'sub_issue_added' event on a given issue. */ +export type SubIssueAddedEvent = Node & { + __typename?: 'SubIssueAddedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the SubIssueAddedEvent object */ + id: Scalars['ID']['output']; + /** The sub-issue added. */ + subIssue?: Maybe; +}; + +/** Represents a 'sub_issue_removed' event on a given issue. */ +export type SubIssueRemovedEvent = Node & { + __typename?: 'SubIssueRemovedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the SubIssueRemovedEvent object */ + id: Scalars['ID']['output']; + /** The sub-issue removed. */ + subIssue?: Maybe; +}; + +/** Summary of the state of an issue's sub-issues */ +export type SubIssuesSummary = { + __typename?: 'SubIssuesSummary'; + /** Count of completed sub-issues */ + completed: Scalars['Int']['output']; + /** Percent of sub-issues which are completed */ + percentCompleted: Scalars['Int']['output']; + /** Count of total number of sub-issues */ + total: Scalars['Int']['output']; +}; + /** Autogenerated input type of SubmitPullRequestReview */ export type SubmitPullRequestReviewInput = { /** The text field to set on the Pull Request Review. */ @@ -28139,6 +28894,15 @@ export type TreeEntry = { type: Scalars['String']['output']; }; +/** Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. */ +export type 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'; + /** Autogenerated input type of UnarchiveProjectV2Item */ export type UnarchiveProjectV2ItemInput = { /** A unique identifier for the client performing the mutation. */ @@ -28255,6 +29019,8 @@ export type UnknownSignature = GitSignature & { * GitHub, otherwise represents reason why signature is considered invalid. */ state: GitSignatureState; + /** The date the signature was verified, if valid */ + verifiedAt?: Maybe; /** True if the signature was made with GitHub's signing key. */ wasSignedByGitHub: Scalars['Boolean']['output']; }; @@ -28520,23 +29286,6 @@ export type UnresolveReviewThreadPayload = { thread?: Maybe; }; -/** Autogenerated input type of UnsubscribeFromNotifications */ -export type UnsubscribeFromNotificationsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The NotificationThread IDs of the objects to unsubscribe from. */ - ids: Array; -}; - -/** Autogenerated return type of UnsubscribeFromNotifications. */ -export type UnsubscribeFromNotificationsPayload = { - __typename?: 'UnsubscribeFromNotificationsPayload'; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; - /** Did the operation succeed? */ - success?: Maybe; -}; - /** Represents an 'unsubscribed' event on a given `Subscribable`. */ export type UnsubscribedEvent = Node & { __typename?: 'UnsubscribedEvent'; @@ -28799,6 +29548,27 @@ export type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload = { message?: Maybe; }; +/** Autogenerated input type of UpdateEnterpriseDeployKeySetting */ +export type UpdateEnterpriseDeployKeySettingInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the enterprise on which to set the deploy key setting. */ + enterpriseId: Scalars['ID']['input']; + /** The value for the deploy key setting on the enterprise. */ + settingValue: EnterpriseEnabledDisabledSettingValue; +}; + +/** Autogenerated return type of UpdateEnterpriseDeployKeySetting. */ +export type UpdateEnterpriseDeployKeySettingPayload = { + __typename?: 'UpdateEnterpriseDeployKeySettingPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The enterprise with the updated deploy key setting. */ + enterprise?: Maybe; + /** A message confirming the result of updating the deploy key setting. */ + message?: Maybe; +}; + /** Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting */ export type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput = { /** A unique identifier for the client performing the mutation. */ @@ -29087,6 +29857,27 @@ export type UpdateEnterpriseTeamDiscussionsSettingPayload = { message?: Maybe; }; +/** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting */ +export type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. */ + enterpriseId: Scalars['ID']['input']; + /** The value for the two-factor authentication disallowed methods setting on the enterprise. */ + settingValue: EnterpriseDisallowedMethodsSettingValue; +}; + +/** Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting. */ +export type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload = { + __typename?: 'UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The enterprise with the updated two-factor authentication disallowed methods setting. */ + enterprise?: Maybe; + /** A message confirming the result of updating the two-factor authentication disallowed methods setting. */ + message?: Maybe; +}; + /** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting */ export type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput = { /** A unique identifier for the client performing the mutation. */ @@ -29482,6 +30273,33 @@ export type UpdateProjectV2DraftIssuePayload = { draftIssue?: Maybe; }; +/** Autogenerated input type of UpdateProjectV2Field */ +export type UpdateProjectV2FieldInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the field to update. */ + fieldId: Scalars['ID']['input']; + /** Configuration for an iteration field. */ + iterationConfiguration?: InputMaybe; + /** The name to update. */ + name?: InputMaybe; + /** + * 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?: InputMaybe>; +}; + +/** Autogenerated return type of UpdateProjectV2Field. */ +export type UpdateProjectV2FieldPayload = { + __typename?: 'UpdateProjectV2FieldPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The updated field. */ + projectV2Field?: Maybe; +}; + /** Autogenerated input type of UpdateProjectV2 */ export type UpdateProjectV2Input = { /** A unique identifier for the client performing the mutation. */ @@ -30152,11 +30970,17 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P pinnedItems: PinnableItemConnection; /** Returns how many more items this profile owner can pin to their profile. */ pinnedItemsRemaining: Scalars['Int']['output']; - /** Find project by number. */ + /** + * Find project by number. + * @deprecated 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. + */ project?: Maybe; /** Find a project by number. */ projectV2?: Maybe; - /** A list of projects under the owner. */ + /** + * A list of projects under the owner. + * @deprecated 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. + */ projects: ProjectConnection; /** The HTTP path listing user's projects */ projectsResourcePath: Scalars['URI']['output']; @@ -30226,6 +31050,8 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this user */ url: Scalars['URI']['output']; + /** 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? */ viewerCanChangePinnedItems: Scalars['Boolean']['output']; /** Can the current viewer create new projects on this owner. */ @@ -30917,6 +31743,41 @@ export type UserListSuggestion = { name?: Maybe; }; +/** A repository owned by an Enterprise Managed user. */ +export type UserNamespaceRepository = Node & { + __typename?: 'UserNamespaceRepository'; + /** The Node ID of the UserNamespaceRepository object */ + id: Scalars['ID']['output']; + /** The name of the repository. */ + name: Scalars['String']['output']; + /** The repository's name with owner. */ + nameWithOwner: Scalars['String']['output']; + /** The user owner of the repository. */ + owner: Organization | User; +}; + +/** A list of repositories owned by users in an enterprise with Enterprise Managed Users. */ +export type UserNamespaceRepositoryConnection = { + __typename?: 'UserNamespaceRepositoryConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type UserNamespaceRepositoryEdge = { + __typename?: 'UserNamespaceRepositoryEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + /** The user's description of what they're currently doing. */ export type UserStatus = Node & { __typename?: 'UserStatus'; @@ -30977,6 +31838,13 @@ export type UserStatusOrderField = /** Order user statuses by when they were updated. */ | 'UPDATED_AT'; +/** Whether a user being viewed contains public or private information. */ +export type 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. */ export type VerifiableDomain = Node & { __typename?: 'VerifiableDomain'; @@ -31271,12 +32139,16 @@ export type WorkflowState = /** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ export type WorkflowsParameters = { __typename?: 'WorkflowsParameters'; + /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ + doNotEnforceOnCreate: Scalars['Boolean']['output']; /** Workflows that must pass for this rule to pass. */ workflows: Array; }; /** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ export type WorkflowsParametersInput = { + /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ + doNotEnforceOnCreate?: InputMaybe; /** Workflows that must pass for this rule to pass. */ workflows: Array; }; diff --git a/schema.graphql b/schema.graphql index 55a7e16f1..c02a91d66 100644 --- a/schema.graphql +++ b/schema.graphql @@ -1,7 +1,5 @@ -directive @requiredCapabilities(requiredCapabilities: [String!]) on ARGUMENT_DEFINITION | ENUM | ENUM_VALUE | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | INPUT_OBJECT | INTERFACE | OBJECT | SCALAR | UNION - """ Autogenerated input type of AbortQueuedMigrations """ @@ -245,6 +243,46 @@ interface Actor { url: URI! } +""" +The connection type for Actor. +""" +type ActorConnection { + """ + A list of edges. + """ + edges: [ActorEdge] + + """ + A list of nodes. + """ + nodes: [Actor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Actor +} + """ Location information for an actor """ @@ -294,15 +332,26 @@ enum ActorType { Autogenerated input type of AddAssigneesToAssignable """ input AddAssigneesToAssignableInput { + """ + Configuration for assigning Copilot to this issue. + """ + agentAssignment: AgentAssignmentInput + """ The id of the assignable object to add assignees to. """ assignableId: ID! """ - The id of users to add as assignees. + The ids of actors (users or bots) to add as assignees. Mutually exclusive with `assignees`. """ - assigneeIds: [ID!]! + assigneeIds: [ID!] + + """ + An array of actors to add as assignees, each with optional rationale or + suggest flag. Mutually exclusive with `assigneeIds`. + """ + assignees: [AssigneeUpdateInput!] """ A unique identifier for the client performing the mutation. @@ -325,6 +374,81 @@ type AddAssigneesToAssignablePayload { clientMutationId: String } +""" +Autogenerated input type of AddBlockedBy +""" +input AddBlockedByInput { + """ + The ID of the issue that blocks the given issue. + """ + blockingIssueId: ID! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue to be blocked. + """ + issueId: ID! +} + +""" +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 AddCloseIssueReferences +""" +input AddCloseIssueReferencesInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the issue to add closing references to. + """ + issueId: ID! + + """ + IDs of the pull requests to link as closing references. Limit: 10. + """ + pullRequestIds: [ID!]! +} + +""" +Autogenerated return type of AddCloseIssueReferences. +""" +type AddCloseIssueReferencesPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue the closing references were added to. + """ + issue: Issue +} + """ Autogenerated input type of AddComment """ @@ -532,12 +656,18 @@ input AddLabelsToLabelableInput { """ The ids of the labels to add. """ - labelIds: [ID!]! + labelIds: [ID!] """ The id of the labelable object to add labels to. """ labelableId: ID! + + """ + The labels to add, each with optional `rationale` or a `suggest` flag that + stores the addition as a pending suggestion. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] } """ @@ -721,6 +851,41 @@ type AddProjectV2ItemByIdPayload { item: ProjectV2Item } +""" +Autogenerated input type of AddPullRequestCreationCapBypassUsers +""" +input AddPullRequestCreationCapBypassUsersInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the repository. + """ + repositoryId: ID! + + """ + The Node IDs of the users to add to the bypass list. + """ + userIds: [ID!]! +} + +""" +Autogenerated return type of AddPullRequestCreationCapBypassUsers. +""" +type AddPullRequestCreationCapBypassUsersPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The repository with the updated bypass list. + """ + repository: Repository +} + """ Autogenerated input type of AddPullRequestReviewComment """ @@ -903,7 +1068,7 @@ input AddPullRequestReviewThreadInput { """ Path to the file being commented on. """ - path: String! + path: String """ The node ID of the pull request reviewing @@ -1036,6 +1201,46 @@ type AddReactionPayload { subject: Reactable } +""" +Autogenerated input type of AddRelatesTo +""" +input AddRelatesToInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue. + """ + issueId: ID! + + """ + The ID of the related issue. + """ + relatedIssueId: ID! +} + +""" +Autogenerated return type of AddRelatesTo. +""" +type AddRelatesToPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The source issue. + """ + issue: Issue + + """ + The related issue. + """ + relatedIssue: Issue +} + """ Autogenerated input type of AddStar """ @@ -1243,7 +1448,7 @@ type AddedToProjectEvent implements Node { """ Project referenced by event. """ - project: Project + project: Project @deprecated(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.") """ Project card referenced by this project event. @@ -1257,53 +1462,143 @@ type AddedToProjectEvent implements Node { } """ -An announcement banner for an enterprise or organization. +Represents a 'added_to_project_v2' event on a given issue or pull request. """ -type AnnouncementBanner { +type AddedToProjectV2Event implements Node & ProjectV2Event { """ - The date the announcement was created + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. """ createdAt: DateTime! """ - The expiration date of the announcement, if any + The Node ID of the AddedToProjectV2Event object """ - expiresAt: DateTime + id: ID! """ - Whether the announcement can be dismissed by the user + Project referenced by event. """ - isUserDismissible: Boolean! + project: ProjectV2 """ - The text of the announcement + Did this event result from workflow automation? """ - message: String + wasAutomated: Boolean! } """ -Represents an announcement banner. +Represents an 'added_to_stack' event on a given pull request. """ -interface AnnouncementBannerI { +type AddedToStackEvent implements Node { """ - The text of the announcement + Identifies the actor who performed the event. """ - 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.") + actor: Actor + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the AddedToStackEvent object + """ + id: ID! + + """ + Pull request added to the stack. + """ + pullRequest: PullRequest + + """ + Database ID of the stack. + """ + stackId: BigInt + + """ + Number of the stack in its repository. + """ + stackNumber: Int +} + +""" +Represents configuration for assigning Copilot to an issue (public variant) +""" +input AgentAssignmentInput { + """ + The base ref/branch for the repository. Defaults to the default branch if not provided. + """ + baseRef: String + + """ + Custom agent for Copilot. + """ + customAgent: String + + """ + Custom instructions for Copilot. + """ + customInstructions: String + + """ + The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided. + """ + targetRepositoryId: ID +} + +""" +Copilot Agentic fields in context of the current viewer. +""" +interface Agentic { + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for task updates. + """ + viewerCopilotAgentTaskUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String +} + +""" +An announcement banner for an enterprise or organization. +""" +type AnnouncementBanner { """ The date the announcement was created """ - 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.") + createdAt: DateTime! """ The expiration date of the announcement, if any """ - 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.") + expiresAt: DateTime """ Whether the announcement can be dismissed by the user """ - 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.") + isUserDismissible: Boolean! + + """ + The text of the announcement + """ + message: String } """ @@ -1401,6 +1696,46 @@ type App implements Node { url: URI! } +""" +Autogenerated input type of ApplyPendingIssueSuggestions +""" +input ApplyPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to apply. + """ + actorId: ID! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! + + """ + The pending suggestions to apply. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of ApplyPendingIssueSuggestions. +""" +type ApplyPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated issue. + """ + issue: Issue +} + """ Autogenerated input type of ApproveDeployments """ @@ -1506,6 +1841,36 @@ type ArchiveProjectV2ItemPayload { item: ProjectV2Item } +""" +Autogenerated input type of ArchivePullRequest +""" +input ArchivePullRequestInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the pull request to archive. + """ + pullRequestId: ID! +} + +""" +Autogenerated return type of ArchivePullRequest. +""" +type ArchivePullRequestPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The pull request that was archived. + """ + pullRequest: PullRequest +} + """ Autogenerated input type of ArchiveRepository """ @@ -1540,6 +1905,31 @@ type ArchiveRepositoryPayload { An object that can have users assigned to it. """ interface Assignable { + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -1564,6 +1954,41 @@ interface Assignable { """ last: Int ): UserConnection! + + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + + """ + Indicates if the viewer can edit assignees for this object. + """ + viewerCanAssign: Boolean! } """ @@ -1595,6 +2020,11 @@ type AssignedEvent implements Node { """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ Identifies the user who was assigned. """ @@ -1606,6 +2036,71 @@ Types that can be assigned to issues. """ union Assignee = Bot | Mannequin | Organization | User +""" +The connection type for Assignee. +""" +type AssigneeConnection { + """ + A list of edges. + """ + edges: [AssigneeEdge] + + """ + A list of nodes. + """ + nodes: [Assignee] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type AssigneeEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Assignee +} + +""" +Specifies an actor (user or bot) to assign to an issue, with optional metadata such as a rationale. +""" +input AssigneeUpdateInput { + """ + The ID of the actor (user or bot) to assign. + """ + actorId: ID! + + """ + The confidence level the agent had when selecting this value. + """ + confidence: IssueEventConfidenceLevel + + """ + Optional rationale describing why this value was selected. Max 280 characters. + """ + rationale: String + + """ + If true, the value is stored as a pending suggestion for human review rather than being applied directly. + """ + suggest: Boolean +} + """ An entry in the audit log. """ @@ -1613,67 +2108,67 @@ interface AuditEntry { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ @@ -2163,6 +2658,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. """ @@ -2213,6 +2808,11 @@ 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. """ @@ -2223,7 +2823,7 @@ Parameters to be used for the branch_name_pattern rule """ type BranchNamePatternParameters { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -2248,7 +2848,7 @@ Parameters to be used for the branch_name_pattern rule """ input BranchNamePatternParametersInput { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -2688,7 +3288,7 @@ input BulkSponsorship { """ Types that can represent a repository ruleset bypass actor. """ -union BypassActor = App | Team +union BypassActor = App | EnterpriseTeam | Team | User """ A user, team, or app who has the ability to bypass a force push requirement on a protected branch. @@ -3075,7 +3675,12 @@ type CheckAnnotation { """ 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 2027-01-01 UTC.") + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt """ The position of this annotation. @@ -4333,16 +4938,31 @@ input CloseIssueInput { """ clientMutationId: String + """ + The confidence level the agent had when suggesting this close. Only meaningful when isSuggestion is true. + """ + confidence: IssueEventConfidenceLevel + """ ID of the issue that this is a duplicate of. """ duplicateIssueId: ID + """ + If true, the close action is stored as a pending suggestion for human review rather than being applied directly. + """ + isSuggestion: Boolean + """ ID of the issue to be closed. """ issueId: ID! + """ + Optional rationale describing why the issue should be closed. Max 280 characters. + """ + rationale: String + """ The reason the issue is to be closed. """ @@ -4418,11 +5038,21 @@ type ClosedEvent implements Node & UniformResourceLocatable { """ createdAt: DateTime! + """ + The issue or pull request that this issue was marked as a duplicate of. + """ + duplicateOf: IssueOrPullRequest + """ The Node ID of the ClosedEvent object """ id: ID! + """ + The intent behind the agent's action, including rationale and confidence. + """ + intent: IssueUpdateIntent + """ The HTTP path for this closed event. """ @@ -4431,7 +5061,7 @@ type ClosedEvent implements Node & UniformResourceLocatable { """ The reason the issue state was changed to closed. """ - stateReason: IssueStateReason + stateReason: IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.") """ The HTTP URL for this closed event. @@ -4444,6 +5074,48 @@ The object which triggered a `ClosedEvent`. """ union Closer = Commit | ProjectV2 | PullRequest +""" +Enforce minimum line coverage thresholds on pull requests. This rule evaluates +uploaded coverage data but does not wait for coverage uploads. To ensure +coverage is evaluated before merging, make each status check associated with a +coverage upload a required status check. +""" +type CodeCoverageParameters { + """ + The maximum percentage points that line coverage may drop relative to the + default branch. Pull requests that reduce line coverage by more than this + amount will be blocked. + """ + maxCoverageDrop: Float + + """ + The absolute minimum line coverage percentage required. Pull requests with + line coverage below this threshold will be blocked. + """ + minimumCoverage: Float +} + +""" +Enforce minimum line coverage thresholds on pull requests. This rule evaluates +uploaded coverage data but does not wait for coverage uploads. To ensure +coverage is evaluated before merging, make each status check associated with a +coverage upload a required status check. +""" +input CodeCoverageParametersInput { + """ + The maximum percentage points that line coverage may drop relative to the + default branch. Pull requests that reduce line coverage by more than this + amount will be blocked. + """ + maxCoverageDrop: Float + + """ + The absolute minimum line coverage percentage required. Pull requests with + line coverage below this threshold will be blocked. + """ + minimumCoverage: Float +} + """ The Code of Conduct for a repository """ @@ -4479,6 +5151,55 @@ type CodeOfConduct implements Node { url: URI } +""" +Choose which severity levels of code quality results should block pull request +merges. When configured, a code quality analysis must be done on the pull +request before the changes can be merged. +""" +type CodeQualityParameters { + """ + The lowest severity level at which code quality reviews need to be resolved before commits can be merged. + """ + severity: CodeQualitySeverity! +} + +""" +Choose which severity levels of code quality results should block pull request +merges. When configured, a code quality analysis must be done on the pull +request before the changes can be merged. +""" +input CodeQualityParametersInput { + """ + The lowest severity level at which code quality reviews need to be resolved before commits can be merged. + """ + severity: CodeQualitySeverity! +} + +""" +The lowest severity level at which code quality reviews need to be resolved before commits can be merged. +""" +enum CodeQualitySeverity { + """ + All + """ + ALL + + """ + Errors + """ + ERRORS + + """ + Notes and higher + """ + NOTES + + """ + Warnings and higher + """ + WARNINGS +} + """ Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for @@ -5256,7 +5977,7 @@ Parameters to be used for the commit_author_email_pattern rule """ type CommitAuthorEmailPatternParameters { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -5281,7 +6002,7 @@ Parameters to be used for the commit_author_email_pattern rule """ input CommitAuthorEmailPatternParametersInput { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -5377,8 +6098,9 @@ type CommitComment implements Comment & Deletable & Minimizable & Node & Reactab """ Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. """ minimizedReason: String @@ -5497,6 +6219,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. """ @@ -5773,7 +6500,7 @@ Parameters to be used for the commit_message_pattern rule """ type CommitMessagePatternParameters { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -5798,7 +6525,7 @@ Parameters to be used for the commit_message_pattern rule """ input CommitMessagePatternParametersInput { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -5863,7 +6590,7 @@ Parameters to be used for the committer_email_pattern rule """ type CommitterEmailPatternParameters { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -5888,7 +6615,7 @@ Parameters to be used for the committer_email_pattern rule """ input CommitterEmailPatternParametersInput { """ - How this rule will appear to users. + How this rule appears when configuring it. """ name: String @@ -6058,6 +6785,41 @@ type ConnectedEvent implements Node { subject: ReferencedSubject! } +""" +The content warning for a repository +""" +type ContentWarning { + """ + The content warning' category. E.g. 'mis_dis_information' + """ + category: String! + + """ + The content warning's custom sub category text. E.g. 'dangerous stuff.' + """ + customSubCategory: String + + """ + The content warning's sub category. E.g. 'medical_scientific' + """ + subCategory: String + + """ + The content warning's sub title. E.g. 'The information contained in this page has not been verified.' + """ + subTitle: String + + """ + The content warning's title. E.g. 'This page may contain false or misleading information.' + """ + title: String! + + """ + The type of content warning. E.g. 'interstitial' + """ + type: String! +} + """ The Contributing Guidelines for a repository. """ @@ -6252,7 +7014,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 { """ @@ -6821,6 +7584,36 @@ type ConvertToDraftEvent implements Node & UniformResourceLocatable { url: URI! } +""" +Represents a 'converted_from_draft' event on a given issue or pull request. +""" +type ConvertedFromDraftEvent implements Node & ProjectV2Event { + """ + 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 ConvertedFromDraftEvent object + """ + id: ID! + + """ + Project referenced by event. + """ + project: ProjectV2 + + """ + Did this event result from workflow automation? + """ + wasAutomated: Boolean! +} + """ Represents a 'converted_note_to_issue' event on a given issue or pull request. """ @@ -6848,7 +7641,7 @@ type ConvertedNoteToIssueEvent implements Node { """ Project referenced by event. """ - project: Project + project: Project @deprecated(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.") """ Project card referenced by this project event. @@ -6886,6 +7679,38 @@ type ConvertedToDiscussionEvent implements Node { id: ID! } +""" +Request Copilot code review for new pull requests automatically if the author +has access to Copilot code review and AI credits. +""" +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 and AI credits. +""" +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 """ @@ -6895,6 +7720,11 @@ type CopilotEndpoints { """ api: String! + """ + Copilot experimentation (edge TAS) endpoint + """ + exp: String + """ Copilot origin tracker endpoint """ @@ -7522,7 +8352,9 @@ Autogenerated input type of CreateEnterpriseOrganization """ input CreateEnterpriseOrganizationInput { """ - The logins for the administrators of the new organization. + The logins of additional organization owners. Listed users are invited unless + owner invitations are disabled, in which case they are added directly. + Installation requests also add existing enterprise members directly. """ adminLogins: [String!]! @@ -7612,7 +8444,9 @@ Autogenerated input type of CreateIpAllowListEntry """ input CreateIpAllowListEntryInput { """ - An IP address or range of addresses in CIDR notation. + An IP address or range of addresses in CIDR notation. Ranges that cover the + entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for + organizations or enterprises. """ allowListValue: String! @@ -7652,12 +8486,112 @@ type CreateIpAllowListEntryPayload { ipAllowListEntry: IpAllowListEntry } +""" +Autogenerated input type of CreateIssueField +""" +input CreateIssueFieldInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The data type of the issue field. + """ + dataType: IssueFieldDataType! + + """ + A description of the issue field. + """ + description: String + + """ + The name of the issue field. + """ + name: String! + + """ + The options for the issue field if applicable. + """ + options: [IssueFieldSingleSelectOptionInput!] + + """ + The ID of the organization where the issue field will be created. + """ + ownerId: ID! + + """ + The visibility of the issue field. + """ + visibility: IssueFieldVisibility +} + +""" +Autogenerated return type of CreateIssueField. +""" +type CreateIssueFieldPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created issue field. + """ + issueField: IssueFields +} + +""" +Autogenerated input type of CreateIssueFieldValue +""" +input CreateIssueFieldValueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The field value to create. + """ + issueField: IssueFieldCreateOrUpdateInput! + + """ + The ID of the issue. + """ + issueId: ID! +} + +""" +Autogenerated return type of CreateIssueFieldValue. +""" +type CreateIssueFieldValuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue object. + """ + issue: Issue + + """ + The newly created issue field value. + """ + issueFieldValue: IssueFieldValue +} + """ Autogenerated input type of CreateIssue """ input CreateIssueInput { """ - The Node ID for the user assignee for this issue. + Configuration for assigning Copilot to this issue. + """ + agentAssignment: AgentAssignmentInput + + """ + The Node ID of assignees for this issue. """ assigneeIds: [ID!] @@ -7671,11 +8605,21 @@ input CreateIssueInput { """ clientMutationId: String + """ + An array of issue fields to set on the issue during creation + """ + issueFields: [IssueFieldCreateOrUpdateInput!] + """ The name of an issue template in the repository, assigns labels and assignees from the template to the issue """ issueTemplate: String + """ + The Node ID of the issue type for this issue + """ + issueTypeId: ID + """ An array of Node IDs of labels for this issue. """ @@ -7696,6 +8640,11 @@ input CreateIssueInput { """ projectIds: [ID!] + """ + An array of Node IDs for Projects V2 associated with this issue. + """ + projectV2Ids: [ID!] + """ The Node ID of the repository. """ @@ -7722,6 +8671,56 @@ type CreateIssuePayload { issue: Issue } +""" +Autogenerated input type of CreateIssueType +""" +input CreateIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Color for the issue type + """ + color: IssueTypeColor + + """ + Description of the new issue type + """ + description: String + + """ + Whether or not the issue type is enabled on the org level + """ + isEnabled: Boolean! + + """ + Name of the new issue type + """ + name: String! + + """ + The ID for the organization on which the issue type is created + """ + ownerId: ID! +} + +""" +Autogenerated return type of CreateIssueType. +""" +type CreateIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created issue type + """ + issueType: IssueType +} + """ Autogenerated input type of CreateLabel """ @@ -7941,6 +8940,11 @@ input CreateProjectV2FieldInput { """ iterationConfiguration: ProjectV2IterationFieldConfigurationInput + """ + Options for a multi select field. At least one value is required if data_type is MULTI_SELECT + """ + multiSelectOptions: [ProjectV2MultiSelectFieldOptionInput!] + """ The name of the field. """ @@ -8002,6 +9006,41 @@ input CreateProjectV2Input { title: String! } +""" +Autogenerated input type of CreateProjectV2IssueField +""" +input CreateProjectV2IssueFieldInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the IssueField to create the field for. + """ + issueFieldId: ID! + + """ + The ID of the Project to create the field in. + """ + projectId: ID! +} + +""" +Autogenerated return type of CreateProjectV2IssueField. +""" +type CreateProjectV2IssueFieldPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new field. + """ + projectV2Field: ProjectV2FieldConfiguration +} + """ Autogenerated return type of CreateProjectV2. """ @@ -8067,6 +9106,51 @@ type CreateProjectV2StatusUpdatePayload { statusUpdate: ProjectV2StatusUpdate } +""" +Autogenerated input type of CreateProjectV2View +""" +input CreateProjectV2ViewInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The configuration for the view. + """ + configuration: ProjectV2ViewConfigurationInput + + """ + The layout of the view. + """ + layout: ProjectV2ViewLayout! + + """ + The name of the view. + """ + name: String! + + """ + The ID of the project to create a view in. + """ + projectId: ID! +} + +""" +Autogenerated return type of CreateProjectV2View. +""" +type CreateProjectV2ViewPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new view. + """ + projectV2View: ProjectV2View +} + """ Autogenerated input type of CreatePullRequest """ @@ -8175,6 +9259,81 @@ type CreateRefPayload { ref: Ref } +""" +Autogenerated input type of CreateRepositoryCustomProperty +""" +input CreateRepositoryCustomPropertyInput { + """ + The allowed values for the custom property. + """ + allowedValues: [String!] + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The default value for the custom property if the property is required. + """ + defaultValue: String + + """ + The description of the custom property. + """ + description: String + + """ + The name of the custom property. + """ + propertyName: String! + + """ + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. + """ + regex: String + + """ + Whether this repository custom property requires explicit values. + """ + requireExplicitValues: Boolean + + """ + Whether the custom property is required. + """ + required: Boolean + + """ + The global relay id of the source in which a new custom property should be created in. + """ + sourceId: ID! + + """ + The value type for the custom property. + """ + valueType: CustomPropertyValueType! + + """ + The allowed actors who can edit the values of a custom property. + """ + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy +} + +""" +Autogenerated return type of CreateRepositoryCustomProperty. +""" +type CreateRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created repository custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of CreateRepository """ @@ -8594,124 +9753,6 @@ type CreateSponsorshipsPayload { sponsorables: [Sponsorable!] } -""" -Autogenerated input type of CreateTeamDiscussionComment -""" -input CreateTeamDiscussionCommentInput { - """ - The content of the comment. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the discussion to which the comment belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `discussionId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - discussionId: ID -} - -""" -Autogenerated return type of CreateTeamDiscussionComment. -""" -type CreateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new comment. - """ - teamDiscussionComment: TeamDiscussionComment @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") -} - -""" -Autogenerated input type of CreateTeamDiscussion -""" -input CreateTeamDiscussionInput { - """ - The content of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `body` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - body: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - If true, restricts the visibility of this discussion to team members and - organization owners. If false or not specified, allows any organization member - to view this discussion. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `private` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - private: Boolean - - """ - The ID of the team to which the discussion belongs. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `teamId` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - teamId: ID - - """ - The title of the discussion. This field is required. - - **Upcoming Change on 2024-07-01 UTC** - **Description:** `title` will be removed. Follow the guide at - https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to - find a suitable replacement. - **Reason:** The Team Discussions feature is deprecated in favor of Organization Discussions. - """ - title: String -} - -""" -Autogenerated return type of CreateTeamDiscussion. -""" -type CreateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The new discussion. - """ - teamDiscussion: TeamDiscussion @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") -} - """ Autogenerated input type of CreateUserList """ @@ -9227,6 +10268,64 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { willCloseTarget: Boolean! } +""" +Sources which can have custom properties defined. +""" +union CustomPropertySource = Enterprise | Organization + +""" +A custom property value can be either a string or an array of strings. All +property types support only a single string value, except for the multi-select +type, which supports only a string array. +""" +scalar CustomPropertyValue + +""" +The custom property name and value to be set. +""" +input CustomPropertyValueInput { + """ + The name of the custom property. + """ + propertyName: String! + + """ + The value to set for the custom property. Using a value of null will unset the + property value, reverting to the default value if the property is required. + """ + value: CustomPropertyValue +} + +""" +The allowed value types for a custom property definition. +""" +enum CustomPropertyValueType { + """ + A multi-select value. + """ + MULTI_SELECT + + """ + A single-select value. + """ + SINGLE_SELECT + + """ + A string value. + """ + STRING + + """ + A true/false value. + """ + TRUE_FALSE + + """ + A URL value. + """ + URL +} + """ The Common Vulnerability Scoring System """ @@ -9529,6 +10628,76 @@ type DeleteIssueCommentPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteIssueField +""" +input DeleteIssueFieldInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the field to delete. + """ + fieldId: ID! +} + +""" +Autogenerated return type of DeleteIssueField. +""" +type DeleteIssueFieldPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted issue field. + """ + issueField: IssueFields +} + +""" +Autogenerated input type of DeleteIssueFieldValue +""" +input DeleteIssueFieldValueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the field to delete. + """ + fieldId: ID! + + """ + The ID of the issue. + """ + issueId: ID! +} + +""" +Autogenerated return type of DeleteIssueFieldValue. +""" +type DeleteIssueFieldValuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue object. + """ + issue: Issue + + """ + Whether the field value was successfully deleted. + """ + success: Boolean +} + """ Autogenerated input type of DeleteIssue """ @@ -9559,6 +10728,36 @@ type DeleteIssuePayload { repository: Repository } +""" +Autogenerated input type of DeleteIssueType +""" +input DeleteIssueTypeInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue type to delete + """ + issueTypeId: ID! +} + +""" +Autogenerated return type of DeleteIssueType. +""" +type DeleteIssueTypePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the deleted issue type + """ + deletedIssueTypeId: ID +} + """ Autogenerated input type of DeleteLabel """ @@ -9874,6 +11073,36 @@ type DeleteProjectV2StatusUpdatePayload { projectV2: ProjectV2 } +""" +Autogenerated input type of DeleteProjectV2View +""" +input DeleteProjectV2ViewInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the view to delete. + """ + viewId: ID! +} + +""" +Autogenerated return type of DeleteProjectV2View. +""" +type DeleteProjectV2ViewPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted view. + """ + projectV2View: ProjectV2View +} + """ Autogenerated input type of DeleteProjectV2Workflow """ @@ -9999,6 +11228,36 @@ type DeleteRefPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteRepositoryCustomProperty +""" +input DeleteRepositoryCustomPropertyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The global relay id of the custom property to be deleted. + """ + id: ID! +} + +""" +Autogenerated return type of DeleteRepositoryCustomProperty. +""" +type DeleteRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The deleted custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of DeleteRepositoryRuleset """ @@ -10024,56 +11283,6 @@ type DeleteRepositoryRulesetPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteTeamDiscussionComment -""" -input DeleteTeamDiscussionCommentInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to delete. - """ - id: ID! -} - -""" -Autogenerated return type of DeleteTeamDiscussionComment. -""" -type DeleteTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - -""" -Autogenerated input type of DeleteTeamDiscussion -""" -input DeleteTeamDiscussionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The discussion ID to delete. - """ - id: ID! -} - -""" -Autogenerated return type of DeleteTeamDiscussion. -""" -type DeleteTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteUserList """ @@ -10228,6 +11437,11 @@ type DependencyGraphDependency { """ packageName: String! + """ + Public preview: The dependency package URL + """ + packageUrl: URI + """ Public preview: The relationship of the dependency. Can be direct, transitive, or unknown """ @@ -11474,7 +12688,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 @@ -11985,8 +13199,9 @@ type DiscussionComment implements Comment & Deletable & Minimizable & Node & Rea """ Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. """ minimizedReason: String @@ -12135,6 +13350,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. """ @@ -12576,6 +13796,36 @@ type DismissRepositoryVulnerabilityAlertPayload { repositoryVulnerabilityAlert: RepositoryVulnerabilityAlert } +""" +Specify people, teams, or apps allowed to dismiss pull request reviews. +""" +type DismissalRestriction { + """ + Specify people, teams, or apps allowed to dismiss pull request reviews. + """ + allowedActors: [ID!] + + """ + Whether to restrict review dismissal to specific actors. + """ + enabled: Boolean! +} + +""" +Specify people, teams, or apps allowed to dismiss pull request reviews. +""" +input DismissalRestrictionInput { + """ + Specify people, teams, or apps allowed to dismiss pull request reviews. + """ + allowedActors: [ID!] + + """ + Whether to restrict review dismissal to specific actors. + """ + enabled: Boolean! +} + """ A draft issue within a project. """ @@ -12726,14 +13976,15 @@ input DraftPullRequestReviewThread { body: String! """ - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + The line of the blob to which the thread refers. The end of the line range for + multi-line comments. Required if not using positioning. """ - line: Int! + line: Int """ - Path to the file being commented on. + Path to the file being commented on. Required if not using positioning. """ - path: String! + path: String """ The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. @@ -12874,32 +14125,12 @@ type EnqueuePullRequestPayload { """ An account to manage multiple organizations with consolidated policy and billing. """ -type Enterprise implements AnnouncementBannerI & Node { - """ - The text of the announcement - """ - 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.") - +type Enterprise implements Node { """ 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 @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 @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 @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. """ @@ -12940,11 +14171,106 @@ type Enterprise implements AnnouncementBannerI & Node { """ descriptionHTML: HTML! + """ + Find an enterprise team by its slug. + """ + enterpriseTeam( + """ + The slug of the enterprise team to find. + """ + slug: String! + ): EnterpriseTeam + + """ + A list of enterprise teams in this enterprise. + """ + enterpriseTeams( + """ + 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 enterprise teams returned from the connection. + """ + orderBy: EnterpriseTeamOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + + """ + User logins to filter by. A maximum of 3 logins can be passed. + """ + userLogins: [String!] + ): EnterpriseTeamConnection! + """ The Node ID of the Enterprise object """ id: ID! + """ + Innersource security vulnerabilities scoped to this enterprise. + """ + innersourceVulnerabilities( + """ + 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 + + """ + An ecosystem to filter vulnerabilities by. + """ + ecosystem: SecurityAdvisoryEcosystem + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the returned vulnerabilities. + """ + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} + + """ + A package name to filter vulnerabilities by. + """ + package: String + + """ + A list of severities to filter vulnerabilities by. + """ + severities: [SecurityAdvisorySeverity!] + ): SecurityVulnerabilityConnection! + """ The location of the enterprise. """ @@ -13077,6 +14403,41 @@ type Enterprise implements AnnouncementBannerI & Node { """ readmeHTML: HTML! + """ + A list of repository custom properties for this enterprise. + """ + repositoryCustomProperties( + """ + 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 + ): RepositoryCustomPropertyConnection + + """ + Returns a single repository custom property for the current enterprise by name. + """ + repositoryCustomProperty( + """ + The name of the repository custom property to be returned. + """ + propertyName: String! + ): RepositoryCustomProperty + """ The HTTP path for this enterprise. """ @@ -13117,6 +14478,11 @@ type Enterprise implements AnnouncementBannerI & Node { last: Int ): RepositoryRulesetConnection + """ + The enterprise's security contact email address. + """ + securityContactEmail: String + """ The URL-friendly identifier for the enterprise. """ @@ -13363,7 +14729,9 @@ enum EnterpriseAllowPrivateRepositoryForkingPolicyValue { ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS """ - Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. + Members can fork a repository to their user account or an organization, either + inside or outside of this enterprise. Internal repositories can only be forked + inside of this enterprise. """ EVERYWHERE @@ -13413,9 +14781,9 @@ type EnterpriseBillingInfo { allLicensableUsersCount: Int! """ - The number of data packs used by all organizations owned by the enterprise. + The number of data packs used by all organizations owned by the enterprise. Data packs are deprecated, always returns 0. """ - assetPacks: Int! + assetPacks: Int! @deprecated(reason: "LFS data packs have been removed. Always returns 0.") """ The bandwidth quota in GB for all organizations owned by the enterprise. @@ -14422,6 +15790,11 @@ type EnterpriseOwnerInfo { """ ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue! + """ + The setting value for whether the enterprise has IP allow list user-level enforcement enabled. + """ + ipAllowListUserLevelEnforcementEnabledSetting: IpAllowListUserLevelEnforcementEnabledSettingValue! + """ Whether or not the base repository permission is currently being updated. """ @@ -15150,42 +16523,7 @@ type EnterpriseOwnerInfo { """ The setting value for whether team discussions are enabled for 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! + teamDiscussionsSetting: EnterpriseEnabledDisabledSettingValue! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") """ The setting value for what methods of two-factor authentication the enterprise prevents its users from having. @@ -15934,18 +17272,43 @@ enum EnterpriseServerUserAccountsUploadSyncState { } """ -An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. +A team that belongs to an enterprise and can be assigned to multiple organizations. """ -type EnterpriseUserAccount implements Actor & Node { +type EnterpriseTeam implements Node & TeamReviewRequestable { """ - A URL pointing to the enterprise user account's public avatar. + Organizations this team is assigned to. """ - avatarUrl( + assignedOrganizations( """ - The size of the resulting square image. + Returns the elements in the list that come after the specified cursor. """ - size: Int - ): URI! + 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 returned from the connection. + """ + orderBy: EnterpriseTeamOrganizationOrder = {field: ID, direction: ASC} + ): EnterpriseTeamAssignedOrganizationConnection! + + """ + The human-readable, unique identifier for the enterprise and team. + """ + combinedSlug: String! """ Identifies the date and time when the object was created. @@ -15953,14 +17316,366 @@ type EnterpriseUserAccount implements Actor & Node { createdAt: DateTime! """ - The enterprise in which this user account exists. + The description of the team. """ - enterprise: Enterprise! + description: String """ - A list of Enterprise Server installations this user is a member of. + The enterprise this team belongs to. """ - enterpriseInstallations( + enterprise: Enterprise + + """ + A list of users who are members of this enterprise team. + """ + enterpriseTeamMembers( + """ + 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 + + """ + Order for the connection. + """ + orderBy: EnterpriseTeamMemberOrder = {field: ID, direction: ASC} + + """ + The search string to look for. + """ + query: String + ): EnterpriseTeamMemberConnection! + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the EnterpriseTeam object + """ + id: ID! + + """ + Whether the viewer is a member of this team. + """ + isViewerMember: Boolean! + + """ + The name of the team. + """ + name: String! + + """ + Whether the team will receive notifications when mentioned. + """ + notificationSetting: TeamNotificationSetting! + + """ + How this team selects its associated organizations. + """ + organizationSelectionType: EnterpriseTeamOrganizationSelectionType! + + """ + The level of privacy the team has. + """ + privacy: TeamPrivacy! + + """ + The slug corresponding to the team. + """ + slug: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + Whether the viewer can administer this team. + """ + viewerCanAdminister: Boolean! +} + +""" +The connection type for Organization. +""" +type EnterpriseTeamAssignedOrganizationConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamAssignedOrganizationEdge] + + """ + A list of nodes. + """ + nodes: [Organization] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents an organization that an enterprise team is assigned to. +""" +type EnterpriseTeamAssignedOrganizationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: Organization +} + +""" +A list of enterprise teams owned by the enterprise. +""" +type EnterpriseTeamConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamEdge] + + """ + A list of nodes. + """ + nodes: [EnterpriseTeam] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type EnterpriseTeamEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: EnterpriseTeam +} + +""" +The connection type for User. +""" +type EnterpriseTeamMemberConnection { + """ + A list of edges. + """ + edges: [EnterpriseTeamMemberEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a user who is a member of an enterprise team. +""" +type EnterpriseTeamMemberEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: User +} + +""" +Ordering options for enterprise team member connections. +""" +input EnterpriseTeamMemberOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise team members by. + """ + field: EnterpriseTeamMemberOrderField! +} + +""" +Properties by which enterprise team member connections can be ordered. +""" +enum EnterpriseTeamMemberOrderField { + """ + Order enterprise team members by creation time. + """ + CREATED_AT + + """ + Order enterprise team members by ID. + """ + ID + + """ + Order enterprise team members by login. + """ + LOGIN +} + +""" +Ordering options for enterprise team connections. +""" +input EnterpriseTeamOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprise teams by. + """ + field: EnterpriseTeamOrderField! +} + +""" +Properties by which enterprise team connections can be ordered. +""" +enum EnterpriseTeamOrderField { + """ + Order enterprise teams by creation time. + """ + CREATED_AT + + """ + Order enterprise teams by ID. + """ + ID + + """ + Order enterprise teams by name. + """ + NAME +} + +""" +Ordering options for enterprise team organization connections. +""" +input EnterpriseTeamOrganizationOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order organizations by. + """ + field: EnterpriseTeamOrganizationOrderField! +} + +""" +Properties by which enterprise team organization connections can be ordered. +""" +enum EnterpriseTeamOrganizationOrderField { + """ + Order enterprise team organizations by creation time. + """ + CREATED_AT + + """ + Order enterprise team organizations by ID. + """ + ID + + """ + Order enterprise team organizations by login. + """ + LOGIN +} + +""" +The possible organization selection types for an enterprise team. +""" +enum EnterpriseTeamOrganizationSelectionType { + """ + The team is associated with all organizations in the enterprise. + """ + ALL + + """ + The team is not associated with any organizations. + """ + DISABLED + + """ + The team is associated with selected organizations. + """ + SELECTED +} + +""" +An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations. +""" +type EnterpriseUserAccount implements Actor & Node { + """ + A URL pointing to the enterprise user account's public avatar. + """ + avatarUrl( + """ + The size of the resulting square image. + """ + size: Int + ): URI! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The enterprise in which this user account exists. + """ + enterprise: Enterprise! + + """ + A list of Enterprise Server installations this user is a member of. + """ + enterpriseInstallations( """ Returns the elements in the list that come after the specified cursor. """ @@ -16599,7 +18314,8 @@ input FileExtensionRestrictionParametersInput { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ type FilePathRestrictionParameters { """ @@ -16609,7 +18325,8 @@ type FilePathRestrictionParameters { } """ -Prevent commits that include changes in specified file paths from being pushed to the commit graph. +Prevent commits that include changes in specified file and folder paths from +being pushed to the commit graph. This includes absolute paths that contain file names. """ input FilePathRestrictionParametersInput { """ @@ -17094,8 +18811,9 @@ type GistComment implements Comment & Deletable & Minimizable & Node & Updatable """ Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. """ minimizedReason: String @@ -17144,6 +18862,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. """ @@ -18232,6 +19955,21 @@ Types that can own an IP allow list. """ union IpAllowListOwner = App | Enterprise | Organization +""" +The possible values for the IP allow list user-level enforcement enabled setting. +""" +enum IpAllowListUserLevelEnforcementEnabledSettingValue { + """ + The setting is disabled for the owner. + """ + DISABLED + + """ + The setting is enabled for the owner. + """ + ENABLED +} + """ An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. """ @@ -18241,6 +19979,31 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ activeLockReason: LockReason + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + """ A list of Users assigned to this object. """ @@ -18276,6 +20039,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. """ @@ -18325,6 +20148,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ before: String + """ + Exclude manually linked PRs + """ + excludeUserLinked: Boolean = false + """ Returns the first _n_ elements from the list. """ @@ -18396,11 +20224,22 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ databaseId: Int + """ + A reference to the original issue that this issue has been marked as a duplicate of. + """ + duplicateOf: Issue + """ The actor who edited the comment. """ editor: Actor + """ + A list of rationales associated with this issue's timeline events. Always + returns an empty list; use the `intent` field on individual timeline events instead. + """ + eventRationales: [IssueEventRationale!]! @deprecated(reason: "Use the `intent` field on individual timeline events instead. This field is being removed and now always returns an empty list.") + """ Identifies the primary key from the database as a BigInt. """ @@ -18436,6 +20275,41 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ isReadByViewer: Boolean + """ + Summary of the state of an issue's dependencies + """ + issueDependenciesSummary: IssueDependenciesSummary! + + """ + Fields that are set on this issue + """ + issueFieldValues( + """ + 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 + ): IssueFieldValueConnection + + """ + The issue type for this Issue + """ + issueType: IssueType + """ A list of labels associated with the object. """ @@ -18541,6 +20415,16 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & last: Int ): UserConnection! + """ + All pending suggestions on this issue. + """ + pendingSuggestions: [PendingIssueSuggestion!] + + """ + The pinned comment for this issue. + """ + pinnedIssueComment: PinnedIssueComment + """ List of project cards associated with this issue. """ @@ -18569,7 +20453,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & Returns the last _n_ elements from the list. """ last: Int - ): ProjectCardConnection! + ): ProjectCardConnection! @deprecated(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.") """ List of project items associated with this issue. @@ -18599,7 +20483,7 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & Returns the last _n_ elements from the list. """ last: Int - ): ProjectV2ItemConnection! + ): ProjectV2ItemConnection """ Find a project by number. @@ -18696,6 +20580,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & orderBy: ReactionOrder ): ReactionConnection! + """ + A list of issues related to this issue. + """ + relatesTo( + """ + 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 related issues + """ + orderBy: IssueRelatesToOrder = {field: RELATES_TO_ADDED_AT, direction: DESC} + ): IssueConnection! + """ The repository associated with this node. """ @@ -18717,9 +20631,13 @@ 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 + ): IssueStateReason @deprecated(reason: "The state reason for duplicate issue is now returned by default. Removal on 2025-10-01 UTC.") """ A list of sub-issues associated with the Issue. @@ -18751,6 +20669,36 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ subIssuesSummary: SubIssuesSummary! + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + """ A list of events, comments, commits, etc. associated with the issue. """ @@ -18926,6 +20874,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & last: Int ): UserContentEditConnection + """ + Indicates if the viewer can edit assignees for this object. + """ + viewerCanAssign: Boolean! + """ Indicates if the object can be closed by the viewer. """ @@ -18951,16 +20904,38 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ viewerCanReopen: Boolean! + """ + Check if the current viewer can set fields on the issue. + """ + viewerCanSetFields: Boolean + + """ + Indicates if the viewer can edit the milestone of the issue. + """ + viewerCanSetMilestone: Boolean! + """ Check if the viewer is able to change their subscription status for the repository. """ viewerCanSubscribe: Boolean! + """ + Check if the current viewer can set the issue type of this issue. + """ + viewerCanType: Boolean + """ Check if the current viewer can update this object. """ viewerCanUpdate: Boolean! + """ + Check if the viewer has triage-level (or higher) access to update this issue's + metadata. Note: this reflects the viewer's base repository role and does not + account for individual fine-grained permissions granted via custom repository roles. + """ + viewerCanUpdateMetadata: Boolean + """ Reasons why the current viewer can not update this comment. """ @@ -19010,7 +20985,7 @@ enum IssueClosedStateReason { """ Represents a comment on an Issue. """ -type IssueComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { +type IssueComment implements Comment & Deletable & Minimizable & Node & Pinnable & Reactable & RepositoryNode & Updatable & UpdatableComment { """ The actor who authored the comment. """ @@ -19076,6 +21051,11 @@ type IssueComment implements Comment & Deletable & Minimizable & Node & Reactabl """ isMinimized: Boolean! + """ + Indicates whether or not this entity is currently pinned. + """ + isPinned: Boolean + """ Identifies the issue associated with the comment. """ @@ -19088,11 +21068,22 @@ type IssueComment implements Comment & Deletable & Minimizable & Node & Reactabl """ Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. """ minimizedReason: String + """ + Identifies the date and time when this entity was pinned. + """ + pinnedAt: DateTime + + """ + The user who pinned this entity. + """ + pinnedBy: User + """ Identifies when the comment was published at. """ @@ -19199,11 +21190,26 @@ type IssueComment implements Comment & Deletable & Minimizable & Node & Reactabl """ viewerCanMinimize: Boolean! + """ + Check if the current viewer can pin this entity. + """ + viewerCanPin: Boolean! + """ Can user react to this subject """ viewerCanReact: Boolean! + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + + """ + Check if the current viewer can unpin this entity. + """ + viewerCanUnpin: Boolean! + """ Check if the current viewer can update this object. """ @@ -19285,6 +21291,56 @@ enum IssueCommentOrderField { UPDATED_AT } +""" +Represents a 'issue_comment_pinned' event on a given issue. +""" +type IssueCommentPinnedEvent 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 IssueCommentPinnedEvent object + """ + id: ID! + + """ + Identifies the issue comment associated with the 'issue_comment_pinned' event. + """ + issueComment: IssueComment +} + +""" +Represents a 'issue_comment_unpinned' event on a given issue. +""" +type IssueCommentUnpinnedEvent 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 IssueCommentUnpinnedEvent object + """ + id: ID! + + """ + Identifies the issue comment associated with the 'issue_comment_unpinned' event. + """ + issueComment: IssueComment +} + """ The connection type for Issue. """ @@ -19351,1174 +21407,1043 @@ type IssueContributionsByRepository { } """ -An edge in a connection. +The policy controlling who can create issues in a repository. """ -type IssueEdge { +enum IssueCreationPolicy { """ - A cursor for use in pagination. + Anyone can create issues. """ - cursor: String! + ALL """ - The item at the end of the edge. + Only collaborators can create issues. """ - node: Issue + COLLABORATORS_ONLY } """ -Ways in which to filter lists of issues. +Summary of the state of an issue's dependencies """ -input IssueFilters { - """ - List issues assigned to given name. Pass in `null` for issues with no assigned - user, and `*` for issues assigned to any user. - """ - assignee: String - +type IssueDependenciesSummary { """ - List issues created by given name. + Count of issues this issue is blocked by """ - createdBy: String + blockedBy: Int! """ - List issues where the list of label names exist on the issue. + Count of issues this issue is blocking """ - labels: [String!] + blocking: Int! """ - List issues where the given name is mentioned in the issue. + Total count of issues this issue is blocked by (open and closed) """ - mentioned: String + totalBlockedBy: Int! """ - List issues by given milestone argument. If an string representation of an - integer is passed, it should refer to a milestone by its database ID. Pass in - `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + Total count of issues this issue is blocking (open and closed) """ - milestone: String + totalBlocking: Int! +} +""" +Ordering options issue dependencies +""" +input IssueDependencyOrder { """ - List issues by given milestone argument. If an string representation of an - integer is passed, it should refer to a milestone by its number field. Pass in - `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. + The ordering direction. """ - milestoneNumber: String + direction: OrderDirection! """ - List issues that have been updated at or after the given date. + The field to order issue dependencies by. """ - since: DateTime + field: IssueDependencyOrderField! +} +""" +Properties by which issue dependencies can be ordered. +""" +enum IssueDependencyOrderField { """ - List issues filtered by the list of states given. + Order issue dependencies by the creation time of the dependent issue """ - states: [IssueState!] + CREATED_AT """ - List issues subscribed to by viewer. + Order issue dependencies by time of when the dependency relationship was added """ - viewerSubscribed: Boolean = false + DEPENDENCY_ADDED_AT } """ -Used for return value of Repository.issueOrPullRequest. -""" -union IssueOrPullRequest = Issue | PullRequest - -""" -Ways in which lists of issues can be ordered upon return. +An edge in a connection. """ -input IssueOrder { +type IssueEdge { """ - The direction in which to order issues by the specified field. + A cursor for use in pagination. """ - direction: OrderDirection! + cursor: String! """ - The field in which to order issues by. + The item at the end of the edge. """ - field: IssueOrderField! + node: Issue } """ -Properties by which issue connections can be ordered. +The confidence level associated with an agent's issue event action. """ -enum IssueOrderField { +enum IssueEventConfidenceLevel { """ - Order issues by comment count + High confidence. """ - COMMENTS + HIGH """ - Order issues by creation time + Low confidence. """ - CREATED_AT + LOW """ - Order issues by update time + Medium confidence. """ - UPDATED_AT + MEDIUM } """ -The possible states of an issue. +Represents a 'issue_field_added' event on a given issue. """ -enum IssueState { +type IssueFieldAddedEvent implements Node { """ - An issue that has been closed + Identifies the actor who performed the event. """ - CLOSED + actor: Actor """ - An issue that is still open + The color if it is a single-select field. """ - OPEN -} + color: String -""" -The possible state reasons of an issue. -""" -enum IssueStateReason { """ - An issue that has been closed as completed + Identifies the date and time when the object was created. """ - COMPLETED + createdAt: DateTime! """ - An issue that has been closed as a duplicate. To retrieve this value, set - `(enableDuplicate: true)` when querying the stateReason field. + The Node ID of the IssueFieldAddedEvent object """ - DUPLICATE + id: ID! """ - An issue that has been closed as not planned + The intent behind the agent's action, including rationale and confidence. """ - NOT_PLANNED + intent: IssueUpdateIntent """ - An issue that has been reopened + The issue field added. """ - REOPENED + issueField: IssueFields + + """ + The selected options for option-backed fields; single-select returns one option and multi-select returns many. + """ + options: [IssueFieldTimelineOption!] + + """ + The value of the added field. + """ + value: String } """ -A repository issue template. +Represents a 'issue_field_changed' event on a given issue. """ -type IssueTemplate { +type IssueFieldChangedEvent implements Node { """ - The template purpose. + Identifies the actor who performed the event. """ - about: String + actor: Actor """ - The suggested assignees. + Identifies the date and time when the object was created. """ - assignees( - """ - 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 - ): UserConnection! + createdAt: DateTime! """ - The suggested issue body. + The Node ID of the IssueFieldChangedEvent object """ - body: String + id: ID! """ - The template filename. + The intent behind the agent's action, including rationale and confidence. """ - filename: String! + intent: IssueUpdateIntent """ - The suggested issue labels + The issue field changed. """ - labels( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + issueField: IssueFields - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The new color if it is a single-select field. + """ + newColor: String - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The new options for option-backed fields; single-select returns one option and multi-select returns many. + """ + newOptions: [IssueFieldTimelineOption!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The new value of the field. + """ + newValue: String - """ - Ordering options for labels returned from the connection. - """ - orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} - ): LabelConnection + """ + The previous color if it was a single-select field. + """ + previousColor: String """ - The template name. + The previous options for option-backed fields; single-select returns one option and multi-select returns many. """ - name: String! + previousOptions: [IssueFieldTimelineOption!] """ - The suggested issue title. + The previous value of the field. """ - title: String + previousValue: String } """ -The connection type for IssueTimelineItem. +Common fields across different issue field types """ -type IssueTimelineConnection { +interface IssueFieldCommon { """ - A list of edges. + The issue field's creation timestamp. """ - edges: [IssueTimelineItemEdge] + createdAt: DateTime! """ - A list of nodes. + The issue field's data type. """ - nodes: [IssueTimelineItem] + dataType: IssueFieldDataType! """ - Information to aid in pagination. + The issue field's description. """ - pageInfo: PageInfo! + description: String """ - Identifies the total count of items in the connection. + Identifies the primary key from the database as a BigInt. """ - totalCount: Int! -} - -""" -An item in an issue timeline -""" -union IssueTimelineItem = AssignedEvent | ClosedEvent | Commit | CrossReferencedEvent | DemilestonedEvent | IssueComment | LabeledEvent | LockedEvent | MilestonedEvent | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent + fullDatabaseId: BigInt -""" -An edge in a connection. -""" -type IssueTimelineItemEdge { """ - A cursor for use in pagination. + The issue field's name. """ - cursor: String! + name: String! """ - The item at the end of the edge. + The issue field's visibility. """ - node: IssueTimelineItem + visibility: IssueFieldVisibility! } """ -An item in an issue timeline +Represents an issue field value that must be set on an issue during issue creation """ -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 +input IssueFieldCreateOrUpdateInput { + """ + The confidence level the agent had when selecting this value. + """ + confidence: IssueEventConfidenceLevel -""" -The connection type for IssueTimelineItems. -""" -type IssueTimelineItemsConnection { """ - A list of edges. + The date value, for a date field """ - edges: [IssueTimelineItemsEdge] + dateValue: String """ - Identifies the count of items after applying `before` and `after` filters. + Set to true to delete the field value """ - filteredCount: Int! + delete: Boolean """ - A list of nodes. + The ID of the issue field """ - nodes: [IssueTimelineItems] + fieldId: ID! """ - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. + The IDs of the selected options, for a multi select field """ - pageCount: Int! + multiSelectOptionIds: [ID!] """ - Information to aid in pagination. + The numeric value, for a number field """ - pageInfo: PageInfo! + numberValue: Float """ - Identifies the total count of items in the connection. + Optional rationale describing why this value was selected. Max 280 characters. """ - totalCount: Int! + rationale: String """ - Identifies the date and time when the timeline was last updated. + The ID of the selected option, for a single select field """ - updatedAt: DateTime! -} + singleSelectOptionId: ID -""" -An edge in a connection. -""" -type IssueTimelineItemsEdge { """ - A cursor for use in pagination. + If true, the value is stored as a pending suggestion for human review rather than being applied directly. """ - cursor: String! + suggest: Boolean """ - The item at the end of the edge. + The text value, for a text field """ - node: IssueTimelineItems + textValue: String } """ -The possible item types found in a timeline. +The type of an issue field. """ -enum IssueTimelineItemsItemType { - """ - Represents a 'added_to_project' event on a given issue or pull request. +enum IssueFieldDataType { """ - ADDED_TO_PROJECT_EVENT - - """ - Represents an 'assigned' event on any assignable object. + Date """ - ASSIGNED_EVENT + DATE """ - Represents a 'closed' event on any `Closable`. + Multi Select """ - CLOSED_EVENT + MULTI_SELECT """ - Represents a 'comment_deleted' event on a given issue or pull request. + Number """ - COMMENT_DELETED_EVENT + NUMBER """ - Represents a 'connected' event on a given issue or pull request. + Single Select """ - CONNECTED_EVENT + SINGLE_SELECT """ - Represents a 'converted_note_to_issue' event on a given issue or pull request. + Text """ - CONVERTED_NOTE_TO_ISSUE_EVENT + TEXT +} +""" +Represents a date issue field. +""" +type IssueFieldDate implements IssueFieldCommon & Node { """ - Represents a 'converted_to_discussion' event on a given issue. + The issue field's creation timestamp. """ - CONVERTED_TO_DISCUSSION_EVENT + createdAt: DateTime! """ - Represents a mention made by one issue or pull request to another. + The issue field's data type. """ - CROSS_REFERENCED_EVENT + dataType: IssueFieldDataType! """ - Represents a 'demilestoned' event on a given issue or pull request. + The issue field's description. """ - DEMILESTONED_EVENT + description: String """ - Represents a 'disconnected' event on a given issue or pull request. + Identifies the primary key from the database as a BigInt. """ - DISCONNECTED_EVENT + fullDatabaseId: BigInt """ - Represents a comment on an Issue. + The Node ID of the IssueFieldDate object """ - ISSUE_COMMENT + id: ID! """ - Represents a 'labeled' event on a given issue or pull request. + The issue field's name. """ - LABELED_EVENT + name: String! """ - Represents a 'locked' event on a given issue or pull request. + The issue field's visibility. """ - LOCKED_EVENT + visibility: IssueFieldVisibility! +} +""" +The value of a date field in an Issue item. +""" +type IssueFieldDateValue implements IssueFieldValueCommon & Node { """ - Represents a 'marked_as_duplicate' event on a given issue or pull request. + The issue field that contains this value. """ - MARKED_AS_DUPLICATE_EVENT + field: IssueFields """ - Represents a 'mentioned' event on a given issue or pull request. + The Node ID of the IssueFieldDateValue object """ - MENTIONED_EVENT + id: ID! """ - Represents a 'milestoned' event on a given issue or pull request. + Value of the field. """ - MILESTONED_EVENT + value: String! +} +""" +Represents a multi select issue field. +""" +type IssueFieldMultiSelect implements IssueFieldCommon & Node { """ - Represents a 'moved_columns_in_project' event on a given issue or pull request. + The issue field's creation timestamp. """ - MOVED_COLUMNS_IN_PROJECT_EVENT + createdAt: DateTime! """ - Represents a 'parent_issue_added' event on a given issue. + The issue field's data type. """ - PARENT_ISSUE_ADDED_EVENT + dataType: IssueFieldDataType! """ - Represents a 'parent_issue_removed' event on a given issue. + The issue field's description. """ - PARENT_ISSUE_REMOVED_EVENT + description: String """ - Represents a 'pinned' event on a given issue or pull request. + Identifies the primary key from the database as a BigInt. """ - PINNED_EVENT + fullDatabaseId: BigInt """ - Represents a 'referenced' event on a given `ReferencedSubject`. + The Node ID of the IssueFieldMultiSelect object """ - REFERENCED_EVENT + id: ID! """ - Represents a 'removed_from_project' event on a given issue or pull request. + The issue field's name. """ - REMOVED_FROM_PROJECT_EVENT + name: String! """ - Represents a 'renamed' event on a given issue or pull request + Options for the multi select field """ - RENAMED_TITLE_EVENT + options: [IssueFieldSingleSelectOption!]! """ - Represents a 'reopened' event on any `Closable`. + The issue field's visibility. """ - REOPENED_EVENT + visibility: IssueFieldVisibility! +} +""" +The value of a multi select field in an Issue item. +""" +type IssueFieldMultiSelectValue implements IssueFieldValueCommon & Node { """ - Represents a 'subscribed' event on a given `Subscribable`. + The issue field that contains this value. """ - SUBSCRIBED_EVENT + field: IssueFields """ - Represents a 'sub_issue_added' event on a given issue. + The Node ID of the IssueFieldMultiSelectValue object """ - SUB_ISSUE_ADDED_EVENT + id: ID! """ - Represents a 'sub_issue_removed' event on a given issue. + The selected options. """ - SUB_ISSUE_REMOVED_EVENT + options: [IssueFieldSingleSelectOption!]! """ - Represents a 'transferred' event on a given issue or pull request. + Comma-separated names of the selected options. """ - TRANSFERRED_EVENT + value: String +} +""" +Represents a number issue field. +""" +type IssueFieldNumber implements IssueFieldCommon & Node { """ - Represents an 'unassigned' event on any assignable object. + The issue field's creation timestamp. """ - UNASSIGNED_EVENT + createdAt: DateTime! """ - Represents an 'unlabeled' event on a given issue or pull request. + The issue field's data type. """ - UNLABELED_EVENT + dataType: IssueFieldDataType! """ - Represents an 'unlocked' event on a given issue or pull request. + The issue field's description. """ - UNLOCKED_EVENT + description: String """ - Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + Identifies the primary key from the database as a BigInt. """ - UNMARKED_AS_DUPLICATE_EVENT + fullDatabaseId: BigInt """ - Represents an 'unpinned' event on a given issue or pull request. + The Node ID of the IssueFieldNumber object """ - UNPINNED_EVENT + id: ID! """ - Represents an 'unsubscribed' event on a given `Subscribable`. + The issue field's name. """ - UNSUBSCRIBED_EVENT + name: String! """ - Represents a 'user_blocked' event on a given user. + The issue field's visibility. """ - USER_BLOCKED_EVENT + visibility: IssueFieldVisibility! } """ -Represents a user signing up for a GitHub account. +The value of a number field in an Issue item. """ -type JoinedGitHubContribution implements Contribution { +type IssueFieldNumberValue implements IssueFieldValueCommon & Node { """ - Whether this contribution is associated with a record you do not have access to. For - example, your own 'first issue' contribution may have been made on a repository you can no - longer access. + The issue field that contains this value. """ - isRestricted: Boolean! + field: IssueFields """ - When this contribution was made. + The Node ID of the IssueFieldNumberValue object """ - occurredAt: DateTime! + id: ID! """ - The HTTP path for this contribution. + Value of the field. """ - resourcePath: URI! + value: Float! +} +""" +Ordering options for issue field connections +""" +input IssueFieldOrder { """ - The HTTP URL for this contribution. + The ordering direction. """ - url: URI! + direction: OrderDirection! """ - The user who made this contribution. + The field to order issue fields by. """ - user: User! + field: IssueFieldOrderField! } """ -A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. +Properties by which issue field connections can be ordered. """ -type Label implements Node { +enum IssueFieldOrderField { """ - Identifies the label color. + Order issue fields by creation time """ - color: String! + CREATED_AT """ - Identifies the date and time when the label was created. + Order issue fields by name """ - createdAt: DateTime + NAME +} +""" +Represents a 'issue_field_removed' event on a given issue. +""" +type IssueFieldRemovedEvent implements Node { """ - A brief description of this label. + Identifies the actor who performed the event. """ - description: String + actor: Actor """ - The Node ID of the Label object + Identifies the date and time when the object was created. """ - id: ID! + createdAt: DateTime! """ - Indicates whether or not this is a default label. + The Node ID of the IssueFieldRemovedEvent object """ - isDefault: Boolean! + id: ID! """ - A list of issues associated with this label. + The intent behind the agent's action, including rationale and confidence. """ - issues( - """ - 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 - - """ - Filtering options for issues returned from the connection. - """ - filterBy: IssueFilters - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for issues returned from the connection. - """ - orderBy: IssueOrder - - """ - A list of states to filter the issues by. - """ - states: [IssueState!] - ): IssueConnection! + intent: IssueUpdateIntent """ - Identifies the label name. + The issue field removed. """ - name: String! + issueField: IssueFields """ - A list of pull requests associated with this label. + The removed options for option-backed fields; single-select returns one option and multi-select returns many. """ - pullRequests( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - The base ref name to filter the pull requests by. - """ - baseRefName: 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 - - """ - The head ref name to filter the pull requests by. - """ - headRefName: String + options: [IssueFieldTimelineOption!] +} - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] +""" +Represents a single select issue field. +""" +type IssueFieldSingleSelect implements IssueFieldCommon & Node { + """ + The issue field's creation timestamp. + """ + createdAt: DateTime! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The issue field's data type. + """ + dataType: IssueFieldDataType! - """ - Ordering options for pull requests returned from the connection. - """ - orderBy: IssueOrder + """ + The issue field's description. + """ + description: String - """ - A list of states to filter the pull requests by. - """ - states: [PullRequestState!] - ): PullRequestConnection! + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt """ - The repository associated with this label. + The Node ID of the IssueFieldSingleSelect object """ - repository: Repository! + id: ID! """ - The HTTP path for this label. + The issue field's name. """ - resourcePath: URI! + name: String! """ - Identifies the date and time when the label was last updated. + Options for the single select field """ - updatedAt: DateTime + options: [IssueFieldSingleSelectOption!]! """ - The HTTP URL for this label. + The issue field's visibility. """ - url: URI! + visibility: IssueFieldVisibility! } """ -The connection type for Label. +Represents an option in a single-select issue field. """ -type LabelConnection { +type IssueFieldSingleSelectOption implements Node { """ - A list of edges. + The option's display color. """ - edges: [LabelEdge] + color: IssueFieldSingleSelectOptionColor! """ - A list of nodes. - """ - nodes: [Label] - - """ - Information to aid in pagination. + Identifies the primary key from the database. """ - pageInfo: PageInfo! + databaseId: Int """ - Identifies the total count of items in the connection. + The option's plain-text description. """ - totalCount: Int! -} + description: String -""" -An edge in a connection. -""" -type LabelEdge { """ - A cursor for use in pagination. + Identifies the primary key from the database as a BigInt. """ - cursor: String! + fullDatabaseId: BigInt """ - The item at the end of the edge. + The Node ID of the IssueFieldSingleSelectOption object """ - node: Label -} + id: ID! -""" -Ways in which lists of labels can be ordered upon return. -""" -input LabelOrder { """ - The direction in which to order labels by the specified field. + The option's name. """ - direction: OrderDirection! + name: String! """ - The field in which to order labels by. + The option's priority order. """ - field: LabelOrderField! + priority: Int } """ -Properties by which label connections can be ordered. +The display color of a single-select field option. """ -enum LabelOrderField { - """ - Order labels by creation time +enum IssueFieldSingleSelectOptionColor { """ - CREATED_AT - - """ - Order labels by name + blue """ - NAME -} + BLUE -""" -An object that can have labels assigned to it. -""" -interface Labelable { """ - A list of labels associated with the object. + gray """ - labels( - """ - 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 labels returned from the connection. - """ - orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} - ): LabelConnection + GRAY """ - Indicates if the viewer can edit labels for this object. + green """ - viewerCanLabel: Boolean! -} + GREEN -""" -Represents a 'labeled' event on a given issue or pull request. -""" -type LabeledEvent implements Node { """ - Identifies the actor who performed the event. + orange """ - actor: Actor + ORANGE """ - Identifies the date and time when the object was created. + pink """ - createdAt: DateTime! + PINK """ - The Node ID of the LabeledEvent object + purple """ - id: ID! + PURPLE """ - Identifies the label associated with the 'labeled' event. + red """ - label: Label! + RED """ - Identifies the `Labelable` associated with the event. + yellow """ - labelable: Labelable! + YELLOW } """ -Represents a given language found in repositories. +A single selection option for an issue field. """ -type Language implements Node { +input IssueFieldSingleSelectOptionInput { """ - The color defined for the current language. + The color associated with the option. """ - color: String + color: IssueFieldSingleSelectOptionColor! """ - The Node ID of the Language object + A description of the option. """ - id: ID! + description: String """ - The name of the current language. + The name of the option. """ name: String! -} - -""" -A list of languages associated with the parent. -""" -type LanguageConnection { - """ - A list of edges. - """ - edges: [LanguageEdge] """ - A list of nodes. + The priority of the option in the list. """ - nodes: [Language] + priority: Int! +} +""" +The value of a single select field in an Issue item. +""" +type IssueFieldSingleSelectValue implements IssueFieldValueCommon & Node { """ - Information to aid in pagination. + The option's display color. """ - pageInfo: PageInfo! + color: IssueFieldSingleSelectOptionColor! """ - Identifies the total count of items in the connection. + The option's plain-text description. """ - totalCount: Int! + description: String """ - The total size in bytes of files written in that language. + The issue field that contains this value. """ - totalSize: Int! -} - -""" -Represents the language of a repository. -""" -type LanguageEdge { - cursor: String! - node: Language! + field: IssueFields """ - The number of bytes of code written in the language. + The Node ID of the IssueFieldSingleSelectValue object """ - size: Int! -} + id: ID! -""" -Ordering options for language connections. -""" -input LanguageOrder { """ - The ordering direction. + The option's name. """ - direction: OrderDirection! + name: String! """ - The field to order languages by. + The selected option's global relay ID. """ - field: LanguageOrderField! -} + optionId: String -""" -Properties by which language connections can be ordered. -""" -enum LanguageOrderField { """ - Order languages by the size of all files containing the language + The option's name text (alias for `name`, for consistency with other field value types). """ - SIZE + value: String! } """ -A repository's open source license +Represents a text issue field. """ -type License implements Node { +type IssueFieldText implements IssueFieldCommon & Node { """ - The full text of the license + The issue field's creation timestamp. """ - body: String! + createdAt: DateTime! """ - The conditions set by the license + The issue field's data type. """ - conditions: [LicenseRule]! + dataType: IssueFieldDataType! """ - A human-readable description of the license + The issue field's description. """ description: String """ - Whether the license should be featured + Identifies the primary key from the database as a BigInt. """ - featured: Boolean! + fullDatabaseId: BigInt """ - Whether the license should be displayed in license pickers + The Node ID of the IssueFieldText object """ - hidden: Boolean! + id: ID! """ - The Node ID of the License object + The issue field's name. """ - id: ID! + name: String! """ - Instructions on how to implement the license + The issue field's visibility. """ - implementation: String + visibility: IssueFieldVisibility! +} +""" +The value of a text field in an Issue item. +""" +type IssueFieldTextValue implements IssueFieldValueCommon & Node { """ - The lowercased SPDX ID of the license + The issue field that contains this value. """ - key: String! + field: IssueFields """ - The limitations set by the license + The Node ID of the IssueFieldTextValue object """ - limitations: [LicenseRule]! + id: ID! """ - The license full name specified by + Value of the field. """ - name: String! + value: String! +} +""" +Represents a selected option for a timeline issue field event. +""" +type IssueFieldTimelineOption { """ - Customary short name if applicable (e.g, GPLv3) + The option color. """ - nickname: String + color: String """ - The permissions set by the license + The option name. """ - permissions: [LicenseRule]! + name: String! +} +""" +Updates an issue field using its user-facing name. +""" +input IssueFieldUpdateInput { """ - Whether the license is a pseudo-license placeholder (e.g., other, no-license) + The name of the issue field. """ - pseudoLicense: Boolean! + fieldName: String! """ - Short identifier specified by + The operation to perform. """ - spdxId: String + operation: IssueFieldUpdateOperation! """ - URL to the license on + The value or comma-separated option names for the operation. """ - url: URI + value: String } """ -Describes a License's conditions, permissions, and limitations +The operation to perform on an issue field value. """ -type LicenseRule { +enum IssueFieldUpdateOperation { """ - A description of the rule + Sets a scalar field or adds options to a multi-select field. """ - description: String! + ADD """ - The machine-readable rule key + Clears the field value. """ - key: String! + CLEAR """ - The human-readable rule label + Removes options from a multi-select field. """ - label: String! + REMOVE + + """ + Replaces the field value. + """ + SET } """ -Autogenerated input type of LinkProjectV2ToRepository +Issue field values """ -input LinkProjectV2ToRepositoryInput { +union IssueFieldValue = IssueFieldDateValue | IssueFieldMultiSelectValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue + +""" +Common fields across different issue field value types +""" +interface IssueFieldValueCommon { """ - A unique identifier for the client performing the mutation. + The issue field that contains this value. """ - clientMutationId: String + field: IssueFields +} +""" +The connection type for IssueFieldValue. +""" +type IssueFieldValueConnection { """ - The ID of the project to link to the repository. + A list of edges. """ - projectId: ID! + edges: [IssueFieldValueEdge] """ - The ID of the repository to link to the project. + A list of nodes. """ - repositoryId: ID! -} + nodes: [IssueFieldValue] -""" -Autogenerated return type of LinkProjectV2ToRepository. -""" -type LinkProjectV2ToRepositoryPayload { """ - A unique identifier for the client performing the mutation. + Information to aid in pagination. """ - clientMutationId: String + pageInfo: PageInfo! """ - The repository the project is linked to. + Identifies the total count of items in the connection. """ - repository: Repository + totalCount: Int! } """ -Autogenerated input type of LinkProjectV2ToTeam +An edge in a connection. """ -input LinkProjectV2ToTeamInput { - """ - A unique identifier for the client performing the mutation. +type IssueFieldValueEdge { """ - clientMutationId: String - - """ - The ID of the project to link to the team. + A cursor for use in pagination. """ - projectId: ID! + cursor: String! """ - The ID of the team to link to the project. + The item at the end of the edge. """ - teamId: ID! + node: IssueFieldValue } """ -Autogenerated return type of LinkProjectV2ToTeam. +A filter for matching an issue field value. Exactly one value argument should be provided. """ -type LinkProjectV2ToTeamPayload { +input IssueFieldValueFilter { """ - A unique identifier for the client performing the mutation. + Matches a date issue field value (YYYY-MM-DD). """ - clientMutationId: String + dateValue: String """ - The team the project is linked to + The ID of the issue field to filter by. Exactly one of `fieldId` or `fieldName` must be provided. """ - team: Team -} + fieldId: ID -""" -Autogenerated input type of LinkRepositoryToProject -""" -input LinkRepositoryToProjectInput { """ - A unique identifier for the client performing the mutation. + The name of the issue field to filter by. Exactly one of `fieldId` or `fieldName` must be provided. """ - clientMutationId: String + fieldName: String """ - The ID of the Project to link to a Repository + Matches issues containing all of the multi-select issue field option IDs. """ - projectId: ID! + multiSelectOptionIds: [ID!] """ - The ID of the Repository to link to a Project. + Matches issues containing all of the multi-select issue field option names. """ - repositoryId: ID! -} + multiSelectOptionValues: [String!] -""" -Autogenerated return type of LinkRepositoryToProject. -""" -type LinkRepositoryToProjectPayload { """ - A unique identifier for the client performing the mutation. + Matches a numeric issue field value. """ - clientMutationId: String + numberValue: Float """ - The linked Project. + Matches a single-select issue field option by ID. """ - project: Project + singleSelectOptionId: ID """ - The linked Repository. + Matches a single-select issue field option by name. """ - repository: Repository + singleSelectOptionValue: String + + """ + Matches a text issue field value. + """ + textValue: String } """ -A branch linked to an issue. +The visibility of an issue field. """ -type LinkedBranch implements Node { +enum IssueFieldVisibility { """ - The Node ID of the LinkedBranch object + All """ - id: ID! + ALL """ - The branch's ref. + Org Only """ - ref: Ref + ORG_ONLY } """ -A list of branches linked to an issue. +Possible issue fields. """ -type LinkedBranchConnection { +union IssueFields = IssueFieldDate | IssueFieldMultiSelect | IssueFieldNumber | IssueFieldSingleSelect | IssueFieldText + +""" +The connection type for IssueFields. +""" +type IssueFieldsConnection { """ A list of edges. """ - edges: [LinkedBranchEdge] + edges: [IssueFieldsEdge] """ A list of nodes. """ - nodes: [LinkedBranch] + nodes: [IssueFields] """ Information to aid in pagination. @@ -20534,7 +22459,7 @@ type LinkedBranchConnection { """ An edge in a connection. """ -type LinkedBranchEdge { +type IssueFieldsEdge { """ A cursor for use in pagination. """ @@ -20543,1575 +22468,1778 @@ type LinkedBranchEdge { """ The item at the end of the edge. """ - node: LinkedBranch + node: IssueFields } """ -Autogenerated input type of LockLockable +Ways in which to filter lists of issues. """ -input LockLockableInput { +input IssueFilters { """ - A unique identifier for the client performing the mutation. + List issues assigned to given name. Pass in `null` for issues with no assigned + user, and `*` for issues assigned to any user. """ - clientMutationId: String + assignee: String """ - A reason for why the item will be locked. + List issues created by given name. """ - lockReason: LockReason + createdBy: String """ - ID of the item to be locked. + List issues where each supplied issue field value filter matches. """ - lockableId: ID! -} + issueFieldValues: [IssueFieldValueFilter!] -""" -Autogenerated return type of LockLockable. -""" -type LockLockablePayload { """ - Identifies the actor who performed the event. + List issues where the list of label names exist on the issue. """ - actor: Actor + labels: [String!] """ - A unique identifier for the client performing the mutation. + List issues where the given name is mentioned in the issue. """ - clientMutationId: String + mentioned: String """ - The item that was locked. + List issues by given milestone argument. If an string representation of an + integer is passed, it should refer to a milestone by its database ID. Pass in + `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. """ - lockedRecord: Lockable -} + milestone: String -""" -The possible reasons that an issue or pull request was locked. -""" -enum LockReason { """ - The issue or pull request was locked because the conversation was off-topic. + List issues by given milestone argument. If an string representation of an + integer is passed, it should refer to a milestone by its number field. Pass in + `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. """ - OFF_TOPIC + milestoneNumber: String """ - The issue or pull request was locked because the conversation was resolved. + List issues that have been updated at or after the given date. """ - RESOLVED + since: DateTime """ - The issue or pull request was locked because the conversation was spam. + List issues filtered by the list of states given. """ - SPAM + states: [IssueState!] """ - The issue or pull request was locked because the conversation was too heated. + List issues filtered by the type given, only supported by searches on repositories. """ - TOO_HEATED + type: String + + """ + List issues subscribed to by viewer. + """ + viewerSubscribed: Boolean = false } """ -An object that can be locked. +Used for return value of Repository.issueOrPullRequest. """ -interface Lockable { +union IssueOrPullRequest = Issue | PullRequest + +""" +Ways in which lists of issues can be ordered upon return. +""" +input IssueOrder { """ - Reason that the conversation was locked. + The direction in which to order issues by the specified field. """ - activeLockReason: LockReason + direction: OrderDirection! """ - `true` if the object is locked + The field in which to order issues by. """ - locked: Boolean! + field: IssueOrderField! } """ -Represents a 'locked' event on a given issue or pull request. +Properties by which issue connections can be ordered. """ -type LockedEvent implements Node { +enum IssueOrderField { """ - Identifies the actor who performed the event. + Order issues by comment count """ - actor: Actor + COMMENTS """ - Identifies the date and time when the object was created. + Order issues by creation time """ - createdAt: DateTime! + CREATED_AT """ - The Node ID of the LockedEvent object + Order issues by update time """ - id: ID! + UPDATED_AT +} +""" +Ordering options for related issues +""" +input IssueRelatesToOrder { """ - Reason that the conversation was locked (optional). + The ordering direction. """ - lockReason: LockReason + direction: OrderDirection! """ - Object that was locked. + The field to order related issues by. """ - lockable: Lockable! + field: IssueRelatesToOrderField! } """ -A placeholder user for attribution of imported data on GitHub. +Properties by which related issues can be ordered. """ -type Mannequin implements Actor & Node & UniformResourceLocatable { +enum IssueRelatesToOrderField { """ - A URL pointing to the GitHub App's public avatar. + Order related issues by the creation time of the related issue """ - avatarUrl( - """ - The size of the resulting square image. - """ - size: Int - ): URI! + CREATED_AT """ - The user that has claimed the data attributed to this mannequin. + Order related issues by time of when the relates-to relationship was added """ - claimant: User + RELATES_TO_ADDED_AT +} +""" +Type of issue search performed +""" +enum IssueSearchType { """ - Identifies the date and time when the object was created. + Hybrid search combining lexical and semantic approaches """ - createdAt: DateTime! + HYBRID """ - Identifies the primary key from the database. + Lexical (keyword-based) search """ - databaseId: Int + LEXICAL """ - The mannequin's email on the source instance. + Semantic (meaning-based) search using embeddings """ - email: String + SEMANTIC +} +""" +The possible states of an issue. +""" +enum IssueState { """ - The Node ID of the Mannequin object + An issue that has been closed """ - id: ID! + CLOSED """ - The username of the actor. + An issue that is still open """ - login: String! + OPEN +} +""" +The possible state reasons of an issue. +""" +enum IssueStateReason { """ - The HTML path to this resource. + An issue that has been closed as completed """ - resourcePath: URI! + COMPLETED """ - Identifies the date and time when the object was last updated. + An issue that has been closed as a duplicate. """ - updatedAt: DateTime! + DUPLICATE """ - The URL to this resource. + An issue that has been closed as not planned """ - url: URI! + NOT_PLANNED + + """ + An issue that has been reopened + """ + REOPENED } """ -A list of mannequins. +Specifies a target state for an issue, with optional metadata such as a +rationale, close reason, or duplicate reference. Suggestion metadata +(`rationale`, `confidence`, `suggest`) is only meaningful when `value` is +`CLOSED`; it is silently ignored otherwise. """ -type MannequinConnection { +input IssueStateUpdateInput { """ - A list of edges. + The confidence level the agent had when suggesting this close. Only meaningful when `value` is `CLOSED`. """ - edges: [MannequinEdge] + confidence: IssueEventConfidenceLevel """ - A list of nodes. + The ID of the issue that this is a duplicate of. Only meaningful when `value` + is `CLOSED` and `stateReason` is `DUPLICATE`. """ - nodes: [Mannequin] + duplicateIssueId: ID """ - Information to aid in pagination. + Optional rationale describing why the issue is being closed. Only meaningful when `value` is `CLOSED`. Max 280 characters. """ - pageInfo: PageInfo! + rationale: String """ - Identifies the total count of items in the connection. + The reason for closing the issue. Only meaningful when `value` is `CLOSED`. """ - totalCount: Int! -} + stateReason: IssueClosedStateReason -""" -Represents a mannequin. -""" -type MannequinEdge { """ - A cursor for use in pagination. + If true, the close is stored as a pending suggestion for human review rather + than being applied directly. Only meaningful when `value` is `CLOSED`; + silently ignored otherwise. """ - cursor: String! + suggest: Boolean """ - The item at the end of the edge. + The target state. """ - node: Mannequin + value: IssueState! } """ -Ordering options for mannequins. +A repository issue template. """ -input MannequinOrder { +type IssueTemplate { """ - The ordering direction. + The template purpose. """ - direction: OrderDirection! + about: String """ - The field to order mannequins by. + The suggested assignees. """ - field: MannequinOrderField! -} - -""" -Properties by which mannequins can be ordered. -""" -enum MannequinOrderField { + assignees( + """ + 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 + ): UserConnection! + """ - Order mannequins why when they were created. + The suggested issue body. """ - CREATED_AT + body: String """ - Order mannequins alphabetically by their source login. + The template filename. """ - LOGIN -} + filename: String! -""" -Autogenerated input type of MarkDiscussionCommentAsAnswer -""" -input MarkDiscussionCommentAsAnswerInput { """ - A unique identifier for the client performing the mutation. + The suggested issue labels """ - clientMutationId: String + labels( + """ + 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 labels returned from the connection. + """ + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} + ): LabelConnection """ - The Node ID of the discussion comment to mark as an answer. + The template name. """ - id: ID! -} + name: String! -""" -Autogenerated return type of MarkDiscussionCommentAsAnswer. -""" -type MarkDiscussionCommentAsAnswerPayload { """ - A unique identifier for the client performing the mutation. + The suggested issue title. """ - clientMutationId: String + title: String """ - The discussion that includes the chosen comment. + The suggested issue type """ - discussion: Discussion + type: IssueType } """ -Autogenerated input type of MarkFileAsViewed +The connection type for IssueTimelineItem. """ -input MarkFileAsViewedInput { +type IssueTimelineConnection { """ - A unique identifier for the client performing the mutation. + A list of edges. """ - clientMutationId: String + edges: [IssueTimelineItemEdge] """ - The path of the file to mark as viewed + A list of nodes. """ - path: String! + nodes: [IssueTimelineItem] """ - The Node ID of the pull request. + Information to aid in pagination. """ - pullRequestId: ID! + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! } """ -Autogenerated return type of MarkFileAsViewed. +An item in an issue timeline """ -type MarkFileAsViewedPayload { +union IssueTimelineItem = AssignedEvent | ClosedEvent | Commit | CrossReferencedEvent | DemilestonedEvent | IssueComment | LabeledEvent | LockedEvent | MilestonedEvent | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent + +""" +An edge in a connection. +""" +type IssueTimelineItemEdge { """ - A unique identifier for the client performing the mutation. + A cursor for use in pagination. """ - clientMutationId: String + cursor: String! """ - The updated pull request. + The item at the end of the edge. """ - pullRequest: PullRequest + node: IssueTimelineItem } """ -Autogenerated input type of MarkProjectV2AsTemplate +An item in an issue timeline """ -input MarkProjectV2AsTemplateInput { +union IssueTimelineItems = AddedToProjectEvent | AddedToProjectV2Event | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DisconnectedEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueFieldAddedEvent | IssueFieldChangedEvent | IssueFieldRemovedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | ReferencedEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RenamedTitleEvent | ReopenedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent + +""" +The connection type for IssueTimelineItems. +""" +type IssueTimelineItemsConnection { """ - A unique identifier for the client performing the mutation. + A list of edges. """ - clientMutationId: String + edges: [IssueTimelineItemsEdge] """ - The ID of the Project to mark as a template. + Identifies the count of items after applying `before` and `after` filters. """ - projectId: ID! -} + filteredCount: Int! -""" -Autogenerated return type of MarkProjectV2AsTemplate. -""" -type MarkProjectV2AsTemplatePayload { """ - A unique identifier for the client performing the mutation. + A list of nodes. """ - clientMutationId: String + nodes: [IssueTimelineItems] """ - The project. + Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. """ - projectV2: ProjectV2 -} + pageCount: Int! -""" -Autogenerated input type of MarkPullRequestReadyForReview -""" -input MarkPullRequestReadyForReviewInput { """ - A unique identifier for the client performing the mutation. + Information to aid in pagination. """ - clientMutationId: String + pageInfo: PageInfo! """ - ID of the pull request to be marked as ready for review. + Identifies the total count of items in the connection. """ - pullRequestId: ID! + totalCount: Int! + + """ + Identifies the date and time when the timeline was last updated. + """ + updatedAt: DateTime! } """ -Autogenerated return type of MarkPullRequestReadyForReview. +An edge in a connection. """ -type MarkPullRequestReadyForReviewPayload { +type IssueTimelineItemsEdge { """ - A unique identifier for the client performing the mutation. + A cursor for use in pagination. """ - clientMutationId: String + cursor: String! """ - The pull request that is ready for review. + The item at the end of the edge. """ - pullRequest: PullRequest + node: IssueTimelineItems } """ -Represents a 'marked_as_duplicate' event on a given issue or pull request. +The possible item types found in a timeline. """ -type MarkedAsDuplicateEvent implements Node { +enum IssueTimelineItemsItemType { """ - Identifies the actor who performed the event. + Represents a 'added_to_project' event on a given issue or pull request. """ - actor: Actor + ADDED_TO_PROJECT_EVENT """ - The authoritative issue or pull request which has been duplicated by another. + Represents a 'added_to_project_v2' event on a given issue or pull request. """ - canonical: IssueOrPullRequest + ADDED_TO_PROJECT_V2_EVENT """ - Identifies the date and time when the object was created. + Represents an 'assigned' event on any assignable object. """ - createdAt: DateTime! + ASSIGNED_EVENT """ - The issue or pull request which has been marked as a duplicate of another. + Represents a 'blocked_by_added' event on a given issue. """ - duplicate: IssueOrPullRequest + BLOCKED_BY_ADDED_EVENT """ - The Node ID of the MarkedAsDuplicateEvent object + Represents a 'blocked_by_removed' event on a given issue. """ - id: ID! + BLOCKED_BY_REMOVED_EVENT """ - Canonical and duplicate belong to different repositories. + Represents a 'blocking_added' event on a given issue. """ - isCrossRepository: Boolean! -} + BLOCKING_ADDED_EVENT -""" -A public description of a Marketplace category. -""" -type MarketplaceCategory implements Node { """ - The category's description. + Represents a 'blocking_removed' event on a given issue. """ - description: String + BLOCKING_REMOVED_EVENT """ - The technical description of how apps listed in this category work with GitHub. + Represents a 'closed' event on any `Closable`. """ - howItWorks: String + CLOSED_EVENT """ - The Node ID of the MarketplaceCategory object + Represents a 'comment_deleted' event on a given issue or pull request. """ - id: ID! + COMMENT_DELETED_EVENT """ - The category's name. + Represents a 'connected' event on a given issue or pull request. """ - name: String! + CONNECTED_EVENT """ - How many Marketplace listings have this as their primary category. + Represents a 'converted_from_draft' event on a given issue or pull request. """ - primaryListingCount: Int! + CONVERTED_FROM_DRAFT_EVENT """ - The HTTP path for this Marketplace category. + Represents a 'converted_note_to_issue' event on a given issue or pull request. """ - resourcePath: URI! + CONVERTED_NOTE_TO_ISSUE_EVENT """ - How many Marketplace listings have this as their secondary category. + Represents a 'converted_to_discussion' event on a given issue. """ - secondaryListingCount: Int! + CONVERTED_TO_DISCUSSION_EVENT """ - The short name of the category used in its URL. + Represents a mention made by one issue or pull request to another. """ - slug: String! + CROSS_REFERENCED_EVENT """ - The HTTP URL for this Marketplace category. + Represents a 'demilestoned' event on a given issue or pull request. """ - url: URI! -} + DEMILESTONED_EVENT -""" -A listing in the GitHub integration marketplace. -""" -type MarketplaceListing implements Node { """ - The GitHub App this listing represents. + Represents a 'disconnected' event on a given issue or pull request. """ - app: App + DISCONNECTED_EVENT """ - URL to the listing owner's company site. + Represents a comment on an Issue. """ - companyUrl: URI + ISSUE_COMMENT """ - The HTTP path for configuring access to the listing's integration or OAuth app + Represents a 'issue_comment_pinned' event on a given issue. """ - configurationResourcePath: URI! + ISSUE_COMMENT_PINNED_EVENT """ - The HTTP URL for configuring access to the listing's integration or OAuth app + Represents a 'issue_comment_unpinned' event on a given issue. """ - configurationUrl: URI! + ISSUE_COMMENT_UNPINNED_EVENT """ - URL to the listing's documentation. + Represents a 'issue_field_added' event on a given issue. """ - documentationUrl: URI + ISSUE_FIELD_ADDED_EVENT """ - The listing's detailed description. + Represents a 'issue_field_changed' event on a given issue. """ - extendedDescription: String + ISSUE_FIELD_CHANGED_EVENT """ - The listing's detailed description rendered to HTML. + Represents a 'issue_field_removed' event on a given issue. """ - extendedDescriptionHTML: HTML! + ISSUE_FIELD_REMOVED_EVENT """ - The listing's introductory description. + Represents a 'issue_type_added' event on a given issue. """ - fullDescription: String! + ISSUE_TYPE_ADDED_EVENT """ - The listing's introductory description rendered to HTML. + Represents a 'issue_type_changed' event on a given issue. """ - fullDescriptionHTML: HTML! + ISSUE_TYPE_CHANGED_EVENT """ - Does this listing have any plans with a free trial? + Represents a 'issue_type_removed' event on a given issue. """ - hasPublishedFreeTrialPlans: Boolean! + ISSUE_TYPE_REMOVED_EVENT """ - Does this listing have a terms of service link? + Represents a 'labeled' event on a given issue or pull request. """ - hasTermsOfService: Boolean! + LABELED_EVENT """ - Whether the creator of the app is a verified org + Represents a 'locked' event on a given issue or pull request. """ - hasVerifiedOwner: Boolean! + LOCKED_EVENT """ - A technical description of how this app works with GitHub. + Represents a 'marked_as_duplicate' event on a given issue or pull request. """ - howItWorks: String + MARKED_AS_DUPLICATE_EVENT """ - The listing's technical description rendered to HTML. + Represents a 'mentioned' event on a given issue or pull request. """ - howItWorksHTML: HTML! + MENTIONED_EVENT """ - The Node ID of the MarketplaceListing object + Represents a 'milestoned' event on a given issue or pull request. """ - id: ID! + MILESTONED_EVENT """ - URL to install the product to the viewer's account or organization. + Represents a 'moved_columns_in_project' event on a given issue or pull request. """ - installationUrl: URI + MOVED_COLUMNS_IN_PROJECT_EVENT """ - Whether this listing's app has been installed for the current viewer + Represents a 'parent_issue_added' event on a given issue. """ - installedForViewer: Boolean! + PARENT_ISSUE_ADDED_EVENT """ - Whether this listing has been removed from the Marketplace. + Represents a 'parent_issue_removed' event on a given issue. """ - isArchived: Boolean! + PARENT_ISSUE_REMOVED_EVENT """ - Whether this listing is still an editable draft that has not been submitted - for review and is not publicly visible in the Marketplace. + Represents a 'pinned' event on a given issue or pull request. """ - isDraft: Boolean! + PINNED_EVENT """ - Whether the product this listing represents is available as part of a paid plan. + Represents a 'project_v2_item_status_changed' event on a given issue or pull request. """ - isPaid: Boolean! + PROJECT_V2_ITEM_STATUS_CHANGED_EVENT """ - Whether this listing has been approved for display in the Marketplace. + Represents a 'referenced' event on a given `ReferencedSubject`. """ - isPublic: Boolean! + REFERENCED_EVENT """ - Whether this listing has been rejected by GitHub for display in the Marketplace. + Represents a 'removed_from_project' event on a given issue or pull request. """ - isRejected: Boolean! + REMOVED_FROM_PROJECT_EVENT """ - Whether this listing has been approved for unverified display in the Marketplace. + Represents a 'removed_from_project_v2' event on a given issue or pull request. """ - isUnverified: Boolean! + REMOVED_FROM_PROJECT_V2_EVENT """ - Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace. + Represents a 'renamed' event on a given issue or pull request """ - isUnverifiedPending: Boolean! + RENAMED_TITLE_EVENT """ - Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace. + Represents a 'reopened' event on any `Closable`. """ - isVerificationPendingFromDraft: Boolean! + REOPENED_EVENT """ - Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace. + Represents a 'subscribed' event on a given `Subscribable`. """ - isVerificationPendingFromUnverified: Boolean! + SUBSCRIBED_EVENT """ - Whether this listing has been approved for verified display in the Marketplace. + Represents a 'sub_issue_added' event on a given issue. """ - isVerified: Boolean! + SUB_ISSUE_ADDED_EVENT """ - The hex color code, without the leading '#', for the logo background. + Represents a 'sub_issue_removed' event on a given issue. """ - logoBackgroundColor: String! + SUB_ISSUE_REMOVED_EVENT """ - URL for the listing's logo image. + Represents a 'transferred' event on a given issue or pull request. """ - logoUrl( - """ - The size in pixels of the resulting square image. - """ - size: Int = 400 - ): URI + TRANSFERRED_EVENT """ - The listing's full name. + Represents an 'unassigned' event on any assignable object. """ - name: String! + UNASSIGNED_EVENT """ - The listing's very short description without a trailing period or ampersands. + Represents an 'unlabeled' event on a given issue or pull request. """ - normalizedShortDescription: String! + UNLABELED_EVENT """ - URL to the listing's detailed pricing. + Represents an 'unlocked' event on a given issue or pull request. """ - pricingUrl: URI + UNLOCKED_EVENT """ - The category that best describes the listing. + Represents an 'unmarked_as_duplicate' event on a given issue or pull request. """ - primaryCategory: MarketplaceCategory! + UNMARKED_AS_DUPLICATE_EVENT """ - URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL. + Represents an 'unpinned' event on a given issue or pull request. """ - privacyPolicyUrl: URI! + UNPINNED_EVENT """ - The HTTP path for the Marketplace listing. + Represents an 'unsubscribed' event on a given `Subscribable`. """ - resourcePath: URI! + UNSUBSCRIBED_EVENT """ - The URLs for the listing's screenshots. + Represents a 'user_blocked' event on a given user. """ - screenshotUrls: [String]! + USER_BLOCKED_EVENT +} +""" +Represents the type of Issue. +""" +type IssueType implements Node { """ - An alternate category that describes the listing. + The issue type's color. """ - secondaryCategory: MarketplaceCategory + color: IssueTypeColor! """ - The listing's very short description. + The issue type's description. """ - shortDescription: String! + description: String """ - The short name of the listing used in its URL. + The Node ID of the IssueType object """ - slug: String! + id: ID! """ - URL to the listing's status page. + The issue type's enabled state. """ - statusUrl: URI + isEnabled: Boolean! """ - An email address for support for this listing's app. + Whether the issue type is publicly visible. """ - supportEmail: String + isPrivate: Boolean! @deprecated(reason: "Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC.") """ - Either a URL or an email address for support for this listing's app, may - return an empty string for listings that do not require a support URL. + The issues with this issue type in the given repository. """ - supportUrl: URI! + issues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - URL to the listing's terms of service. - """ - termsOfServiceUrl: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Filtering options for issues returned from the connection. + """ + filterBy: IssueFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection. + """ + orderBy: IssueOrder + + """ + Target repository to load the issues from. + """ + repositoryId: ID! + + """ + A list of states to filter the issues by. + """ + states: [IssueState!] + ): IssueConnection! """ - The HTTP URL for the Marketplace listing. + The issue type's name. """ - url: URI! + name: String! """ - Can the current viewer add plans for this Marketplace listing. + An ordered list of issue fields pinned to this type. """ - viewerCanAddPlans: Boolean! + pinnedFields: [IssueFields!] +} +""" +Represents a 'issue_type_added' event on a given issue. +""" +type IssueTypeAddedEvent implements Node { """ - Can the current viewer approve this Marketplace listing. + Identifies the actor who performed the event. """ - viewerCanApprove: Boolean! + actor: Actor """ - Can the current viewer delist this Marketplace listing. + Identifies the date and time when the object was created. """ - viewerCanDelist: Boolean! + createdAt: DateTime! """ - Can the current viewer edit this Marketplace listing. + The Node ID of the IssueTypeAddedEvent object """ - viewerCanEdit: Boolean! + id: ID! """ - Can the current viewer edit the primary and secondary category of this - Marketplace listing. + The intent behind the agent's action, including rationale and confidence. """ - viewerCanEditCategories: Boolean! + intent: IssueUpdateIntent """ - Can the current viewer edit the plans for this Marketplace listing. + The issue type added. """ - viewerCanEditPlans: Boolean! + issueType: IssueType +} +""" +Represents a 'issue_type_changed' event on a given issue. +""" +type IssueTypeChangedEvent implements Node { """ - Can the current viewer return this Marketplace listing to draft state - so it becomes editable again. + Identifies the actor who performed the event. """ - viewerCanRedraft: Boolean! + actor: Actor """ - Can the current viewer reject this Marketplace listing by returning it to - an editable draft state or rejecting it entirely. + Identifies the date and time when the object was created. """ - viewerCanReject: Boolean! + createdAt: DateTime! """ - Can the current viewer request this listing be reviewed for display in - the Marketplace as verified. + The Node ID of the IssueTypeChangedEvent object """ - viewerCanRequestApproval: Boolean! + id: ID! """ - Indicates whether the current user has an active subscription to this Marketplace listing. + The intent behind the agent's action, including rationale and confidence. """ - viewerHasPurchased: Boolean! + intent: IssueUpdateIntent """ - Indicates if the current user has purchased a subscription to this Marketplace listing - for all of the organizations the user owns. + The issue type added. """ - viewerHasPurchasedForAllOrganizations: Boolean! + issueType: IssueType """ - Does the current viewer role allow them to administer this Marketplace listing. + The issue type removed. """ - viewerIsListingAdmin: Boolean! + prevIssueType: IssueType } """ -Look up Marketplace Listings +The possible color for an issue type """ -type MarketplaceListingConnection { +enum IssueTypeColor { """ - A list of edges. + blue """ - edges: [MarketplaceListingEdge] + BLUE """ - A list of nodes. + gray """ - nodes: [MarketplaceListing] + GRAY """ - Information to aid in pagination. + green """ - pageInfo: PageInfo! + GREEN """ - Identifies the total count of items in the connection. + orange """ - totalCount: Int! -} + ORANGE -""" -An edge in a connection. -""" -type MarketplaceListingEdge { """ - A cursor for use in pagination. + pink """ - cursor: String! + PINK """ - The item at the end of the edge. + purple """ - node: MarketplaceListing -} + PURPLE -""" -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. -""" -type MaxFilePathLengthParameters { """ - The maximum amount of characters allowed in file paths + red """ - maxFilePathLength: Int! -} + RED -""" -Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. -""" -input MaxFilePathLengthParametersInput { """ - The maximum amount of characters allowed in file paths + yellow """ - maxFilePathLength: Int! + YELLOW } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. +The connection type for IssueType. """ -type MaxFileSizeParameters { +type IssueTypeConnection { """ - The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). + A list of edges. """ - maxFileSize: Int! -} + edges: [IssueTypeEdge] -""" -Prevent commits that exceed a specified file size limit from being pushed to the commit graph. -""" -input MaxFileSizeParametersInput { """ - The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). + A list of nodes. """ - maxFileSize: Int! -} + nodes: [IssueType] -""" -Represents a member feature request notification -""" -type MemberFeatureRequestNotification implements Node { """ - Represents member feature request body containing entity name and the number of feature requests + Information to aid in pagination. """ - body: String! + pageInfo: PageInfo! """ - The Node ID of the MemberFeatureRequestNotification object + Identifies the total count of items in the connection. """ - id: ID! + totalCount: Int! +} +""" +An edge in a connection. +""" +type IssueTypeEdge { """ - Represents member feature request notification title + A cursor for use in pagination. """ - title: String! + cursor: String! """ - Identifies the date and time when the object was last updated. + The item at the end of the edge. """ - updatedAt: DateTime! + node: IssueType } """ -Entities that have members who can set status messages. +Ordering options for issue types connections """ -interface MemberStatusable { +input IssueTypeOrder { """ - Get the status messages members of this entity have set that are either public or visible only to the organization. + The ordering direction. """ - memberStatuses( - """ - 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 + direction: OrderDirection! - """ - Ordering options for user statuses returned from the connection. - """ - orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} - ): UserStatusConnection! + """ + The field to order issue types by. + """ + field: IssueTypeOrderField! } """ -Audit log entry for a members_can_delete_repos.clear event. +Properties by which issue type connections can be ordered. """ -type MembersCanDeleteReposClearAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { - """ - The action name - """ - action: String! - +enum IssueTypeOrderField { """ - The user who initiated the action + Order issue types by creation time """ - actor: AuditEntryActor + CREATED_AT """ - The IP address of the actor + Order issue types by name """ - actorIp: String + NAME +} +""" +Represents a 'issue_type_removed' event on a given issue. +""" +type IssueTypeRemovedEvent implements Node { """ - A readable representation of the actor's location + Identifies the actor who performed the event. """ - actorLocation: ActorLocation + actor: Actor """ - The username of the user who initiated the action + Identifies the date and time when the object was created. """ - actorLogin: String + createdAt: DateTime! """ - The HTTP path for the actor. + The Node ID of the IssueTypeRemovedEvent object """ - actorResourcePath: URI + id: ID! """ - The HTTP URL for the actor. + The intent behind the agent's action, including rationale and confidence. """ - actorUrl: URI + intent: IssueUpdateIntent """ - The time the action was initiated + The issue type removed. """ - createdAt: PreciseDateTime! + issueType: IssueType +} +""" +Specifies an Issue Type to set on an issue, with optional metadata such as a rationale. +""" +input IssueTypeUpdateInput { """ - The HTTP path for this enterprise. + The confidence level the agent had when selecting this value. """ - enterpriseResourcePath: URI + confidence: IssueEventConfidenceLevel """ - The slug of the enterprise. + The ID of the Issue Type to set on this issue. Pass null to clear the issue type. """ - enterpriseSlug: String + issueTypeId: ID """ - The HTTP URL for this enterprise. + Optional rationale describing why this value was selected. Max 280 characters. """ - enterpriseUrl: URI + rationale: String """ - The Node ID of the MembersCanDeleteReposClearAuditEntry object + If true, the value is stored as a pending suggestion for human review rather than being applied directly. """ - id: ID! + suggest: Boolean +} +""" +The intent behind an agent's issue event action, including rationale and confidence. +""" +type IssueUpdateIntent { """ - The corresponding operation type for the action + The confidence level the agent had when performing this action. """ - operationType: OperationType + confidence: IssueEventConfidenceLevel """ - The Organization associated with the Audit Entry. + Identifies the primary key from the database. """ - organization: Organization + databaseId: Int """ - The name of the Organization. + Opaque identifier for the underlying intent. Carries the DB bigint as a String. """ - organizationName: String + intentId: String """ - The HTTP path for the organization + The reasoning or explanation text for the event. """ - organizationResourcePath: URI + rationale: String +} +""" +Represents a user signing up for a GitHub account. +""" +type JoinedGitHubContribution implements Contribution { """ - The HTTP URL for the organization + Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. """ - organizationUrl: URI + isRestricted: Boolean! """ - The user affected by the action + When this contribution was made. """ - user: User + occurredAt: DateTime! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The HTTP path for this contribution. """ - userLogin: String + resourcePath: URI! """ - The HTTP path for the user. + The HTTP URL for this contribution. """ - userResourcePath: URI + url: URI! """ - The HTTP URL for the user. + The user who made this contribution. """ - userUrl: URI + user: User! } """ -Audit log entry for a members_can_delete_repos.disable event. +A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository. """ -type MembersCanDeleteReposDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { +type Label implements Node { """ - The action name + Identifies the label color. """ - action: String! + color: String! """ - The user who initiated the action + Identifies the date and time when the label was created. """ - actor: AuditEntryActor + createdAt: DateTime """ - The IP address of the actor + A brief description of this label. """ - actorIp: String + description: String """ - A readable representation of the actor's location + The Node ID of the Label object """ - actorLocation: ActorLocation + id: ID! """ - The username of the user who initiated the action + Indicates whether or not this is a default label. """ - actorLogin: String + isDefault: Boolean! """ - The HTTP path for the actor. + A list of issues associated with this label. """ - actorResourcePath: URI + issues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The HTTP URL for the actor. - """ - actorUrl: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! + """ + Filtering options for issues returned from the connection. + """ + filterBy: IssueFilters - """ - The HTTP path for this enterprise. - """ - enterpriseResourcePath: URI + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The slug of the enterprise. - """ - enterpriseSlug: String + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] - """ - The HTTP URL for this enterprise. - """ - enterpriseUrl: URI + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection. + """ + orderBy: IssueOrder + + """ + A list of states to filter the issues by. + """ + states: [IssueState!] + ): IssueConnection! """ - The Node ID of the MembersCanDeleteReposDisableAuditEntry object + Identifies the label name. """ - id: ID! + name: String! """ - The corresponding operation type for the action + A list of pull requests associated with this label. """ - operationType: OperationType + pullRequests( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + The base ref name to filter the pull requests by. + """ + baseRefName: 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 + + """ + The head ref name to filter the pull requests by. + """ + headRefName: String + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for pull requests returned from the connection. + """ + orderBy: IssueOrder + + """ + A list of states to filter the pull requests by. + """ + states: [PullRequestState!] + ): PullRequestConnection! """ - The Organization associated with the Audit Entry. + The repository associated with this label. """ - organization: Organization + repository: Repository! """ - The name of the Organization. + The HTTP path for this label. """ - organizationName: String + resourcePath: URI! """ - The HTTP path for the organization + Identifies the date and time when the label was last updated. """ - organizationResourcePath: URI + updatedAt: DateTime """ - The HTTP URL for the organization + The HTTP URL for this label. """ - organizationUrl: URI + url: URI! +} +""" +The connection type for Label. +""" +type LabelConnection { """ - The user affected by the action + A list of edges. """ - user: User + edges: [LabelEdge] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + A list of nodes. """ - userLogin: String + nodes: [Label] """ - The HTTP path for the user. + Information to aid in pagination. """ - userResourcePath: URI + pageInfo: PageInfo! """ - The HTTP URL for the user. + Identifies the total count of items in the connection. """ - userUrl: URI + totalCount: Int! } """ -Audit log entry for a members_can_delete_repos.enable event. +An edge in a connection. """ -type MembersCanDeleteReposEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { +type LabelEdge { """ - The action name + A cursor for use in pagination. """ - action: String! + cursor: String! """ - The user who initiated the action + The item at the end of the edge. """ - actor: AuditEntryActor + node: Label +} +""" +Ways in which lists of labels can be ordered upon return. +""" +input LabelOrder { """ - The IP address of the actor + The direction in which to order labels by the specified field. """ - actorIp: String + direction: OrderDirection! """ - A readable representation of the actor's location + The field in which to order labels by. """ - actorLocation: ActorLocation + field: LabelOrderField! +} +""" +Properties by which label connections can be ordered. +""" +enum LabelOrderField { """ - The username of the user who initiated the action + Order labels by creation time """ - actorLogin: String + CREATED_AT """ - The HTTP path for the actor. + Order labels by issue count """ - actorResourcePath: URI + ISSUE_COUNT """ - The HTTP URL for the actor. + Order labels by name """ - actorUrl: URI + NAME +} +""" +Specifies a Label to set on an issue, with optional metadata such as a rationale. +""" +input LabelUpdateInput { """ - The time the action was initiated + The confidence level the agent had when selecting this value. """ - createdAt: PreciseDateTime! + confidence: IssueEventConfidenceLevel """ - The HTTP path for this enterprise. + The ID of the Label. """ - enterpriseResourcePath: URI + labelId: ID! """ - The slug of the enterprise. + Optional rationale describing why this value was selected. Max 280 characters. """ - enterpriseSlug: String + rationale: String """ - The HTTP URL for this enterprise. + If true, the value is stored as a pending suggestion for human review rather than being applied directly. """ - enterpriseUrl: URI + suggest: Boolean +} +""" +An object that can have labels assigned to it. +""" +interface Labelable { """ - The Node ID of the MembersCanDeleteReposEnableAuditEntry object + A list of labels associated with the object. """ - id: ID! + labels( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The corresponding operation type for the action - """ - operationType: OperationType + """ + 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 labels returned from the connection. + """ + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} + ): LabelConnection """ - The Organization associated with the Audit Entry. + Indicates if the viewer can edit labels for this object. """ - organization: Organization + viewerCanLabel: Boolean! +} +""" +Represents a 'labeled' event on a given issue or pull request. +""" +type LabeledEvent implements Node { """ - The name of the Organization. + Identifies the actor who performed the event. """ - organizationName: String + actor: Actor """ - The HTTP path for the organization + Identifies the date and time when the object was created. """ - organizationResourcePath: URI + createdAt: DateTime! """ - The HTTP URL for the organization + The Node ID of the LabeledEvent object """ - organizationUrl: URI + id: ID! """ - The user affected by the action + The intent behind the agent's action, including rationale and confidence. """ - user: User + intent: IssueUpdateIntent """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Identifies the label associated with the 'labeled' event. """ - userLogin: String + label: Label! """ - The HTTP path for the user. + Identifies the `Labelable` associated with the event. """ - userResourcePath: URI + labelable: Labelable! """ - The HTTP URL for the user. + The rationale associated with this event. Always returns null; use `intent` instead. """ - userUrl: URI + rationale: IssueEventRationale @deprecated(reason: "Use `intent` instead. This field is being removed and now always returns null.") } """ -Represents a 'mentioned' event on a given issue or pull request. +Represents a given language found in repositories. """ -type MentionedEvent implements Node { - """ - Identifies the actor who performed the event. - """ - actor: Actor - +type Language implements Node { """ - Identifies the date and time when the object was created. + The color defined for the current language. """ - createdAt: DateTime! + color: String """ - Identifies the primary key from the database. + The Node ID of the Language object """ - databaseId: Int + id: ID! """ - The Node ID of the MentionedEvent object + The name of the current language. """ - id: ID! + name: String! } """ -Autogenerated input type of MergeBranch +A list of languages associated with the parent. """ -input MergeBranchInput { - """ - The email address to associate with this commit. - """ - authorEmail: String - +type LanguageConnection { """ - The name of the base branch that the provided head will be merged into. + A list of edges. """ - base: String! + edges: [LanguageEdge] """ - A unique identifier for the client performing the mutation. + A list of nodes. """ - clientMutationId: String + nodes: [Language] """ - Message to use for the merge commit. If omitted, a default will be used. + Information to aid in pagination. """ - commitMessage: String + pageInfo: PageInfo! """ - The head to merge into the base branch. This can be a branch name or a commit GitObjectID. + Identifies the total count of items in the connection. """ - head: String! + totalCount: Int! """ - The Node ID of the Repository containing the base branch that will be modified. + The total size in bytes of files written in that language. """ - repositoryId: ID! + totalSize: Int! } """ -Autogenerated return type of MergeBranch. +Represents the language of a repository. """ -type MergeBranchPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String +type LanguageEdge { + cursor: String! + node: Language! """ - The resulting merge Commit. + The number of bytes of code written in the language. """ - mergeCommit: Commit + size: Int! } """ -The possible default commit messages for merges. +Ordering options for language connections. """ -enum MergeCommitMessage { +input LanguageOrder { """ - Default to a blank commit message. + The ordering direction. """ - BLANK + direction: OrderDirection! """ - Default to the pull request's body. + The field to order languages by. """ - PR_BODY + field: LanguageOrderField! +} +""" +Properties by which language connections can be ordered. +""" +enum LanguageOrderField { """ - Default to the pull request's title. + Order languages by the size of all files containing the language """ - PR_TITLE + SIZE } """ -The possible default commit titles for merges. +Reason why a semantic or hybrid issue search fell back to lexical search """ -enum MergeCommitTitle { +enum LexicalFallbackReason { """ - Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). + Query targets non-issue types (e.g., pull requests) """ - MERGE_MESSAGE + NON_ISSUE_TARGET """ - Default to the pull request's title. + Scoped query resolved to zero accessible repositories """ - PR_TITLE -} + NO_ACCESSIBLE_REPOS -""" -Autogenerated input type of MergePullRequest -""" -input MergePullRequestInput { """ - The email address to associate with this merge. + Query has only qualifiers and no free text terms """ - authorEmail: String + NO_TEXT_TERMS """ - A unique identifier for the client performing the mutation. + Query uses an in: qualifier targeting non-semantic fields """ - clientMutationId: String + ONLY_NON_SEMANTIC_FIELDS_REQUESTED """ - Commit body to use for the merge commit; if omitted, a default message will be used + Query contains OR operators (nested boolean qualifiers) """ - commitBody: String + OR_BOOLEAN_NOT_SUPPORTED """ - Commit headline to use for the merge commit; if omitted, a default message will be used. + Query contains quoted text requiring exact matches """ - commitHeadline: String + QUOTED_TEXT """ - OID that the pull request head ref must match to allow merge; if omitted, no check is performed. + Embedding generation failed or timed out """ - expectedHeadOid: GitObjectID + SERVER_ERROR +} +""" +A repository's open source license +""" +type License implements Node { """ - The merge method to use. If omitted, defaults to 'MERGE' + The full text of the license """ - mergeMethod: PullRequestMergeMethod = MERGE + body: String! """ - ID of the pull request to be merged. + The conditions set by the license """ - pullRequestId: ID! -} + conditions: [LicenseRule]! -""" -Autogenerated return type of MergePullRequest. -""" -type MergePullRequestPayload { """ - Identifies the actor who performed the event. + A human-readable description of the license """ - actor: Actor + description: String """ - A unique identifier for the client performing the mutation. + Whether the license should be featured """ - clientMutationId: String + featured: Boolean! """ - The pull request that was merged. + Whether the license should be displayed in license pickers """ - pullRequest: PullRequest -} + hidden: Boolean! -""" -The queue of pull request entries to be merged into a protected branch in a repository. -""" -type MergeQueue implements Node { """ - The configuration for this merge queue + The Node ID of the License object """ - configuration: MergeQueueConfiguration + id: ID! """ - The entries in the queue + Instructions on how to implement the license """ - entries( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + implementation: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The lowercased SPDX ID of the license + """ + key: String! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The limitations set by the license + """ + limitations: [LicenseRule]! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): MergeQueueEntryConnection + """ + The license full name specified by + """ + name: String! """ - The Node ID of the MergeQueue object + Customary short name if applicable (e.g, GPLv3) """ - id: ID! + nickname: String """ - The estimated time in seconds until a newly added entry would be merged + The permissions set by the license """ - nextEntryEstimatedTimeToMerge: Int + permissions: [LicenseRule]! """ - The repository this merge queue belongs to + Whether the license is a pseudo-license placeholder (e.g., other, no-license) """ - repository: Repository + pseudoLicense: Boolean! """ - The HTTP path for this merge queue + Short identifier specified by """ - resourcePath: URI! + spdxId: String """ - The HTTP URL for this merge queue + URL to the license on """ - url: URI! + url: URI } """ -Configuration for a MergeQueue +Describes a License's conditions, permissions, and limitations """ -type MergeQueueConfiguration { +type LicenseRule { """ - The amount of time in minutes to wait for a check response before considering it a failure. + A description of the rule """ - checkResponseTimeout: Int + description: String! """ - The maximum number of entries to build at once. + The machine-readable rule key """ - maximumEntriesToBuild: Int + key: String! """ - The maximum number of entries to merge at once. + The human-readable rule label """ - maximumEntriesToMerge: Int + label: String! +} +""" +Autogenerated input type of LinkProjectV2ToRepository +""" +input LinkProjectV2ToRepositoryInput { """ - The merge method to use for this queue. + A unique identifier for the client performing the mutation. """ - mergeMethod: PullRequestMergeMethod + clientMutationId: String """ - The strategy to use when merging entries. + The ID of the project to link to the repository. """ - mergingStrategy: MergeQueueMergingStrategy + projectId: ID! """ - The minimum number of entries required to merge at once. + The ID of the repository to link to the project. """ - minimumEntriesToMerge: Int + repositoryId: ID! +} + +""" +Autogenerated return type of LinkProjectV2ToRepository. +""" +type LinkProjectV2ToRepositoryPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The amount of time in minutes to wait before ignoring the minumum number of - entries in the queue requirement and merging a collection of entries + The repository the project is linked to. """ - minimumEntriesToMergeWaitTime: Int + repository: Repository } """ -Entries in a MergeQueue +Autogenerated input type of LinkProjectV2ToTeam """ -type MergeQueueEntry implements Node { +input LinkProjectV2ToTeamInput { """ - The base commit for this entry + A unique identifier for the client performing the mutation. """ - baseCommit: Commit + clientMutationId: String """ - The date and time this entry was added to the merge queue + The ID of the project to link to the team. """ - enqueuedAt: DateTime! + projectId: ID! """ - The actor that enqueued this entry + The ID of the team to link to the project. """ - enqueuer: Actor! + teamId: ID! +} +""" +Autogenerated return type of LinkProjectV2ToTeam. +""" +type LinkProjectV2ToTeamPayload { """ - The estimated time in seconds until this entry will be merged + A unique identifier for the client performing the mutation. """ - estimatedTimeToMerge: Int + clientMutationId: String """ - The head commit for this entry + The team the project is linked to """ - headCommit: Commit + team: Team +} +""" +Autogenerated input type of LinkRepositoryToProject +""" +input LinkRepositoryToProjectInput { """ - The Node ID of the MergeQueueEntry object + A unique identifier for the client performing the mutation. """ - id: ID! + clientMutationId: String """ - Whether this pull request should jump the queue + The ID of the Project to link to a Repository """ - jump: Boolean! + projectId: ID! """ - The merge queue that this entry belongs to + The ID of the Repository to link to a Project. """ - mergeQueue: MergeQueue + repositoryId: ID! +} +""" +Autogenerated return type of LinkRepositoryToProject. +""" +type LinkRepositoryToProjectPayload { """ - The position of this entry in the queue + A unique identifier for the client performing the mutation. """ - position: Int! + clientMutationId: String """ - The pull request that will be added to a merge group + The linked Project. """ - pullRequest: PullRequest + project: Project """ - Does this pull request need to be deployed on its own + The linked Repository. """ - solo: Boolean! + repository: Repository +} +""" +A branch linked to an issue. +""" +type LinkedBranch implements Node { """ - The state of this entry in the queue + The Node ID of the LinkedBranch object """ - state: MergeQueueEntryState! + id: ID! + + """ + The branch's ref. + """ + ref: Ref } """ -The connection type for MergeQueueEntry. +A list of branches linked to an issue. """ -type MergeQueueEntryConnection { +type LinkedBranchConnection { """ A list of edges. """ - edges: [MergeQueueEntryEdge] + edges: [LinkedBranchEdge] """ A list of nodes. """ - nodes: [MergeQueueEntry] + nodes: [LinkedBranch] """ Information to aid in pagination. @@ -22127,7 +24255,7 @@ type MergeQueueEntryConnection { """ An edge in a connection. """ -type MergeQueueEntryEdge { +type LinkedBranchEdge { """ A cursor for use in pagination. """ @@ -22136,5358 +24264,5626 @@ type MergeQueueEntryEdge { """ The item at the end of the edge. """ - node: MergeQueueEntry + node: LinkedBranch } """ -The possible states for a merge queue entry. +Autogenerated input type of LockLockable """ -enum MergeQueueEntryState { - """ - The entry is currently waiting for checks to pass. - """ - AWAITING_CHECKS - - """ - The entry is currently locked. - """ - LOCKED - +input LockLockableInput { """ - The entry is currently mergeable. + A unique identifier for the client performing the mutation. """ - MERGEABLE + clientMutationId: String """ - The entry is currently queued. + A reason for why the item will be locked. """ - QUEUED + lockReason: LockReason """ - The entry is currently unmergeable. + ID of the item to be locked. """ - UNMERGEABLE + lockableId: ID! } """ -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. +Autogenerated return type of LockLockable. """ -enum MergeQueueGroupingStrategy { +type LockLockablePayload { """ - The merge commit created by merge queue for each PR in the group must pass all required checks to merge + Identifies the actor who performed the event. """ - ALLGREEN + actor: Actor """ - Only the commit at the head of the merge group must pass its required checks to merge. + A unique identifier for the client performing the mutation. """ - HEADGREEN -} + clientMutationId: String -""" -Method to use when merging changes from queued pull requests. -""" -enum MergeQueueMergeMethod { """ - Merge commit + The item that was locked. """ - MERGE + lockedRecord: Lockable +} +""" +The possible reasons that an issue or pull request was locked. +""" +enum LockReason { """ - Rebase and merge + The issue or pull request was locked because the conversation was off-topic. """ - REBASE + OFF_TOPIC """ - Squash and merge + The issue or pull request was locked because the conversation was resolved. """ - SQUASH -} + RESOLVED -""" -The possible merging strategies for a merge queue. -""" -enum MergeQueueMergingStrategy { """ - Entries only allowed to merge if they are passing. + The issue or pull request was locked because the conversation was spam. """ - ALLGREEN + SPAM """ - Failing Entires are allowed to merge if they are with a passing entry. + The issue or pull request was locked because the conversation was too heated. """ - HEADGREEN + TOO_HEATED } """ -Merges must be performed via a merge queue. +An object that can be locked. """ -type MergeQueueParameters { +interface Lockable { """ - 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 + Reason that the conversation was locked. """ - checkResponseTimeoutMinutes: Int! + activeLockReason: LockReason """ - 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. + `true` if the object is locked """ - groupingStrategy: MergeQueueGroupingStrategy! + locked: Boolean! +} +""" +Represents a 'locked' event on a given issue or pull request. +""" +type LockedEvent implements Node { """ - Limit the number of queued pull requests requesting checks and workflow runs at the same time. + Identifies the actor who performed the event. """ - maxEntriesToBuild: Int! + actor: Actor """ - The maximum number of PRs that will be merged together in a group. + Identifies the date and time when the object was created. """ - maxEntriesToMerge: Int! + createdAt: DateTime! """ - Method to use when merging changes from queued pull requests. + The Node ID of the LockedEvent object """ - mergeMethod: MergeQueueMergeMethod! + id: ID! """ - The minimum number of PRs that will be merged together in a group. + Reason that the conversation was locked (optional). """ - minEntriesToMerge: Int! + lockReason: LockReason """ - 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. + Object that was locked. """ - minEntriesToMergeWaitMinutes: Int! + lockable: Lockable! } """ -Merges must be performed via a merge queue. +A placeholder user for attribution of imported data on GitHub. """ -input MergeQueueParametersInput { +type Mannequin implements Actor & Node & UniformResourceLocatable { """ - 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 + A URL pointing to the GitHub App's public avatar. """ - checkResponseTimeoutMinutes: Int! + avatarUrl( + """ + The size of the resulting square image. + """ + size: Int + ): URI! """ - 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. + The user that has claimed the data attributed to this mannequin. """ - groupingStrategy: MergeQueueGroupingStrategy! + claimant: User """ - Limit the number of queued pull requests requesting checks and workflow runs at the same time. + Identifies the date and time when the object was created. """ - maxEntriesToBuild: Int! + createdAt: DateTime! """ - The maximum number of PRs that will be merged together in a group. + Identifies the primary key from the database. """ - maxEntriesToMerge: Int! + databaseId: Int """ - Method to use when merging changes from queued pull requests. + The mannequin's email on the source instance. """ - mergeMethod: MergeQueueMergeMethod! + email: String """ - The minimum number of PRs that will be merged together in a group. + The Node ID of the Mannequin object """ - minEntriesToMerge: Int! + id: ID! """ - 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. + The username of the actor. """ - minEntriesToMergeWaitMinutes: Int! -} + login: String! -""" -Detailed status information about a pull request merge. -""" -enum MergeStateStatus { """ - The head ref is out of date. + The display name of the imported mannequin. """ - BEHIND + name: String """ - The merge is blocked. + The HTML path to this resource. """ - BLOCKED + resourcePath: URI! """ - Mergeable and passing commit status. + Identifies the date and time when the object was last updated. """ - CLEAN + updatedAt: DateTime! """ - The merge commit cannot be cleanly created. + The URL to this resource. """ - DIRTY + url: URI! +} +""" +A list of mannequins. +""" +type MannequinConnection { """ - The merge is blocked due to the pull request being a draft. + A list of edges. """ - DRAFT @deprecated(reason: "DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.") + edges: [MannequinEdge] """ - Mergeable with passing commit status and pre-receive hooks. + A list of nodes. """ - HAS_HOOKS + nodes: [Mannequin] """ - The state cannot currently be determined. + Information to aid in pagination. """ - UNKNOWN + pageInfo: PageInfo! """ - Mergeable with non-passing commit status. + Identifies the total count of items in the connection. """ - UNSTABLE + totalCount: Int! } """ -Whether or not a PullRequest can be merged. +Represents a mannequin. """ -enum MergeableState { +type MannequinEdge { """ - The pull request cannot be merged due to merge conflicts. + A cursor for use in pagination. """ - CONFLICTING + cursor: String! """ - The pull request can be merged. + The item at the end of the edge. """ - MERGEABLE + node: Mannequin +} + +""" +Ordering options for mannequins. +""" +input MannequinOrder { + """ + The ordering direction. + """ + direction: OrderDirection! """ - The mergeability of the pull request is still being calculated. + The field to order mannequins by. """ - UNKNOWN + field: MannequinOrderField! } """ -Represents a 'merged' event on a given pull request. +Properties by which mannequins can be ordered. """ -type MergedEvent implements Node & UniformResourceLocatable { +enum MannequinOrderField { """ - Identifies the actor who performed the event. + Order mannequins why when they were created. """ - actor: Actor + CREATED_AT """ - Identifies the commit associated with the `merge` event. + Order mannequins alphabetically by their source login. """ - commit: Commit + LOGIN +} +""" +Autogenerated input type of MarkDiscussionCommentAsAnswer +""" +input MarkDiscussionCommentAsAnswerInput { """ - Identifies the date and time when the object was created. + A unique identifier for the client performing the mutation. """ - createdAt: DateTime! + clientMutationId: String """ - The Node ID of the MergedEvent object + The Node ID of the discussion comment to mark as an answer. """ id: ID! +} +""" +Autogenerated return type of MarkDiscussionCommentAsAnswer. +""" +type MarkDiscussionCommentAsAnswerPayload { """ - Identifies the Ref associated with the `merge` event. + A unique identifier for the client performing the mutation. """ - mergeRef: Ref + clientMutationId: String """ - Identifies the name of the Ref associated with the `merge` event. + The discussion that includes the chosen comment. """ - mergeRefName: String! + discussion: Discussion +} +""" +Autogenerated input type of MarkFileAsViewed +""" +input MarkFileAsViewedInput { """ - PullRequest referenced by event. + A unique identifier for the client performing the mutation. """ - pullRequest: PullRequest! + clientMutationId: String """ - The HTTP path for this merged event. + The path of the file to mark as viewed """ - resourcePath: URI! + path: String! """ - The HTTP URL for this merged event. + The Node ID of the pull request. """ - url: URI! + pullRequestId: ID! } """ -Represents a GitHub Enterprise Importer (GEI) migration. +Autogenerated return type of MarkFileAsViewed. """ -interface Migration { - """ - The migration flag to continue on error. - """ - continueOnError: Boolean! - +type MarkFileAsViewedPayload { """ - Identifies the date and time when the object was created. + A unique identifier for the client performing the mutation. """ - createdAt: DateTime! + clientMutationId: String """ - Identifies the primary key from the database. + The updated pull request. """ - databaseId: String + pullRequest: PullRequest +} +""" +Autogenerated input type of MarkProjectV2AsTemplate +""" +input MarkProjectV2AsTemplateInput { """ - The reason the migration failed. + A unique identifier for the client performing the mutation. """ - failureReason: String + clientMutationId: String """ - The Node ID of the Migration object + The ID of the Project to mark as a template. """ - id: ID! + projectId: ID! +} +""" +Autogenerated return type of MarkProjectV2AsTemplate. +""" +type MarkProjectV2AsTemplatePayload { """ - The URL for the migration log (expires 1 day after migration completes). + A unique identifier for the client performing the mutation. """ - migrationLogUrl: URI + clientMutationId: String """ - The migration source. + The project. """ - migrationSource: MigrationSource! + projectV2: ProjectV2 +} +""" +Autogenerated input type of MarkPullRequestReadyForReview +""" +input MarkPullRequestReadyForReviewInput { """ - The target repository name. + A unique identifier for the client performing the mutation. """ - repositoryName: String! + clientMutationId: String """ - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + ID of the pull request to be marked as ready for review. """ - sourceUrl: URI! + pullRequestId: ID! +} +""" +Autogenerated return type of MarkPullRequestReadyForReview. +""" +type MarkPullRequestReadyForReviewPayload { """ - The migration state. + A unique identifier for the client performing the mutation. """ - state: MigrationState! + clientMutationId: String """ - The number of warnings encountered for this migration. To review the warnings, - check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + The pull request that is ready for review. """ - warningsCount: Int! + pullRequest: PullRequest } """ -A GitHub Enterprise Importer (GEI) migration source. +Represents a 'marked_as_duplicate' event on a given issue or pull request. """ -type MigrationSource implements Node { - """ - The Node ID of the MigrationSource object - """ - id: ID! - +type MarkedAsDuplicateEvent implements Node { """ - The migration source name. + Identifies the actor who performed the event. """ - name: String! + actor: Actor """ - The migration source type. + The authoritative issue or pull request which has been duplicated by another. """ - type: MigrationSourceType! + canonical: IssueOrPullRequest """ - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + Identifies the date and time when the object was created. """ - url: URI! -} + createdAt: DateTime! -""" -Represents the different GitHub Enterprise Importer (GEI) migration sources. -""" -enum MigrationSourceType { """ - An Azure DevOps migration source. + The issue or pull request which has been marked as a duplicate of another. """ - AZURE_DEVOPS + duplicate: IssueOrPullRequest """ - A Bitbucket Server migration source. + The Node ID of the MarkedAsDuplicateEvent object """ - BITBUCKET_SERVER + id: ID! """ - A GitHub Migration API source. + Canonical and duplicate belong to different repositories. """ - GITHUB_ARCHIVE + isCrossRepository: Boolean! } """ -The GitHub Enterprise Importer (GEI) migration state. +A public description of a Marketplace category. """ -enum MigrationState { +type MarketplaceCategory implements Node { """ - The migration has failed. + The category's description. """ - FAILED + description: String """ - The migration has invalid credentials. + The technical description of how apps listed in this category work with GitHub. """ - FAILED_VALIDATION + howItWorks: String """ - The migration is in progress. + The Node ID of the MarketplaceCategory object """ - IN_PROGRESS + id: ID! """ - The migration has not started. + The category's name. """ - NOT_STARTED + name: String! """ - The migration needs to have its credentials validated. + How many Marketplace listings have this as their primary category. """ - PENDING_VALIDATION + primaryListingCount: Int! """ - The migration has been queued. + The HTTP path for this Marketplace category. """ - QUEUED + resourcePath: URI! """ - The migration has succeeded. + How many Marketplace listings have this as their secondary category. """ - SUCCEEDED + secondaryListingCount: Int! + + """ + The short name of the category used in its URL. + """ + slug: String! + + """ + The HTTP URL for this Marketplace category. + """ + url: URI! } """ -Represents a Milestone object on a given repository. +A listing in the GitHub integration marketplace. """ -type Milestone implements Closable & Node & UniformResourceLocatable { +type MarketplaceListing implements Node { """ - Indicates if the object is closed (definition of closed may depend on type) + The GitHub App this listing represents. """ - closed: Boolean! + app: App """ - Identifies the date and time when the object was closed. + URL to the listing owner's company site. """ - closedAt: DateTime + companyUrl: URI """ - Identifies the date and time when the object was created. + The HTTP path for configuring access to the listing's integration or OAuth app """ - createdAt: DateTime! + configurationResourcePath: URI! """ - Identifies the actor who created the milestone. + The HTTP URL for configuring access to the listing's integration or OAuth app """ - creator: Actor + configurationUrl: URI! """ - Identifies the description of the milestone. + URL to the listing's documentation. """ - description: String + documentationUrl: URI """ - Identifies the due date of the milestone. + The listing's detailed description. """ - dueOn: DateTime + extendedDescription: String """ - The Node ID of the Milestone object + The listing's detailed description rendered to HTML. """ - id: ID! + extendedDescriptionHTML: HTML! """ - A list of issues associated with the milestone. + The listing's introductory description. """ - issues( - """ - 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 - - """ - Filtering options for issues returned from the connection. - """ - filterBy: IssueFilters - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for issues returned from the connection. - """ - orderBy: IssueOrder - - """ - A list of states to filter the issues by. - """ - states: [IssueState!] - ): IssueConnection! + fullDescription: String! """ - Identifies the number of the milestone. + The listing's introductory description rendered to HTML. """ - number: Int! + fullDescriptionHTML: HTML! """ - Identifies the percentage complete for the milestone + Does this listing have any plans with a free trial? """ - progressPercentage: Float! + hasPublishedFreeTrialPlans: Boolean! """ - A list of pull requests associated with the milestone. + Does this listing have a terms of service link? """ - pullRequests( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - The base ref name to filter the pull requests by. - """ - baseRefName: 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 - - """ - The head ref name to filter the pull requests by. - """ - headRefName: String - - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for pull requests returned from the connection. - """ - orderBy: IssueOrder - - """ - A list of states to filter the pull requests by. - """ - states: [PullRequestState!] - ): PullRequestConnection! + hasTermsOfService: Boolean! """ - The repository associated with this milestone. + Whether the creator of the app is a verified org """ - repository: Repository! + hasVerifiedOwner: Boolean! """ - The HTTP path for this milestone + A technical description of how this app works with GitHub. """ - resourcePath: URI! + howItWorks: String """ - Identifies the state of the milestone. + The listing's technical description rendered to HTML. """ - state: MilestoneState! + howItWorksHTML: HTML! """ - Identifies the title of the milestone. + The Node ID of the MarketplaceListing object """ - title: String! + id: ID! """ - Identifies the date and time when the object was last updated. + URL to install the product to the viewer's account or organization. """ - updatedAt: DateTime! + installationUrl: URI """ - The HTTP URL for this milestone + Whether this listing's app has been installed for the current viewer """ - url: URI! + installedForViewer: Boolean! """ - Indicates if the object can be closed by the viewer. + Whether this listing has been removed from the Marketplace. """ - viewerCanClose: Boolean! + isArchived: Boolean! """ - Indicates if the object can be reopened by the viewer. + Whether this listing is still an editable draft that has not been submitted + for review and is not publicly visible in the Marketplace. """ - viewerCanReopen: Boolean! -} + isDraft: Boolean! -""" -The connection type for Milestone. -""" -type MilestoneConnection { """ - A list of edges. + Whether the product this listing represents is available as part of a paid plan. """ - edges: [MilestoneEdge] + isPaid: Boolean! """ - A list of nodes. + Whether this listing has been approved for display in the Marketplace. """ - nodes: [Milestone] + isPublic: Boolean! """ - Information to aid in pagination. + Whether this listing has been rejected by GitHub for display in the Marketplace. """ - pageInfo: PageInfo! + isRejected: Boolean! """ - Identifies the total count of items in the connection. + Whether this listing has been approved for unverified display in the Marketplace. """ - totalCount: Int! -} + isUnverified: Boolean! -""" -An edge in a connection. -""" -type MilestoneEdge { """ - A cursor for use in pagination. + Whether this draft listing has been submitted for review for approval to be unverified in the Marketplace. """ - cursor: String! + isUnverifiedPending: Boolean! """ - The item at the end of the edge. + Whether this draft listing has been submitted for review from GitHub for approval to be verified in the Marketplace. """ - node: Milestone -} - -""" -Types that can be inside a Milestone. -""" -union MilestoneItem = Issue | PullRequest + isVerificationPendingFromDraft: Boolean! -""" -Ordering options for milestone connections. -""" -input MilestoneOrder { """ - The ordering direction. + Whether this unverified listing has been submitted for review from GitHub for approval to be verified in the Marketplace. """ - direction: OrderDirection! + isVerificationPendingFromUnverified: Boolean! """ - The field to order milestones by. + Whether this listing has been approved for verified display in the Marketplace. """ - field: MilestoneOrderField! -} + isVerified: Boolean! -""" -Properties by which milestone connections can be ordered. -""" -enum MilestoneOrderField { """ - Order milestones by when they were created. + The hex color code, without the leading '#', for the logo background. """ - CREATED_AT + logoBackgroundColor: String! """ - Order milestones by when they are due. + URL for the listing's logo image. """ - DUE_DATE + logoUrl( + """ + The size in pixels of the resulting square image. + """ + size: Int = 400 + ): URI """ - Order milestones by their number. + The listing's full name. """ - NUMBER + name: String! """ - Order milestones by when they were last updated. + The listing's very short description without a trailing period or ampersands. """ - UPDATED_AT -} + normalizedShortDescription: String! -""" -The possible states of a milestone. -""" -enum MilestoneState { """ - A milestone that has been closed. + URL to the listing's detailed pricing. """ - CLOSED + pricingUrl: URI """ - A milestone that is still open. + The category that best describes the listing. """ - OPEN -} + primaryCategory: MarketplaceCategory! -""" -Represents a 'milestoned' event on a given issue or pull request. -""" -type MilestonedEvent implements Node { """ - Identifies the actor who performed the event. + URL to the listing's privacy policy, may return an empty string for listings that do not require a privacy policy URL. """ - actor: Actor + privacyPolicyUrl: URI! """ - Identifies the date and time when the object was created. + The HTTP path for the Marketplace listing. """ - createdAt: DateTime! + resourcePath: URI! """ - The Node ID of the MilestonedEvent object + The URLs for the listing's screenshots. """ - id: ID! + screenshotUrls: [String]! """ - Identifies the milestone title associated with the 'milestoned' event. + An alternate category that describes the listing. """ - milestoneTitle: String! + secondaryCategory: MarketplaceCategory """ - Object referenced by event. + The listing's very short description. """ - subject: MilestoneItem! -} + shortDescription: String! -""" -Entities that can be minimized. -""" -interface Minimizable { """ - Returns whether or not a comment has been minimized. + The short name of the listing used in its URL. """ - isMinimized: Boolean! + slug: String! """ - Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + URL to the listing's status page. """ - minimizedReason: String + statusUrl: URI """ - Check if the current viewer can minimize this object. + An email address for support for this listing's app. """ - viewerCanMinimize: Boolean! -} + supportEmail: String -""" -Autogenerated input type of MinimizeComment -""" -input MinimizeCommentInput { """ - The classification of comment + Either a URL or an email address for support for this listing's app, may + return an empty string for listings that do not require a support URL. """ - classifier: ReportedContentClassifiers! + supportUrl: URI! """ - A unique identifier for the client performing the mutation. + URL to the listing's terms of service. """ - clientMutationId: String + termsOfServiceUrl: URI """ - The Node ID of the subject to modify. + The HTTP URL for the Marketplace listing. """ - subjectId: ID! -} + url: URI! -""" -Autogenerated return type of MinimizeComment. -""" -type MinimizeCommentPayload { """ - A unique identifier for the client performing the mutation. + Can the current viewer add plans for this Marketplace listing. """ - clientMutationId: String + viewerCanAddPlans: Boolean! """ - The comment that was minimized. + Can the current viewer approve this Marketplace listing. """ - minimizedComment: Minimizable -} + viewerCanApprove: Boolean! -""" -Autogenerated input type of MoveProjectCard -""" -input MoveProjectCardInput { """ - Place the new card after the card with this id. Pass null to place it at the top. + Can the current viewer delist this Marketplace listing. """ - afterCardId: ID + viewerCanDelist: Boolean! """ - The id of the card to move. + Can the current viewer edit this Marketplace listing. """ - cardId: ID! + viewerCanEdit: Boolean! """ - A unique identifier for the client performing the mutation. + Can the current viewer edit the primary and secondary category of this + Marketplace listing. """ - clientMutationId: String + viewerCanEditCategories: Boolean! """ - The id of the column to move it into. + Can the current viewer edit the plans for this Marketplace listing. """ - columnId: ID! -} + viewerCanEditPlans: Boolean! -""" -Autogenerated return type of MoveProjectCard. -""" -type MoveProjectCardPayload { """ - The new edge of the moved card. + Can the current viewer return this Marketplace listing to draft state + so it becomes editable again. """ - cardEdge: ProjectCardEdge + viewerCanRedraft: Boolean! """ - A unique identifier for the client performing the mutation. + Can the current viewer reject this Marketplace listing by returning it to + an editable draft state or rejecting it entirely. """ - clientMutationId: String + viewerCanReject: Boolean! + + """ + Can the current viewer request this listing be reviewed for display in + the Marketplace as verified. + """ + viewerCanRequestApproval: Boolean! + + """ + Indicates whether the current user has an active subscription to this Marketplace listing. + """ + viewerHasPurchased: Boolean! + + """ + Indicates if the current user has purchased a subscription to this Marketplace listing + for all of the organizations the user owns. + """ + viewerHasPurchasedForAllOrganizations: Boolean! + + """ + Does the current viewer role allow them to administer this Marketplace listing. + """ + viewerIsListingAdmin: Boolean! } """ -Autogenerated input type of MoveProjectColumn +Look up Marketplace Listings """ -input MoveProjectColumnInput { +type MarketplaceListingConnection { """ - Place the new column after the column with this id. Pass null to place it at the front. + A list of edges. """ - afterColumnId: ID + edges: [MarketplaceListingEdge] """ - A unique identifier for the client performing the mutation. + A list of nodes. """ - clientMutationId: String + nodes: [MarketplaceListing] """ - The id of the column to move. + Information to aid in pagination. """ - columnId: ID! + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! } """ -Autogenerated return type of MoveProjectColumn. +An edge in a connection. """ -type MoveProjectColumnPayload { +type MarketplaceListingEdge { """ - A unique identifier for the client performing the mutation. + A cursor for use in pagination. """ - clientMutationId: String + cursor: String! """ - The new edge of the moved column. + The item at the end of the edge. """ - columnEdge: ProjectColumnEdge + node: MarketplaceListing } """ -Represents a 'moved_columns_in_project' event on a given issue or pull request. +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ -type MovedColumnsInProjectEvent implements Node { +type MaxFilePathLengthParameters { """ - Identifies the actor who performed the event. + The maximum amount of characters allowed in file paths. """ - actor: Actor + maxFilePathLength: Int! +} +""" +Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. +""" +input MaxFilePathLengthParametersInput { """ - Identifies the date and time when the object was created. + The maximum amount of characters allowed in file paths. """ - createdAt: DateTime! + maxFilePathLength: Int! +} +""" +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. +""" +type MaxFileSizeParameters { """ - Identifies the primary key from the database. + The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). """ - databaseId: Int @deprecated(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.") + maxFileSize: Int! +} +""" +Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. +""" +input MaxFileSizeParametersInput { """ - The Node ID of the MovedColumnsInProjectEvent object + The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). """ - id: ID! + maxFileSize: Int! +} +""" +Represents a member feature request notification +""" +type MemberFeatureRequestNotification implements Node { """ - Column name the issue or pull request was moved from. + Represents member feature request body containing entity name and the number of feature requests """ - previousProjectColumnName: String! @deprecated(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.") + body: String! """ - Project referenced by event. + The Node ID of the MemberFeatureRequestNotification object """ - project: Project + id: ID! """ - Project card referenced by this project event. + Represents member feature request notification title """ - projectCard: ProjectCard @deprecated(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.") + title: String! """ - Column name the issue or pull request was moved to. + Identifies the date and time when the object was last updated. """ - projectColumnName: String! @deprecated(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.") + updatedAt: DateTime! } """ -The root query for implementing GraphQL mutations. +Entities that have members who can set status messages. """ -type Mutation { +interface MemberStatusable { """ - Clear all of a customer's queued migrations + Get the status messages members of this entity have set that are either public or visible only to the organization. """ - abortQueuedMigrations( + memberStatuses( """ - Parameters for AbortQueuedMigrations + Returns the elements in the list that come after the specified cursor. """ - input: AbortQueuedMigrationsInput! - ): AbortQueuedMigrationsPayload + after: String - """ - Abort a repository migration queued or in progress. - """ - abortRepositoryMigration( """ - Parameters for AbortRepositoryMigration + Returns the elements in the list that come before the specified cursor. """ - input: AbortRepositoryMigrationInput! - ): AbortRepositoryMigrationPayload + before: String - """ - Accepts a pending invitation for a user to become an administrator of an enterprise. - """ - acceptEnterpriseAdministratorInvitation( """ - Parameters for AcceptEnterpriseAdministratorInvitation + Returns the first _n_ elements from the list. """ - input: AcceptEnterpriseAdministratorInvitationInput! - ): AcceptEnterpriseAdministratorInvitationPayload + first: Int - """ - Accepts a pending invitation for a user to become an unaffiliated member of an enterprise. - """ - acceptEnterpriseMemberInvitation( """ - Parameters for AcceptEnterpriseMemberInvitation + Returns the last _n_ elements from the list. """ - input: AcceptEnterpriseMemberInvitationInput! - ): AcceptEnterpriseMemberInvitationPayload + last: Int - """ - Applies a suggested topic to the repository. - """ - acceptTopicSuggestion( """ - Parameters for AcceptTopicSuggestion + Ordering options for user statuses returned from the connection. """ - input: AcceptTopicSuggestionInput! - ): AcceptTopicSuggestionPayload + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} + ): UserStatusConnection! +} +""" +Audit log entry for a members_can_delete_repos.clear event. +""" +type MembersCanDeleteReposClearAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - Access user namespace repository for a temporary duration. + The action name """ - accessUserNamespaceRepository( - """ - Parameters for AccessUserNamespaceRepository - """ - input: AccessUserNamespaceRepositoryInput! - ): AccessUserNamespaceRepositoryPayload + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds assignees to an assignable object. + The user who initiated the action """ - addAssigneesToAssignable( - """ - Parameters for AddAssigneesToAssignable - """ - input: AddAssigneesToAssignableInput! - ): AddAssigneesToAssignablePayload + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a comment to an Issue or Pull Request. + The IP address of the actor """ - addComment( - """ - Parameters for AddComment - """ - input: AddCommentInput! - ): AddCommentPayload + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a comment to a Discussion, possibly as a reply to another comment. + A readable representation of the actor's location """ - addDiscussionComment( - """ - Parameters for AddDiscussionComment - """ - input: AddDiscussionCommentInput! - ): AddDiscussionCommentPayload + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Vote for an option in a discussion poll. + The username of the user who initiated the action """ - addDiscussionPollVote( - """ - Parameters for AddDiscussionPollVote - """ - input: AddDiscussionPollVoteInput! - ): AddDiscussionPollVotePayload + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds enterprise members to an organization within the enterprise. + The HTTP path for the actor. """ - addEnterpriseOrganizationMember( - """ - Parameters for AddEnterpriseOrganizationMember - """ - input: AddEnterpriseOrganizationMemberInput! - ): AddEnterpriseOrganizationMemberPayload + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a support entitlement to an enterprise member. + The HTTP URL for the actor. """ - addEnterpriseSupportEntitlement( - """ - Parameters for AddEnterpriseSupportEntitlement - """ - input: AddEnterpriseSupportEntitlementInput! - ): AddEnterpriseSupportEntitlementPayload + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds labels to a labelable object. + The time the action was initiated """ - addLabelsToLabelable( - """ - Parameters for AddLabelsToLabelable - """ - input: AddLabelsToLabelableInput! - ): AddLabelsToLabelablePayload + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. + The HTTP path for this enterprise. """ - addProjectCard( - """ - Parameters for AddProjectCard - """ - input: AddProjectCardInput! - ): AddProjectCardPayload @deprecated(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.") + enterpriseResourcePath: URI """ - Adds a column to a Project. + The slug of the enterprise. """ - addProjectColumn( - """ - Parameters for AddProjectColumn - """ - input: AddProjectColumnInput! - ): AddProjectColumnPayload @deprecated(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.") + enterpriseSlug: String """ - Creates a new draft issue and add it to a Project. + The HTTP URL for this enterprise. """ - addProjectV2DraftIssue( - """ - Parameters for AddProjectV2DraftIssue - """ - input: AddProjectV2DraftIssueInput! - ): AddProjectV2DraftIssuePayload + enterpriseUrl: URI """ - Links an existing content instance to a Project. + The Node ID of the MembersCanDeleteReposClearAuditEntry object """ - addProjectV2ItemById( - """ - Parameters for AddProjectV2ItemById - """ - input: AddProjectV2ItemByIdInput! - ): AddProjectV2ItemByIdPayload + id: ID! """ - Adds a review to a Pull Request. + The corresponding operation type for the action """ - addPullRequestReview( - """ - Parameters for AddPullRequestReview - """ - input: AddPullRequestReviewInput! - ): AddPullRequestReviewPayload + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a comment to a review. + The Organization associated with the Audit Entry. """ - addPullRequestReviewComment( - """ - Parameters for AddPullRequestReviewComment - """ - input: AddPullRequestReviewCommentInput! - ): AddPullRequestReviewCommentPayload + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a new thread to a pending Pull Request Review. + The name of the Organization. """ - addPullRequestReviewThread( - """ - Parameters for AddPullRequestReviewThread - """ - input: AddPullRequestReviewThreadInput! - ): AddPullRequestReviewThreadPayload + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a reply to an existing Pull Request Review Thread. + The HTTP path for the organization """ - addPullRequestReviewThreadReply( - """ - Parameters for AddPullRequestReviewThreadReply - """ - input: AddPullRequestReviewThreadReplyInput! - ): AddPullRequestReviewThreadReplyPayload + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a reaction to a subject. + The HTTP URL for the organization """ - addReaction( - """ - Parameters for AddReaction - """ - input: AddReactionInput! - ): AddReactionPayload + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a star to a Starrable. + The user affected by the action """ - addStar( - """ - Parameters for AddStar - """ - input: AddStarInput! - ): AddStarPayload + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a sub-issue to a given issue + For actions involving two users, the actor is the initiator and the user is the affected user. """ - addSubIssue( - """ - Parameters for AddSubIssue - """ - input: AddSubIssueInput! - ): AddSubIssuePayload + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Add an upvote to a discussion or discussion comment. + The HTTP path for the user. """ - addUpvote( - """ - Parameters for AddUpvote - """ - input: AddUpvoteInput! - ): AddUpvotePayload + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Adds a verifiable domain to an owning account. + The HTTP URL for the user. """ - addVerifiableDomain( - """ - Parameters for AddVerifiableDomain - """ - input: AddVerifiableDomainInput! - ): AddVerifiableDomainPayload + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a members_can_delete_repos.disable event. +""" +type MembersCanDeleteReposDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - Approve all pending deployments under one or more environments + The action name """ - approveDeployments( - """ - Parameters for ApproveDeployments - """ - input: ApproveDeploymentsInput! - ): ApproveDeploymentsPayload + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Approve a verifiable domain for notification delivery. + The user who initiated the action """ - approveVerifiableDomain( - """ - Parameters for ApproveVerifiableDomain - """ - input: ApproveVerifiableDomainInput! - ): ApproveVerifiableDomainPayload + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Archives a ProjectV2Item + The IP address of the actor """ - archiveProjectV2Item( - """ - Parameters for ArchiveProjectV2Item - """ - input: ArchiveProjectV2ItemInput! - ): ArchiveProjectV2ItemPayload + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Marks a repository as archived. + A readable representation of the actor's location """ - archiveRepository( - """ - Parameters for ArchiveRepository - """ - input: ArchiveRepositoryInput! - ): ArchiveRepositoryPayload + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Cancels a pending invitation for an administrator to join an enterprise. + The username of the user who initiated the action """ - cancelEnterpriseAdminInvitation( - """ - Parameters for CancelEnterpriseAdminInvitation - """ - input: CancelEnterpriseAdminInvitationInput! - ): CancelEnterpriseAdminInvitationPayload + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Cancels a pending invitation for an unaffiliated member to join an enterprise. + The HTTP path for the actor. """ - cancelEnterpriseMemberInvitation( - """ - Parameters for CancelEnterpriseMemberInvitation - """ - input: CancelEnterpriseMemberInvitationInput! - ): CancelEnterpriseMemberInvitationPayload + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Cancel an active sponsorship. + The HTTP URL for the actor. """ - cancelSponsorship( - """ - Parameters for CancelSponsorship - """ - input: CancelSponsorshipInput! - ): CancelSponsorshipPayload + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Update your status on GitHub. + The time the action was initiated """ - changeUserStatus( - """ - Parameters for ChangeUserStatus - """ - input: ChangeUserStatusInput! - ): ChangeUserStatusPayload + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Clears all labels from a labelable object. + The HTTP path for this enterprise. """ - clearLabelsFromLabelable( - """ - Parameters for ClearLabelsFromLabelable - """ - input: ClearLabelsFromLabelableInput! - ): ClearLabelsFromLabelablePayload + enterpriseResourcePath: URI """ - This mutation clears the value of a field for an item in a Project. Currently - only text, number, date, assignees, labels, single-select, iteration and - milestone fields are supported. + The slug of the enterprise. """ - clearProjectV2ItemFieldValue( - """ - Parameters for ClearProjectV2ItemFieldValue - """ - input: ClearProjectV2ItemFieldValueInput! - ): ClearProjectV2ItemFieldValuePayload + enterpriseSlug: String """ - Creates a new project by cloning configuration from an existing project. + The HTTP URL for this enterprise. """ - cloneProject( - """ - Parameters for CloneProject - """ - input: CloneProjectInput! - ): CloneProjectPayload @deprecated(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.") + enterpriseUrl: URI """ - Create a new repository with the same files and directory structure as a template repository. + The Node ID of the MembersCanDeleteReposDisableAuditEntry object """ - cloneTemplateRepository( - """ - Parameters for CloneTemplateRepository - """ - input: CloneTemplateRepositoryInput! - ): CloneTemplateRepositoryPayload + id: ID! """ - Close a discussion. + The corresponding operation type for the action """ - closeDiscussion( - """ - Parameters for CloseDiscussion - """ - input: CloseDiscussionInput! - ): CloseDiscussionPayload + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Close an issue. + The Organization associated with the Audit Entry. """ - closeIssue( - """ - Parameters for CloseIssue - """ - input: CloseIssueInput! - ): CloseIssuePayload + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Close a pull request. + The name of the Organization. """ - closePullRequest( - """ - Parameters for ClosePullRequest - """ - input: ClosePullRequestInput! - ): ClosePullRequestPayload + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Convert a project note card to one associated with a newly created issue. + The HTTP path for the organization """ - convertProjectCardNoteToIssue( - """ - Parameters for ConvertProjectCardNoteToIssue - """ - input: ConvertProjectCardNoteToIssueInput! - ): ConvertProjectCardNoteToIssuePayload @deprecated(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.") + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Converts a projectV2 draft issue item to an issue. + The HTTP URL for the organization """ - convertProjectV2DraftIssueItemToIssue( - """ - Parameters for ConvertProjectV2DraftIssueItemToIssue - """ - input: ConvertProjectV2DraftIssueItemToIssueInput! - ): ConvertProjectV2DraftIssueItemToIssuePayload + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Converts a pull request to draft + The user affected by the action """ - convertPullRequestToDraft( - """ - Parameters for ConvertPullRequestToDraft - """ - input: ConvertPullRequestToDraftInput! - ): ConvertPullRequestToDraftPayload + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Copy a project. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - copyProjectV2( - """ - Parameters for CopyProjectV2 - """ - input: CopyProjectV2Input! - ): CopyProjectV2Payload + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Invites a user to claim reattributable data + The HTTP path for the user. """ - createAttributionInvitation( - """ - Parameters for CreateAttributionInvitation - """ - input: CreateAttributionInvitationInput! - ): CreateAttributionInvitationPayload + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Create a new branch protection rule + The HTTP URL for the user. """ - createBranchProtectionRule( - """ - Parameters for CreateBranchProtectionRule - """ - input: CreateBranchProtectionRuleInput! - ): CreateBranchProtectionRulePayload + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a members_can_delete_repos.enable event. +""" +type MembersCanDeleteReposEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - Create a check run. + The action name """ - createCheckRun( - """ - Parameters for CreateCheckRun - """ - input: CreateCheckRunInput! - ): CreateCheckRunPayload + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Create a check suite + The user who initiated the action """ - createCheckSuite( - """ - Parameters for CreateCheckSuite - """ - input: CreateCheckSuiteInput! - ): CreateCheckSuitePayload + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Appends a commit to the given branch as the authenticated user. - - This mutation creates a commit whose parent is the HEAD of the provided - branch and also updates that branch to point to the new commit. - It can be thought of as similar to `git commit`. - - ### Locating a Branch - - Commits are appended to a `branch` of type `Ref`. - This must refer to a git branch (i.e. the fully qualified path must - begin with `refs/heads/`, although including this prefix is optional. - - Callers may specify the `branch` to commit to either by its global node - ID or by passing both of `repositoryNameWithOwner` and `refName`. For - more details see the documentation for `CommittableBranch`. - - ### Describing Changes - - `fileChanges` are specified as a `FilesChanges` object describing - `FileAdditions` and `FileDeletions`. - - Please see the documentation for `FileChanges` for more information on - how to use this argument to describe any set of file changes. + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - ### Authorship + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - Similar to the web commit interface, this mutation does not support - specifying the author or committer of the commit and will not add - support for this in the future. + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - A commit created by a successful execution of this mutation will be - authored by the owner of the credential which authenticates the API - request. The committer will be identical to that of commits authored - using the web interface. + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - If you need full control over author and committer information, please - use the Git Database REST API instead. + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - ### Commit Signing + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - Commits made using this mutation are automatically signed by GitHub if - supported and will be marked as verified in the user interface. """ - createCommitOnBranch( - """ - Parameters for CreateCommitOnBranch - """ - input: CreateCommitOnBranchInput! - ): CreateCommitOnBranchPayload + The HTTP path for this enterprise. + """ + enterpriseResourcePath: URI """ - Creates a new deployment event. + The slug of the enterprise. """ - createDeployment( - """ - Parameters for CreateDeployment - """ - input: CreateDeploymentInput! - ): CreateDeploymentPayload + enterpriseSlug: String """ - Create a deployment status. + The HTTP URL for this enterprise. """ - createDeploymentStatus( - """ - Parameters for CreateDeploymentStatus - """ - input: CreateDeploymentStatusInput! - ): CreateDeploymentStatusPayload + enterpriseUrl: URI """ - Create a discussion. + The Node ID of the MembersCanDeleteReposEnableAuditEntry object """ - createDiscussion( - """ - Parameters for CreateDiscussion - """ - input: CreateDiscussionInput! - ): CreateDiscussionPayload + id: ID! """ - Creates an organization as part of an enterprise account. A personal access - token used to create an organization is implicitly permitted to update the - organization it created, if the organization is part of an enterprise that has - SAML enabled or uses Enterprise Managed Users. If the organization is not part - of such an enterprise, and instead has SAML enabled for it individually, the - token will then require SAML authorization to continue working against that organization. + The corresponding operation type for the action """ - createEnterpriseOrganization( - """ - Parameters for CreateEnterpriseOrganization - """ - input: CreateEnterpriseOrganizationInput! - ): CreateEnterpriseOrganizationPayload + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates an environment or simply returns it if already exists. + The Organization associated with the Audit Entry. """ - createEnvironment( - """ - Parameters for CreateEnvironment - """ - input: CreateEnvironmentInput! - ): CreateEnvironmentPayload + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a new IP allow list entry. + The name of the Organization. """ - createIpAllowListEntry( - """ - Parameters for CreateIpAllowListEntry - """ - input: CreateIpAllowListEntryInput! - ): CreateIpAllowListEntryPayload + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a new issue. + The HTTP path for the organization """ - createIssue( - """ - Parameters for CreateIssue - """ - input: CreateIssueInput! - ): CreateIssuePayload + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a new label. + The HTTP URL for the organization """ - createLabel( - """ - Parameters for CreateLabel - """ - input: CreateLabelInput! - ): CreateLabelPayload + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Create a branch linked to an issue. + The user affected by the action """ - createLinkedBranch( - """ - Parameters for CreateLinkedBranch - """ - input: CreateLinkedBranchInput! - ): CreateLinkedBranchPayload + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a GitHub Enterprise Importer (GEI) migration source. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - createMigrationSource( - """ - Parameters for CreateMigrationSource - """ - input: CreateMigrationSourceInput! - ): CreateMigrationSourcePayload + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a new project. + The HTTP path for the user. """ - createProject( - """ - Parameters for CreateProject - """ - input: CreateProjectInput! - ): CreateProjectPayload @deprecated(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.") + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Creates a new project. + The HTTP URL for the user. """ - createProjectV2( - """ - Parameters for CreateProjectV2 - """ - input: CreateProjectV2Input! - ): CreateProjectV2Payload + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Represents a 'mentioned' event on a given issue or pull request. +""" +type MentionedEvent implements Node { """ - Create a new project field. + Identifies the actor who performed the event. """ - createProjectV2Field( - """ - Parameters for CreateProjectV2Field - """ - input: CreateProjectV2FieldInput! - ): CreateProjectV2FieldPayload + actor: Actor """ - Creates a status update within a Project. + Identifies the date and time when the object was created. """ - createProjectV2StatusUpdate( - """ - Parameters for CreateProjectV2StatusUpdate - """ - input: CreateProjectV2StatusUpdateInput! - ): CreateProjectV2StatusUpdatePayload + createdAt: DateTime! """ - Create a new pull request + Identifies the primary key from the database. """ - createPullRequest( - """ - Parameters for CreatePullRequest - """ - input: CreatePullRequestInput! - ): CreatePullRequestPayload + databaseId: Int """ - Create a new Git Ref. + The Node ID of the MentionedEvent object """ - createRef( - """ - Parameters for CreateRef - """ - input: CreateRefInput! - ): CreateRefPayload + id: ID! +} +""" +Autogenerated input type of MergeBranch +""" +input MergeBranchInput { """ - Create a new repository. + The email address to associate with this commit. """ - createRepository( - """ - Parameters for CreateRepository - """ - input: CreateRepositoryInput! - ): CreateRepositoryPayload + authorEmail: String """ - Create a repository ruleset + The name of the base branch that the provided head will be merged into. """ - createRepositoryRuleset( - """ - Parameters for CreateRepositoryRuleset - """ - input: CreateRepositoryRulesetInput! - ): CreateRepositoryRulesetPayload + base: String! """ - Create a GitHub Sponsors profile to allow others to sponsor you or your organization. + A unique identifier for the client performing the mutation. """ - createSponsorsListing( - """ - Parameters for CreateSponsorsListing - """ - input: CreateSponsorsListingInput! - ): CreateSponsorsListingPayload + clientMutationId: String """ - Create a new payment tier for your GitHub Sponsors profile. + Message to use for the merge commit. If omitted, a default will be used. """ - createSponsorsTier( - """ - Parameters for CreateSponsorsTier - """ - input: CreateSponsorsTierInput! - ): CreateSponsorsTierPayload + commitMessage: String """ - Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship. + The head to merge into the base branch. This can be a branch name or a commit GitObjectID. """ - createSponsorship( - """ - Parameters for CreateSponsorship - """ - input: CreateSponsorshipInput! - ): CreateSponsorshipPayload + head: String! """ - Make many sponsorships for different sponsorable users or organizations at - once. Can only sponsor those who have a public GitHub Sponsors profile. + The Node ID of the Repository containing the base branch that will be modified. """ - createSponsorships( - """ - Parameters for CreateSponsorships - """ - input: CreateSponsorshipsInput! - ): CreateSponsorshipsPayload + repositoryId: ID! +} +""" +Autogenerated return type of MergeBranch. +""" +type MergeBranchPayload { """ - Creates a new team discussion. + A unique identifier for the client performing the mutation. """ - createTeamDiscussion( - """ - Parameters for CreateTeamDiscussion - """ - input: CreateTeamDiscussionInput! - ): CreateTeamDiscussionPayload + clientMutationId: String """ - Creates a new team discussion comment. + The resulting merge Commit. """ - createTeamDiscussionComment( - """ - Parameters for CreateTeamDiscussionComment - """ - input: CreateTeamDiscussionCommentInput! - ): CreateTeamDiscussionCommentPayload + mergeCommit: Commit +} +""" +The possible default commit messages for merges. +""" +enum MergeCommitMessage { """ - Creates a new user list. + Default to a blank commit message. """ - createUserList( - """ - Parameters for CreateUserList - """ - input: CreateUserListInput! - ): CreateUserListPayload + BLANK """ - Rejects a suggested topic for the repository. + Default to the pull request's body. """ - declineTopicSuggestion( - """ - Parameters for DeclineTopicSuggestion - """ - input: DeclineTopicSuggestionInput! - ): DeclineTopicSuggestionPayload + PR_BODY """ - Delete a branch protection rule + Default to the pull request's title. """ - deleteBranchProtectionRule( - """ - Parameters for DeleteBranchProtectionRule - """ - input: DeleteBranchProtectionRuleInput! - ): DeleteBranchProtectionRulePayload + PR_TITLE +} +""" +The possible default commit titles for merges. +""" +enum MergeCommitTitle { """ - Deletes a deployment. + Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). """ - deleteDeployment( - """ - Parameters for DeleteDeployment - """ - input: DeleteDeploymentInput! - ): DeleteDeploymentPayload + MERGE_MESSAGE """ - Delete a discussion and all of its replies. + Default to the pull request's title. """ - deleteDiscussion( - """ - Parameters for DeleteDiscussion - """ - input: DeleteDiscussionInput! - ): DeleteDiscussionPayload + PR_TITLE +} +""" +Autogenerated input type of MergePullRequest +""" +input MergePullRequestInput { """ - Delete a discussion comment. If it has replies, wipe it instead. + The email address to associate with this merge. """ - deleteDiscussionComment( - """ - Parameters for DeleteDiscussionComment - """ - input: DeleteDiscussionCommentInput! - ): DeleteDiscussionCommentPayload + authorEmail: String """ - Deletes an environment + A unique identifier for the client performing the mutation. """ - deleteEnvironment( - """ - Parameters for DeleteEnvironment - """ - input: DeleteEnvironmentInput! - ): DeleteEnvironmentPayload + clientMutationId: String """ - Deletes an IP allow list entry. + Commit body to use for the merge commit; if omitted, a default message will be used """ - deleteIpAllowListEntry( - """ - Parameters for DeleteIpAllowListEntry - """ - input: DeleteIpAllowListEntryInput! - ): DeleteIpAllowListEntryPayload + commitBody: String """ - Deletes an Issue object. + Commit headline to use for the merge commit; if omitted, a default message will be used. """ - deleteIssue( - """ - Parameters for DeleteIssue - """ - input: DeleteIssueInput! - ): DeleteIssuePayload + commitHeadline: String """ - Deletes an IssueComment object. + OID that the pull request head ref must match to allow merge; if omitted, no check is performed. """ - deleteIssueComment( - """ - Parameters for DeleteIssueComment - """ - input: DeleteIssueCommentInput! - ): DeleteIssueCommentPayload + expectedHeadOid: GitObjectID """ - Deletes a label. + The merge method to use. If omitted, defaults to 'MERGE' """ - deleteLabel( - """ - Parameters for DeleteLabel - """ - input: DeleteLabelInput! - ): DeleteLabelPayload + mergeMethod: PullRequestMergeMethod = MERGE """ - Unlink a branch from an issue. + ID of the pull request to be merged. """ - deleteLinkedBranch( - """ - Parameters for DeleteLinkedBranch - """ - input: DeleteLinkedBranchInput! - ): DeleteLinkedBranchPayload + pullRequestId: ID! +} +""" +Autogenerated return type of MergePullRequest. +""" +type MergePullRequestPayload { """ - Delete a package version. + Identifies the actor who performed the event. """ - deletePackageVersion( - """ - Parameters for DeletePackageVersion - """ - input: DeletePackageVersionInput! - ): DeletePackageVersionPayload + actor: Actor """ - Deletes a project. + A unique identifier for the client performing the mutation. """ - deleteProject( - """ - Parameters for DeleteProject - """ - input: DeleteProjectInput! - ): DeleteProjectPayload @deprecated(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.") + clientMutationId: String """ - Deletes a project card. + The pull request that was merged. """ - deleteProjectCard( - """ - Parameters for DeleteProjectCard - """ - input: DeleteProjectCardInput! - ): DeleteProjectCardPayload @deprecated(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.") + pullRequest: PullRequest +} +""" +The queue of pull request entries to be merged into a protected branch in a repository. +""" +type MergeQueue implements Node { """ - Deletes a project column. + The configuration for this merge queue """ - deleteProjectColumn( - """ - Parameters for DeleteProjectColumn - """ - input: DeleteProjectColumnInput! - ): DeleteProjectColumnPayload @deprecated(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.") + configuration: MergeQueueConfiguration """ - Delete a project. + The entries in the queue """ - deleteProjectV2( + entries( """ - Parameters for DeleteProjectV2 + Returns the elements in the list that come after the specified cursor. """ - input: DeleteProjectV2Input! - ): DeleteProjectV2Payload + after: String - """ - Delete a project field. - """ - deleteProjectV2Field( """ - Parameters for DeleteProjectV2Field + Returns the elements in the list that come before the specified cursor. """ - input: DeleteProjectV2FieldInput! - ): DeleteProjectV2FieldPayload + before: String - """ - Deletes an item from a Project. - """ - deleteProjectV2Item( """ - Parameters for DeleteProjectV2Item + Returns the first _n_ elements from the list. """ - input: DeleteProjectV2ItemInput! - ): DeleteProjectV2ItemPayload + first: Int - """ - Deletes a project status update. - """ - deleteProjectV2StatusUpdate( """ - Parameters for DeleteProjectV2StatusUpdate + Returns the last _n_ elements from the list. """ - input: DeleteProjectV2StatusUpdateInput! - ): DeleteProjectV2StatusUpdatePayload + last: Int + ): MergeQueueEntryConnection """ - Deletes a project workflow. + The Node ID of the MergeQueue object """ - deleteProjectV2Workflow( - """ - Parameters for DeleteProjectV2Workflow - """ - input: DeleteProjectV2WorkflowInput! - ): DeleteProjectV2WorkflowPayload + id: ID! """ - Deletes a pull request review. + The estimated time in seconds until a newly added entry would be merged """ - deletePullRequestReview( - """ - Parameters for DeletePullRequestReview - """ - input: DeletePullRequestReviewInput! - ): DeletePullRequestReviewPayload + nextEntryEstimatedTimeToMerge: Int """ - Deletes a pull request review comment. + The repository this merge queue belongs to """ - deletePullRequestReviewComment( - """ - Parameters for DeletePullRequestReviewComment - """ - input: DeletePullRequestReviewCommentInput! - ): DeletePullRequestReviewCommentPayload + repository: Repository """ - Delete a Git Ref. + The HTTP path for this merge queue """ - deleteRef( - """ - Parameters for DeleteRef - """ - input: DeleteRefInput! - ): DeleteRefPayload + resourcePath: URI! """ - Delete a repository ruleset + The HTTP URL for this merge queue """ - deleteRepositoryRuleset( - """ - Parameters for DeleteRepositoryRuleset - """ - input: DeleteRepositoryRulesetInput! - ): DeleteRepositoryRulesetPayload + url: URI! +} +""" +Configuration for a MergeQueue +""" +type MergeQueueConfiguration { """ - Deletes a team discussion. + The amount of time in minutes to wait for a check response before considering it a failure. """ - deleteTeamDiscussion( - """ - Parameters for DeleteTeamDiscussion - """ - input: DeleteTeamDiscussionInput! - ): DeleteTeamDiscussionPayload + checkResponseTimeout: Int """ - Deletes a team discussion comment. + The maximum number of entries to build at once. """ - deleteTeamDiscussionComment( - """ - Parameters for DeleteTeamDiscussionComment - """ - input: DeleteTeamDiscussionCommentInput! - ): DeleteTeamDiscussionCommentPayload + maximumEntriesToBuild: Int """ - Deletes a user list. + The maximum number of entries to merge at once. """ - deleteUserList( - """ - Parameters for DeleteUserList - """ - input: DeleteUserListInput! - ): DeleteUserListPayload + maximumEntriesToMerge: Int """ - Deletes a verifiable domain. + The merge method to use for this queue. """ - deleteVerifiableDomain( - """ - Parameters for DeleteVerifiableDomain - """ - input: DeleteVerifiableDomainInput! - ): DeleteVerifiableDomainPayload + mergeMethod: PullRequestMergeMethod """ - Remove a pull request from the merge queue. + The strategy to use when merging entries. """ - dequeuePullRequest( - """ - Parameters for DequeuePullRequest - """ - input: DequeuePullRequestInput! - ): DequeuePullRequestPayload + mergingStrategy: MergeQueueMergingStrategy """ - Disable auto merge on the given pull request + The minimum number of entries required to merge at once. """ - disablePullRequestAutoMerge( - """ - Parameters for DisablePullRequestAutoMerge - """ - input: DisablePullRequestAutoMergeInput! - ): DisablePullRequestAutoMergePayload + minimumEntriesToMerge: Int """ - Dismisses an approved or rejected pull request review. + The amount of time in minutes to wait before ignoring the minumum number of + entries in the queue requirement and merging a collection of entries """ - dismissPullRequestReview( - """ - Parameters for DismissPullRequestReview - """ - input: DismissPullRequestReviewInput! - ): DismissPullRequestReviewPayload + minimumEntriesToMergeWaitTime: Int +} +""" +Entries in a MergeQueue +""" +type MergeQueueEntry implements Node { """ - Dismisses the Dependabot alert. + The base commit for this entry """ - dismissRepositoryVulnerabilityAlert( - """ - Parameters for DismissRepositoryVulnerabilityAlert - """ - input: DismissRepositoryVulnerabilityAlertInput! - ): DismissRepositoryVulnerabilityAlertPayload + baseCommit: Commit """ - Enable the default auto-merge on a pull request. + The date and time this entry was added to the merge queue """ - enablePullRequestAutoMerge( - """ - Parameters for EnablePullRequestAutoMerge - """ - input: EnablePullRequestAutoMergeInput! - ): EnablePullRequestAutoMergePayload + enqueuedAt: DateTime! """ - Add a pull request to the merge queue. + The actor that enqueued this entry """ - enqueuePullRequest( - """ - Parameters for EnqueuePullRequest - """ - input: EnqueuePullRequestInput! - ): EnqueuePullRequestPayload + enqueuer: Actor! """ - Follow an organization. + The estimated time in seconds until this entry will be merged """ - followOrganization( - """ - Parameters for FollowOrganization - """ - input: FollowOrganizationInput! - ): FollowOrganizationPayload + estimatedTimeToMerge: Int """ - Follow a user. + The head commit for this entry """ - followUser( - """ - Parameters for FollowUser - """ - input: FollowUserInput! - ): FollowUserPayload + headCommit: Commit """ - Grant the migrator role to a user for all organizations under an enterprise account. + The Node ID of the MergeQueueEntry object """ - grantEnterpriseOrganizationsMigratorRole( - """ - Parameters for GrantEnterpriseOrganizationsMigratorRole - """ - input: GrantEnterpriseOrganizationsMigratorRoleInput! - ): GrantEnterpriseOrganizationsMigratorRolePayload + id: ID! """ - Grant the migrator role to a user or a team. + Whether this pull request should jump the queue """ - grantMigratorRole( - """ - Parameters for GrantMigratorRole - """ - input: GrantMigratorRoleInput! - ): GrantMigratorRolePayload + jump: Boolean! """ - Creates a new project by importing columns and a list of issues/PRs. + The merge queue that this entry belongs to """ - importProject( - """ - Parameters for ImportProject - """ - input: ImportProjectInput! - ): ImportProjectPayload @deprecated(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.") + mergeQueue: MergeQueue """ - Invite someone to become an administrator of the enterprise. + The position of this entry in the queue """ - inviteEnterpriseAdmin( - """ - Parameters for InviteEnterpriseAdmin - """ - input: InviteEnterpriseAdminInput! - ): InviteEnterpriseAdminPayload + position: Int! """ - Invite someone to become an unaffiliated member of the enterprise. + The pull request that will be added to a merge group """ - inviteEnterpriseMember( - """ - Parameters for InviteEnterpriseMember - """ - input: InviteEnterpriseMemberInput! - ): InviteEnterpriseMemberPayload + pullRequest: PullRequest """ - Links a project to a repository. + Does this pull request need to be deployed on its own """ - linkProjectV2ToRepository( - """ - Parameters for LinkProjectV2ToRepository - """ - input: LinkProjectV2ToRepositoryInput! - ): LinkProjectV2ToRepositoryPayload + solo: Boolean! """ - Links a project to a team. + The state of this entry in the queue """ - linkProjectV2ToTeam( - """ - Parameters for LinkProjectV2ToTeam - """ - input: LinkProjectV2ToTeamInput! - ): LinkProjectV2ToTeamPayload + state: MergeQueueEntryState! +} +""" +The connection type for MergeQueueEntry. +""" +type MergeQueueEntryConnection { """ - Creates a repository link for a project. + A list of edges. """ - linkRepositoryToProject( - """ - Parameters for LinkRepositoryToProject - """ - input: LinkRepositoryToProjectInput! - ): LinkRepositoryToProjectPayload @deprecated(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.") + edges: [MergeQueueEntryEdge] """ - Lock a lockable object + A list of nodes. """ - lockLockable( - """ - Parameters for LockLockable - """ - input: LockLockableInput! - ): LockLockablePayload + nodes: [MergeQueueEntry] """ - Mark a discussion comment as the chosen answer for discussions in an answerable category. + Information to aid in pagination. """ - markDiscussionCommentAsAnswer( - """ - Parameters for MarkDiscussionCommentAsAnswer - """ - input: MarkDiscussionCommentAsAnswerInput! - ): MarkDiscussionCommentAsAnswerPayload + pageInfo: PageInfo! """ - Mark a pull request file as viewed + Identifies the total count of items in the connection. """ - markFileAsViewed( - """ - Parameters for MarkFileAsViewed - """ - input: MarkFileAsViewedInput! - ): MarkFileAsViewedPayload + totalCount: Int! +} +""" +An edge in a connection. +""" +type MergeQueueEntryEdge { """ - Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. + A cursor for use in pagination. """ - markProjectV2AsTemplate( - """ - Parameters for MarkProjectV2AsTemplate - """ - input: MarkProjectV2AsTemplateInput! - ): MarkProjectV2AsTemplatePayload + cursor: String! """ - Marks a pull request ready for review. + The item at the end of the edge. """ - markPullRequestReadyForReview( - """ - Parameters for MarkPullRequestReadyForReview - """ - input: MarkPullRequestReadyForReviewInput! - ): MarkPullRequestReadyForReviewPayload + node: MergeQueueEntry +} +""" +The possible states for a merge queue entry. +""" +enum MergeQueueEntryState { """ - Merge a head into a branch. + The entry is currently waiting for checks to pass. """ - mergeBranch( - """ - Parameters for MergeBranch - """ - input: MergeBranchInput! - ): MergeBranchPayload + AWAITING_CHECKS """ - Merge a pull request. + The entry is currently locked. """ - mergePullRequest( - """ - Parameters for MergePullRequest - """ - input: MergePullRequestInput! - ): MergePullRequestPayload + LOCKED """ - Minimizes a comment on an Issue, Commit, Pull Request, or Gist + The entry is currently mergeable. """ - minimizeComment( - """ - Parameters for MinimizeComment - """ - input: MinimizeCommentInput! - ): MinimizeCommentPayload + MERGEABLE """ - Moves a project card to another place. + The entry is currently queued. """ - moveProjectCard( - """ - Parameters for MoveProjectCard - """ - input: MoveProjectCardInput! - ): MoveProjectCardPayload @deprecated(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.") + QUEUED """ - Moves a project column to another place. + The entry is currently unmergeable. """ - moveProjectColumn( - """ - Parameters for MoveProjectColumn - """ - input: MoveProjectColumnInput! - ): MoveProjectColumnPayload @deprecated(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.") + 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 { """ - Pin an environment to a repository + The merge commit created by merge queue for each PR in the group must pass all required checks to merge """ - pinEnvironment( - """ - Parameters for PinEnvironment - """ - input: PinEnvironmentInput! - ): PinEnvironmentPayload + ALLGREEN """ - Pin an issue to a repository + Only the commit at the head of the merge group must pass its required checks to merge. """ - pinIssue( - """ - Parameters for PinIssue - """ - input: PinIssueInput! - ): PinIssuePayload + HEADGREEN +} +""" +Method to use when merging changes from queued pull requests. +""" +enum MergeQueueMergeMethod { """ - Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. + Merge commit """ - publishSponsorsTier( - """ - Parameters for PublishSponsorsTier - """ - input: PublishSponsorsTierInput! - ): PublishSponsorsTierPayload + MERGE """ - Regenerates the identity provider recovery codes for an enterprise + Rebase and merge """ - regenerateEnterpriseIdentityProviderRecoveryCodes( - """ - Parameters for RegenerateEnterpriseIdentityProviderRecoveryCodes - """ - input: RegenerateEnterpriseIdentityProviderRecoveryCodesInput! - ): RegenerateEnterpriseIdentityProviderRecoveryCodesPayload + REBASE """ - Regenerates a verifiable domain's verification token. + Squash and merge """ - regenerateVerifiableDomainToken( - """ - Parameters for RegenerateVerifiableDomainToken - """ - input: RegenerateVerifiableDomainTokenInput! - ): RegenerateVerifiableDomainTokenPayload + SQUASH +} +""" +The possible merging strategies for a merge queue. +""" +enum MergeQueueMergingStrategy { """ - Reject all pending deployments under one or more environments + Entries only allowed to merge if they are passing. """ - rejectDeployments( - """ - Parameters for RejectDeployments - """ - input: RejectDeploymentsInput! - ): RejectDeploymentsPayload + ALLGREEN """ - Removes assignees from an assignable object. + Failing Entires are allowed to merge if they are with a passing entry. """ - removeAssigneesFromAssignable( - """ - Parameters for RemoveAssigneesFromAssignable - """ - input: RemoveAssigneesFromAssignableInput! - ): RemoveAssigneesFromAssignablePayload + HEADGREEN +} +""" +Merges must be performed via a merge queue. +""" +type MergeQueueParameters { """ - Removes an administrator from the enterprise. + 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 """ - removeEnterpriseAdmin( - """ - Parameters for RemoveEnterpriseAdmin - """ - input: RemoveEnterpriseAdminInput! - ): RemoveEnterpriseAdminPayload + checkResponseTimeoutMinutes: Int! """ - Removes the identity provider from an enterprise. Owners of enterprises both - with and without Enterprise Managed Users may use this mutation. + 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. """ - removeEnterpriseIdentityProvider( - """ - Parameters for RemoveEnterpriseIdentityProvider - """ - input: RemoveEnterpriseIdentityProviderInput! - ): RemoveEnterpriseIdentityProviderPayload + groupingStrategy: MergeQueueGroupingStrategy! """ - Removes a user from all organizations within the enterprise + Limit the number of queued pull requests requesting checks and workflow runs at the same time. """ - removeEnterpriseMember( - """ - Parameters for RemoveEnterpriseMember - """ - input: RemoveEnterpriseMemberInput! - ): RemoveEnterpriseMemberPayload + maxEntriesToBuild: Int! """ - Removes an organization from the enterprise + The maximum number of PRs that will be merged together in a group. """ - removeEnterpriseOrganization( - """ - Parameters for RemoveEnterpriseOrganization - """ - input: RemoveEnterpriseOrganizationInput! - ): RemoveEnterpriseOrganizationPayload + maxEntriesToMerge: Int! """ - Removes a support entitlement from an enterprise member. + Method to use when merging changes from queued pull requests. """ - removeEnterpriseSupportEntitlement( - """ - Parameters for RemoveEnterpriseSupportEntitlement - """ - input: RemoveEnterpriseSupportEntitlementInput! - ): RemoveEnterpriseSupportEntitlementPayload + mergeMethod: MergeQueueMergeMethod! """ - Removes labels from a Labelable object. + The minimum number of PRs that will be merged together in a group. """ - removeLabelsFromLabelable( - """ - Parameters for RemoveLabelsFromLabelable - """ - input: RemoveLabelsFromLabelableInput! - ): RemoveLabelsFromLabelablePayload + minEntriesToMerge: Int! """ - Removes outside collaborator from all repositories in an organization. + 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. """ - removeOutsideCollaborator( - """ - Parameters for RemoveOutsideCollaborator - """ - input: RemoveOutsideCollaboratorInput! - ): RemoveOutsideCollaboratorPayload + minEntriesToMergeWaitMinutes: Int! +} +""" +Merges must be performed via a merge queue. +""" +input MergeQueueParametersInput { """ - Removes a reaction from a subject. + 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 """ - removeReaction( - """ - Parameters for RemoveReaction - """ - input: RemoveReactionInput! - ): RemoveReactionPayload + checkResponseTimeoutMinutes: Int! """ - Removes a star from a Starrable. + 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. """ - removeStar( - """ - Parameters for RemoveStar - """ - input: RemoveStarInput! - ): RemoveStarPayload + groupingStrategy: MergeQueueGroupingStrategy! """ - Removes a sub-issue from a given issue + Limit the number of queued pull requests requesting checks and workflow runs at the same time. """ - removeSubIssue( - """ - Parameters for RemoveSubIssue - """ - input: RemoveSubIssueInput! - ): RemoveSubIssuePayload + maxEntriesToBuild: Int! """ - Remove an upvote to a discussion or discussion comment. + The maximum number of PRs that will be merged together in a group. """ - removeUpvote( - """ - Parameters for RemoveUpvote - """ - input: RemoveUpvoteInput! - ): RemoveUpvotePayload + maxEntriesToMerge: Int! """ - Reopen a discussion. + Method to use when merging changes from queued pull requests. """ - reopenDiscussion( - """ - Parameters for ReopenDiscussion - """ - input: ReopenDiscussionInput! - ): ReopenDiscussionPayload + mergeMethod: MergeQueueMergeMethod! """ - Reopen a issue. + The minimum number of PRs that will be merged together in a group. """ - reopenIssue( - """ - Parameters for ReopenIssue - """ - input: ReopenIssueInput! - ): ReopenIssuePayload + minEntriesToMerge: Int! """ - Reopen a pull request. + 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. """ - reopenPullRequest( - """ - Parameters for ReopenPullRequest - """ - input: ReopenPullRequestInput! - ): ReopenPullRequestPayload + minEntriesToMergeWaitMinutes: Int! +} +""" +Detailed status information about a pull request merge. +""" +enum MergeStateStatus { """ - Reorder a pinned repository environment + The head ref is out of date. """ - reorderEnvironment( - """ - Parameters for ReorderEnvironment - """ - input: ReorderEnvironmentInput! - ): ReorderEnvironmentPayload + BEHIND """ - Reprioritizes a sub-issue to a different position in the parent list. + The merge is blocked. """ - reprioritizeSubIssue( - """ - Parameters for ReprioritizeSubIssue - """ - input: ReprioritizeSubIssueInput! - ): ReprioritizeSubIssuePayload + BLOCKED """ - Set review requests on a pull request. + Mergeable and passing commit status. """ - requestReviews( - """ - Parameters for RequestReviews - """ - input: RequestReviewsInput! - ): RequestReviewsPayload + CLEAN """ - Rerequests an existing check suite. + The merge commit cannot be cleanly created. """ - rerequestCheckSuite( - """ - Parameters for RerequestCheckSuite - """ - input: RerequestCheckSuiteInput! - ): RerequestCheckSuitePayload + DIRTY """ - Marks a review thread as resolved. + The merge is blocked due to the pull request being a draft. """ - resolveReviewThread( - """ - Parameters for ResolveReviewThread - """ - input: ResolveReviewThreadInput! - ): ResolveReviewThreadPayload + DRAFT @deprecated(reason: "DRAFT state will be removed from this enum and `isDraft` should be used instead Use PullRequest.isDraft instead. Removal on 2021-01-01 UTC.") """ - Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships. + Mergeable with passing commit status and pre-receive hooks. """ - retireSponsorsTier( - """ - Parameters for RetireSponsorsTier - """ - input: RetireSponsorsTierInput! - ): RetireSponsorsTierPayload + HAS_HOOKS """ - Create a pull request that reverts the changes from a merged pull request. + The state cannot currently be determined. """ - revertPullRequest( - """ - Parameters for RevertPullRequest - """ - input: RevertPullRequestInput! - ): RevertPullRequestPayload + UNKNOWN """ - Revoke the migrator role to a user for all organizations under an enterprise account. + Mergeable with non-passing commit status. """ - revokeEnterpriseOrganizationsMigratorRole( - """ - Parameters for RevokeEnterpriseOrganizationsMigratorRole - """ - input: RevokeEnterpriseOrganizationsMigratorRoleInput! - ): RevokeEnterpriseOrganizationsMigratorRolePayload + UNSTABLE +} +""" +Whether or not a PullRequest can be merged. +""" +enum MergeableState { """ - Revoke the migrator role from a user or a team. + The pull request cannot be merged due to merge conflicts. """ - revokeMigratorRole( - """ - Parameters for RevokeMigratorRole - """ - input: RevokeMigratorRoleInput! - ): RevokeMigratorRolePayload + CONFLICTING """ - Creates or updates the identity provider for an enterprise. + The pull request can be merged. """ - setEnterpriseIdentityProvider( - """ - Parameters for SetEnterpriseIdentityProvider - """ - input: SetEnterpriseIdentityProviderInput! - ): SetEnterpriseIdentityProviderPayload + MERGEABLE """ - Set an organization level interaction limit for an organization's public repositories. + The mergeability of the pull request is still being calculated. """ - setOrganizationInteractionLimit( - """ - Parameters for SetOrganizationInteractionLimit - """ - input: SetOrganizationInteractionLimitInput! - ): SetOrganizationInteractionLimitPayload + UNKNOWN +} +""" +Represents a 'merged' event on a given pull request. +""" +type MergedEvent implements Node & UniformResourceLocatable { """ - Sets an interaction limit setting for a repository. + Identifies the actor who performed the event. """ - setRepositoryInteractionLimit( - """ - Parameters for SetRepositoryInteractionLimit - """ - input: SetRepositoryInteractionLimitInput! - ): SetRepositoryInteractionLimitPayload + actor: Actor """ - Set a user level interaction limit for an user's public repositories. + Identifies the commit associated with the `merge` event. """ - setUserInteractionLimit( - """ - Parameters for SetUserInteractionLimit - """ - input: SetUserInteractionLimitInput! - ): SetUserInteractionLimitPayload + commit: Commit """ - Starts a GitHub Enterprise Importer organization migration. + Identifies the date and time when the object was created. """ - startOrganizationMigration( - """ - Parameters for StartOrganizationMigration - """ - input: StartOrganizationMigrationInput! - ): StartOrganizationMigrationPayload + createdAt: DateTime! """ - Starts a GitHub Enterprise Importer (GEI) repository migration. + The Node ID of the MergedEvent object """ - startRepositoryMigration( - """ - Parameters for StartRepositoryMigration - """ - input: StartRepositoryMigrationInput! - ): StartRepositoryMigrationPayload + id: ID! """ - Submits a pending pull request review. + Identifies the Ref associated with the `merge` event. """ - submitPullRequestReview( - """ - Parameters for SubmitPullRequestReview - """ - input: SubmitPullRequestReviewInput! - ): SubmitPullRequestReviewPayload + mergeRef: Ref """ - Transfer an organization from one enterprise to another enterprise. + Identifies the name of the Ref associated with the `merge` event. """ - transferEnterpriseOrganization( - """ - Parameters for TransferEnterpriseOrganization - """ - input: TransferEnterpriseOrganizationInput! - ): TransferEnterpriseOrganizationPayload + mergeRefName: String! """ - Transfer an issue to a different repository + PullRequest referenced by event. """ - transferIssue( - """ - Parameters for TransferIssue - """ - input: TransferIssueInput! - ): TransferIssuePayload + pullRequest: PullRequest! """ - Unarchives a ProjectV2Item + The HTTP path for this merged event. """ - unarchiveProjectV2Item( - """ - Parameters for UnarchiveProjectV2Item - """ - input: UnarchiveProjectV2ItemInput! - ): UnarchiveProjectV2ItemPayload + resourcePath: URI! """ - Unarchives a repository. + The HTTP URL for this merged event. """ - unarchiveRepository( - """ - Parameters for UnarchiveRepository - """ - input: UnarchiveRepositoryInput! - ): UnarchiveRepositoryPayload + url: URI! +} +""" +Represents a GitHub Enterprise Importer (GEI) migration. +""" +interface Migration { """ - Unfollow an organization. + The migration flag to continue on error. """ - unfollowOrganization( - """ - Parameters for UnfollowOrganization - """ - input: UnfollowOrganizationInput! - ): UnfollowOrganizationPayload + continueOnError: Boolean! """ - Unfollow a user. + Identifies the date and time when the object was created. """ - unfollowUser( - """ - Parameters for UnfollowUser - """ - input: UnfollowUserInput! - ): UnfollowUserPayload + createdAt: DateTime! """ - Unlinks a project from a repository. + Identifies the primary key from the database. """ - unlinkProjectV2FromRepository( - """ - Parameters for UnlinkProjectV2FromRepository - """ - input: UnlinkProjectV2FromRepositoryInput! - ): UnlinkProjectV2FromRepositoryPayload + databaseId: String """ - Unlinks a project to a team. + The reason the migration failed. """ - unlinkProjectV2FromTeam( - """ - Parameters for UnlinkProjectV2FromTeam - """ - input: UnlinkProjectV2FromTeamInput! - ): UnlinkProjectV2FromTeamPayload + failureReason: String """ - Deletes a repository link from a project. + The Node ID of the Migration object """ - unlinkRepositoryFromProject( - """ - Parameters for UnlinkRepositoryFromProject - """ - input: UnlinkRepositoryFromProjectInput! - ): UnlinkRepositoryFromProjectPayload @deprecated(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.") + id: ID! """ - Unlock a lockable object + The URL for the migration log (expires 1 day after migration completes). """ - unlockLockable( - """ - Parameters for UnlockLockable - """ - input: UnlockLockableInput! - ): UnlockLockablePayload + migrationLogUrl: URI """ - Unmark a discussion comment as the chosen answer for discussions in an answerable category. + The migration source. """ - unmarkDiscussionCommentAsAnswer( - """ - Parameters for UnmarkDiscussionCommentAsAnswer - """ - input: UnmarkDiscussionCommentAsAnswerInput! - ): UnmarkDiscussionCommentAsAnswerPayload + migrationSource: MigrationSource! """ - Unmark a pull request file as viewed + The target repository name. """ - unmarkFileAsViewed( - """ - Parameters for UnmarkFileAsViewed - """ - input: UnmarkFileAsViewedInput! - ): UnmarkFileAsViewedPayload + repositoryName: String! """ - Unmark an issue as a duplicate of another issue. + The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. """ - unmarkIssueAsDuplicate( - """ - Parameters for UnmarkIssueAsDuplicate - """ - input: UnmarkIssueAsDuplicateInput! - ): UnmarkIssueAsDuplicatePayload + sourceUrl: URI! """ - Unmark a project as a template. + The migration state. """ - unmarkProjectV2AsTemplate( - """ - Parameters for UnmarkProjectV2AsTemplate - """ - input: UnmarkProjectV2AsTemplateInput! - ): UnmarkProjectV2AsTemplatePayload + state: MigrationState! """ - Unminimizes a comment on an Issue, Commit, Pull Request, or Gist + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). """ - unminimizeComment( - """ - Parameters for UnminimizeComment - """ - input: UnminimizeCommentInput! - ): UnminimizeCommentPayload + warningsCount: Int! +} +""" +A GitHub Enterprise Importer (GEI) migration source. +""" +type MigrationSource implements Node { """ - Unpin a pinned issue from a repository + The Node ID of the MigrationSource object """ - unpinIssue( - """ - Parameters for UnpinIssue - """ - input: UnpinIssueInput! - ): UnpinIssuePayload + id: ID! """ - Marks a review thread as unresolved. + The migration source name. """ - unresolveReviewThread( - """ - Parameters for UnresolveReviewThread - """ - input: UnresolveReviewThreadInput! - ): UnresolveReviewThreadPayload + name: String! """ - Update a branch protection rule + The migration source type. """ - updateBranchProtectionRule( - """ - Parameters for UpdateBranchProtectionRule - """ - input: UpdateBranchProtectionRuleInput! - ): UpdateBranchProtectionRulePayload + type: MigrationSourceType! """ - Update a check run + The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. """ - updateCheckRun( - """ - Parameters for UpdateCheckRun - """ - input: UpdateCheckRunInput! - ): UpdateCheckRunPayload + url: URI! +} +""" +Represents the different GitHub Enterprise Importer (GEI) migration sources. +""" +enum MigrationSourceType { """ - Modifies the settings of an existing check suite + An Azure DevOps migration source. """ - updateCheckSuitePreferences( - """ - Parameters for UpdateCheckSuitePreferences - """ - input: UpdateCheckSuitePreferencesInput! - ): UpdateCheckSuitePreferencesPayload + AZURE_DEVOPS """ - Update a discussion + A Bitbucket Server migration source. """ - updateDiscussion( - """ - Parameters for UpdateDiscussion - """ - input: UpdateDiscussionInput! - ): UpdateDiscussionPayload + BITBUCKET_SERVER """ - Update the contents of a comment on a Discussion + A GitHub Migration API source. """ - updateDiscussionComment( - """ - Parameters for UpdateDiscussionComment - """ - input: UpdateDiscussionCommentInput! - ): UpdateDiscussionCommentPayload + GITHUB_ARCHIVE """ - Updates the role of an enterprise administrator. + A GitLab migration source. """ - updateEnterpriseAdministratorRole( - """ - Parameters for UpdateEnterpriseAdministratorRole - """ - input: UpdateEnterpriseAdministratorRoleInput! - ): UpdateEnterpriseAdministratorRolePayload + GITLAB +} +""" +The GitHub Enterprise Importer (GEI) migration state. +""" +enum MigrationState { """ - Sets whether private repository forks are enabled for an enterprise. + The migration has failed. """ - updateEnterpriseAllowPrivateRepositoryForkingSetting( - """ - Parameters for UpdateEnterpriseAllowPrivateRepositoryForkingSetting - """ - input: UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput! - ): UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload + FAILED """ - Sets the base repository permission for organizations in an enterprise. + The migration has invalid credentials. """ - updateEnterpriseDefaultRepositoryPermissionSetting( - """ - Parameters for UpdateEnterpriseDefaultRepositoryPermissionSetting - """ - input: UpdateEnterpriseDefaultRepositoryPermissionSettingInput! - ): UpdateEnterpriseDefaultRepositoryPermissionSettingPayload + FAILED_VALIDATION """ - Sets whether deploy keys are allowed to be created and used for an enterprise. + The migration is in progress. """ - updateEnterpriseDeployKeySetting( - """ - Parameters for UpdateEnterpriseDeployKeySetting - """ - input: UpdateEnterpriseDeployKeySettingInput! - ): UpdateEnterpriseDeployKeySettingPayload + IN_PROGRESS """ - Sets whether organization members with admin permissions on a repository can change repository visibility. + The migration has not started. """ - updateEnterpriseMembersCanChangeRepositoryVisibilitySetting( - """ - Parameters for UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting - """ - input: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput! - ): UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload + NOT_STARTED """ - Sets the members can create repositories setting for an enterprise. + The migration needs to have its credentials validated. """ - updateEnterpriseMembersCanCreateRepositoriesSetting( - """ - Parameters for UpdateEnterpriseMembersCanCreateRepositoriesSetting - """ - input: UpdateEnterpriseMembersCanCreateRepositoriesSettingInput! - ): UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload + PENDING_VALIDATION """ - Sets the members can delete issues setting for an enterprise. + The migration has been queued. """ - updateEnterpriseMembersCanDeleteIssuesSetting( - """ - Parameters for UpdateEnterpriseMembersCanDeleteIssuesSetting - """ - input: UpdateEnterpriseMembersCanDeleteIssuesSettingInput! - ): UpdateEnterpriseMembersCanDeleteIssuesSettingPayload + QUEUED """ - Sets the members can delete repositories setting for an enterprise. + The migration has succeeded. """ - updateEnterpriseMembersCanDeleteRepositoriesSetting( - """ - Parameters for UpdateEnterpriseMembersCanDeleteRepositoriesSetting - """ - input: UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput! - ): UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload + SUCCEEDED +} +""" +Represents a Milestone object on a given repository. +""" +type Milestone implements Closable & Node & UniformResourceLocatable { """ - Sets whether members can invite collaborators are enabled for an enterprise. + Indicates if the object is closed (definition of closed may depend on type) """ - updateEnterpriseMembersCanInviteCollaboratorsSetting( - """ - Parameters for UpdateEnterpriseMembersCanInviteCollaboratorsSetting - """ - input: UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput! - ): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload + closed: Boolean! """ - Sets whether or not an organization owner can make purchases. + Identifies the date and time when the object was closed. """ - updateEnterpriseMembersCanMakePurchasesSetting( - """ - Parameters for UpdateEnterpriseMembersCanMakePurchasesSetting - """ - input: UpdateEnterpriseMembersCanMakePurchasesSettingInput! - ): UpdateEnterpriseMembersCanMakePurchasesSettingPayload + closedAt: DateTime """ - Sets the members can update protected branches setting for an enterprise. + Identifies the number of closed issues associated with the milestone. """ - updateEnterpriseMembersCanUpdateProtectedBranchesSetting( - """ - Parameters for UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting - """ - input: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput! - ): UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload + closedIssueCount: Int! """ - Sets the members can view dependency insights for an enterprise. + Identifies the date and time when the object was created. """ - updateEnterpriseMembersCanViewDependencyInsightsSetting( - """ - Parameters for UpdateEnterpriseMembersCanViewDependencyInsightsSetting - """ - input: UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput! - ): UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload + createdAt: DateTime! """ - Sets whether organization projects are enabled for an enterprise. + Identifies the actor who created the milestone. """ - updateEnterpriseOrganizationProjectsSetting( - """ - Parameters for UpdateEnterpriseOrganizationProjectsSetting - """ - input: UpdateEnterpriseOrganizationProjectsSettingInput! - ): UpdateEnterpriseOrganizationProjectsSettingPayload + creator: Actor """ - Updates the role of an enterprise owner with an organization. + Identifies the description of the milestone. """ - updateEnterpriseOwnerOrganizationRole( - """ - Parameters for UpdateEnterpriseOwnerOrganizationRole - """ - input: UpdateEnterpriseOwnerOrganizationRoleInput! - ): UpdateEnterpriseOwnerOrganizationRolePayload + description: String """ - Updates an enterprise's profile. + The HTML rendered description of the milestone using GitHub Flavored Markdown. """ - updateEnterpriseProfile( - """ - Parameters for UpdateEnterpriseProfile - """ - input: UpdateEnterpriseProfileInput! - ): UpdateEnterpriseProfilePayload + descriptionHTML: String """ - Sets whether repository projects are enabled for a enterprise. + Identifies the due date of the milestone. """ - updateEnterpriseRepositoryProjectsSetting( - """ - Parameters for UpdateEnterpriseRepositoryProjectsSetting - """ - input: UpdateEnterpriseRepositoryProjectsSettingInput! - ): UpdateEnterpriseRepositoryProjectsSettingPayload + dueOn: DateTime """ - Sets whether team discussions are enabled for an enterprise. + The Node ID of the Milestone object """ - updateEnterpriseTeamDiscussionsSetting( - """ - Parameters for UpdateEnterpriseTeamDiscussionsSetting - """ - input: UpdateEnterpriseTeamDiscussionsSettingInput! - ): UpdateEnterpriseTeamDiscussionsSettingPayload + id: ID! """ - Sets the two-factor authentication methods that users of an enterprise may not use. + A list of issues associated with the milestone. """ - updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting( + issues( """ - Parameters for UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting + Returns the elements in the list that come after the specified cursor. """ - input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput! - ): UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload + after: String - """ - Sets whether two factor authentication is required for all users in an enterprise. - """ - updateEnterpriseTwoFactorAuthenticationRequiredSetting( """ - Parameters for UpdateEnterpriseTwoFactorAuthenticationRequiredSetting + Returns the elements in the list that come before the specified cursor. """ - input: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput! - ): UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload + before: String - """ - Updates an environment. - """ - updateEnvironment( """ - Parameters for UpdateEnvironment + Filtering options for issues returned from the connection. """ - input: UpdateEnvironmentInput! - ): UpdateEnvironmentPayload + filterBy: IssueFilters - """ - Sets whether an IP allow list is enabled on an owner. - """ - updateIpAllowListEnabledSetting( """ - Parameters for UpdateIpAllowListEnabledSetting + Returns the first _n_ elements from the list. """ - input: UpdateIpAllowListEnabledSettingInput! - ): UpdateIpAllowListEnabledSettingPayload + first: Int - """ - Updates an IP allow list entry. - """ - updateIpAllowListEntry( """ - Parameters for UpdateIpAllowListEntry + A list of label names to filter the pull requests by. """ - input: UpdateIpAllowListEntryInput! - ): UpdateIpAllowListEntryPayload + labels: [String!] - """ - Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner. - """ - updateIpAllowListForInstalledAppsEnabledSetting( """ - Parameters for UpdateIpAllowListForInstalledAppsEnabledSetting + Returns the last _n_ elements from the list. """ - input: UpdateIpAllowListForInstalledAppsEnabledSettingInput! - ): UpdateIpAllowListForInstalledAppsEnabledSettingPayload + last: Int - """ - Updates an Issue. - """ - updateIssue( """ - Parameters for UpdateIssue + Ordering options for issues returned from the connection. """ - input: UpdateIssueInput! - ): UpdateIssuePayload + orderBy: IssueOrder - """ - Updates an IssueComment object. - """ - updateIssueComment( """ - Parameters for UpdateIssueComment + A list of states to filter the issues by. """ - input: UpdateIssueCommentInput! - ): UpdateIssueCommentPayload + states: [IssueState!] + ): IssueConnection! """ - Updates an existing label. + Identifies the number of the milestone. """ - updateLabel( - """ - Parameters for UpdateLabel - """ - input: UpdateLabelInput! - ): UpdateLabelPayload + number: Int! """ - Update the setting to restrict notifications to only verified or approved domains available to an owner. + Identifies the number of open issues associated with the milestone. """ - updateNotificationRestrictionSetting( - """ - Parameters for UpdateNotificationRestrictionSetting - """ - input: UpdateNotificationRestrictionSettingInput! - ): UpdateNotificationRestrictionSettingPayload + openIssueCount: Int! """ - Sets whether private repository forks are enabled for an organization. + Identifies the percentage complete for the milestone """ - updateOrganizationAllowPrivateRepositoryForkingSetting( - """ - Parameters for UpdateOrganizationAllowPrivateRepositoryForkingSetting - """ - input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput! - ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload + progressPercentage: Float! """ - Sets whether contributors are required to sign off on web-based commits for repositories in an organization. + A list of pull requests associated with the milestone. """ - updateOrganizationWebCommitSignoffSetting( + pullRequests( """ - Parameters for UpdateOrganizationWebCommitSignoffSetting + Returns the elements in the list that come after the specified cursor. """ - input: UpdateOrganizationWebCommitSignoffSettingInput! - ): UpdateOrganizationWebCommitSignoffSettingPayload + after: String - """ - Toggle the setting for your GitHub Sponsors profile that allows other GitHub - accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. - Only applicable when you have a GitHub Sponsors profile and have connected - your GitHub account with Patreon. - """ - updatePatreonSponsorability( """ - Parameters for UpdatePatreonSponsorability + The base ref name to filter the pull requests by. """ - input: UpdatePatreonSponsorabilityInput! - ): UpdatePatreonSponsorabilityPayload + baseRefName: String - """ - Updates an existing project. - """ - updateProject( """ - Parameters for UpdateProject + Returns the elements in the list that come before the specified cursor. """ - input: UpdateProjectInput! - ): UpdateProjectPayload @deprecated(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.") + before: String - """ - Updates an existing project card. - """ - updateProjectCard( """ - Parameters for UpdateProjectCard + Returns the first _n_ elements from the list. """ - input: UpdateProjectCardInput! - ): UpdateProjectCardPayload @deprecated(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.") + first: Int - """ - Updates an existing project column. - """ - updateProjectColumn( """ - Parameters for UpdateProjectColumn + The head ref name to filter the pull requests by. """ - input: UpdateProjectColumnInput! - ): UpdateProjectColumnPayload @deprecated(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.") + headRefName: String - """ - Updates an existing project. - """ - updateProjectV2( """ - Parameters for UpdateProjectV2 + A list of label names to filter the pull requests by. """ - input: UpdateProjectV2Input! - ): UpdateProjectV2Payload + labels: [String!] - """ - Update the collaborators on a team or a project - """ - updateProjectV2Collaborators( """ - Parameters for UpdateProjectV2Collaborators + Returns the last _n_ elements from the list. """ - input: UpdateProjectV2CollaboratorsInput! - ): UpdateProjectV2CollaboratorsPayload + last: Int - """ - Updates a draft issue within a Project. - """ - updateProjectV2DraftIssue( """ - Parameters for UpdateProjectV2DraftIssue + Ordering options for pull requests returned from the connection. """ - input: UpdateProjectV2DraftIssueInput! - ): UpdateProjectV2DraftIssuePayload + orderBy: IssueOrder - """ - Update a project field. - """ - updateProjectV2Field( """ - Parameters for UpdateProjectV2Field + A list of states to filter the pull requests by. """ - input: UpdateProjectV2FieldInput! - ): UpdateProjectV2FieldPayload + states: [PullRequestState!] + ): PullRequestConnection! """ - 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. + The repository associated with this milestone. """ - updateProjectV2ItemFieldValue( - """ - Parameters for UpdateProjectV2ItemFieldValue - """ - input: UpdateProjectV2ItemFieldValueInput! - ): UpdateProjectV2ItemFieldValuePayload + repository: Repository! """ - This mutation updates the position of the item in the project, where the position represents the priority of an item. + The HTTP path for this milestone """ - updateProjectV2ItemPosition( - """ - Parameters for UpdateProjectV2ItemPosition - """ - input: UpdateProjectV2ItemPositionInput! - ): UpdateProjectV2ItemPositionPayload + resourcePath: URI! """ - Updates a status update within a Project. + Identifies the state of the milestone. """ - updateProjectV2StatusUpdate( - """ - Parameters for UpdateProjectV2StatusUpdate - """ - input: UpdateProjectV2StatusUpdateInput! - ): UpdateProjectV2StatusUpdatePayload + state: MilestoneState! """ - Update a pull request + Identifies the title of the milestone. """ - updatePullRequest( - """ - Parameters for UpdatePullRequest - """ - input: UpdatePullRequestInput! - ): UpdatePullRequestPayload + title: String! """ - Merge or Rebase HEAD from upstream branch into pull request branch + Identifies the date and time when the object was last updated. """ - updatePullRequestBranch( - """ - Parameters for UpdatePullRequestBranch - """ - input: UpdatePullRequestBranchInput! - ): UpdatePullRequestBranchPayload + updatedAt: DateTime! """ - Updates the body of a pull request review. + The HTTP URL for this milestone """ - updatePullRequestReview( - """ - Parameters for UpdatePullRequestReview - """ - input: UpdatePullRequestReviewInput! - ): UpdatePullRequestReviewPayload + url: URI! """ - Updates a pull request review comment. + Indicates if the object can be closed by the viewer. """ - updatePullRequestReviewComment( - """ - Parameters for UpdatePullRequestReviewComment - """ - input: UpdatePullRequestReviewCommentInput! - ): UpdatePullRequestReviewCommentPayload + viewerCanClose: Boolean! """ - Update a Git Ref. + Indicates if the object can be reopened by the viewer. """ - updateRef( - """ - Parameters for UpdateRef - """ - input: UpdateRefInput! - ): UpdateRefPayload + viewerCanReopen: Boolean! +} +""" +The connection type for Milestone. +""" +type MilestoneConnection { """ - Creates, updates and/or deletes multiple refs in a repository. - - This mutation takes a list of `RefUpdate`s and performs these updates - on the repository. All updates are performed atomically, meaning that - if one of them is rejected, no other ref will be modified. - - `RefUpdate.beforeOid` specifies that the given reference needs to point - to the given value before performing any updates. A value of - `0000000000000000000000000000000000000000` can be used to verify that - the references should not exist. - - `RefUpdate.afterOid` specifies the value that the given reference - will point to after performing all updates. A value of - `0000000000000000000000000000000000000000` can be used to delete a - reference. - - If `RefUpdate.force` is set to `true`, a non-fast-forward updates - for the given reference will be allowed. + A list of edges. """ - updateRefs( - """ - Parameters for UpdateRefs - """ - input: UpdateRefsInput! - ): UpdateRefsPayload + edges: [MilestoneEdge] """ - Update information about a repository. + A list of nodes. """ - updateRepository( - """ - Parameters for UpdateRepository - """ - input: UpdateRepositoryInput! - ): UpdateRepositoryPayload + nodes: [Milestone] """ - Update a repository ruleset + Information to aid in pagination. """ - updateRepositoryRuleset( - """ - Parameters for UpdateRepositoryRuleset - """ - input: UpdateRepositoryRulesetInput! - ): UpdateRepositoryRulesetPayload + pageInfo: PageInfo! """ - Sets whether contributors are required to sign off on web-based commits for a repository. + Identifies the total count of items in the connection. """ - updateRepositoryWebCommitSignoffSetting( - """ - Parameters for UpdateRepositoryWebCommitSignoffSetting - """ - input: UpdateRepositoryWebCommitSignoffSettingInput! - ): UpdateRepositoryWebCommitSignoffSettingPayload + totalCount: Int! +} +""" +An edge in a connection. +""" +type MilestoneEdge { """ - Change visibility of your sponsorship and opt in or out of email updates from the maintainer. + A cursor for use in pagination. """ - updateSponsorshipPreferences( - """ - Parameters for UpdateSponsorshipPreferences - """ - input: UpdateSponsorshipPreferencesInput! - ): UpdateSponsorshipPreferencesPayload + cursor: String! """ - Updates the state for subscribable subjects. + The item at the end of the edge. """ - updateSubscription( - """ - Parameters for UpdateSubscription - """ - input: UpdateSubscriptionInput! - ): UpdateSubscriptionPayload + node: Milestone +} + +""" +Types that can be inside a Milestone. +""" +union MilestoneItem = Issue | PullRequest +""" +Ordering options for milestone connections. +""" +input MilestoneOrder { """ - Updates a team discussion. + The ordering direction. """ - updateTeamDiscussion( - """ - Parameters for UpdateTeamDiscussion - """ - input: UpdateTeamDiscussionInput! - ): UpdateTeamDiscussionPayload + direction: OrderDirection! """ - Updates a discussion comment. + The field to order milestones by. """ - updateTeamDiscussionComment( - """ - Parameters for UpdateTeamDiscussionComment - """ - input: UpdateTeamDiscussionCommentInput! - ): UpdateTeamDiscussionCommentPayload + field: MilestoneOrderField! +} +""" +Properties by which milestone connections can be ordered. +""" +enum MilestoneOrderField { """ - Updates team review assignment. + Order milestones by when they were created. """ - updateTeamReviewAssignment( - """ - Parameters for UpdateTeamReviewAssignment - """ - input: UpdateTeamReviewAssignmentInput! - ): UpdateTeamReviewAssignmentPayload + CREATED_AT """ - Update team repository. + Order milestones by when they are due. """ - updateTeamsRepository( - """ - Parameters for UpdateTeamsRepository - """ - input: UpdateTeamsRepositoryInput! - ): UpdateTeamsRepositoryPayload + DUE_DATE """ - Replaces the repository's topics with the given topics. + Order milestones by their number. """ - updateTopics( - """ - Parameters for UpdateTopics - """ - input: UpdateTopicsInput! - ): UpdateTopicsPayload + NUMBER """ - Updates an existing user list. + Order milestones by when they were last updated. """ - updateUserList( - """ - Parameters for UpdateUserList - """ - input: UpdateUserListInput! - ): UpdateUserListPayload + UPDATED_AT +} +""" +The possible states of a milestone. +""" +enum MilestoneState { """ - Updates which of the viewer's lists an item belongs to + A milestone that has been closed. """ - updateUserListsForItem( - """ - Parameters for UpdateUserListsForItem - """ - input: UpdateUserListsForItemInput! - ): UpdateUserListsForItemPayload + CLOSED """ - Verify that a verifiable domain has the expected DNS record. + A milestone that is still open. """ - verifyVerifiableDomain( - """ - Parameters for VerifyVerifiableDomain - """ - input: VerifyVerifiableDomainInput! - ): VerifyVerifiableDomainPayload + OPEN } """ -An object with an ID. +Represents a 'milestoned' event on a given issue or pull request. """ -interface Node { +type MilestonedEvent implements Node { """ - ID of the object. + Identifies the actor who performed the event. """ - id: ID! -} + actor: Actor -""" -The possible values for the notification restriction setting. -""" -enum NotificationRestrictionSettingValue { """ - The setting is disabled for the owner. + Identifies the date and time when the object was created. """ - DISABLED + createdAt: DateTime! """ - The setting is enabled for the owner. + The Node ID of the MilestonedEvent object """ - ENABLED -} + id: ID! -""" -An OIDC identity provider configured to provision identities for an enterprise. -Visible to enterprise owners or enterprise owners' personal access tokens -(classic) with read:enterprise or admin:enterprise scope. -""" -type OIDCProvider implements Node { """ - The enterprise this identity provider belongs to. + Identifies the milestone title associated with the 'milestoned' event. """ - enterprise: Enterprise + milestoneTitle: String! """ - ExternalIdentities provisioned by this identity provider. + Object referenced by event. """ - externalIdentities( - """ - 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 - - """ - Filter to external identities with the users login - """ - login: String - - """ - Filter to external identities with valid org membership only - """ - membersOnly: Boolean - - """ - Filter to external identities with the users userName/NameID attribute - """ - userName: String - ): ExternalIdentityConnection! + subject: MilestoneItem! +} +""" +Entities that can be minimized. +""" +interface Minimizable { """ - The Node ID of the OIDCProvider object + Returns whether or not a comment has been minimized. """ - id: ID! + isMinimized: Boolean! """ - The OIDC identity provider type + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. """ - providerType: OIDCProviderType! + minimizedReason: String """ - The id of the tenant this provider is attached to + Check if the current viewer can minimize this object. """ - tenantId: String! -} + viewerCanMinimize: Boolean! -""" -The OIDC identity provider type -""" -enum OIDCProviderType { """ - Azure Active Directory + Check if the current viewer can unminimize this object. """ - AAD + viewerCanUnminimize: Boolean! } """ -Metadata for an audit entry with action oauth_application.* +Autogenerated input type of MinimizeComment """ -interface OauthApplicationAuditEntryData { +input MinimizeCommentInput { """ - The name of the OAuth application. + The classification of comment """ - oauthApplicationName: String + classifier: ReportedContentClassifiers! """ - The HTTP path for the OAuth application + A unique identifier for the client performing the mutation. """ - oauthApplicationResourcePath: URI + clientMutationId: String """ - The HTTP URL for the OAuth application + The Node ID of the subject to modify. """ - oauthApplicationUrl: URI + subjectId: ID! } """ -Audit log entry for a oauth_application.create event. +Autogenerated return type of MinimizeComment. """ -type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { +type MinimizeCommentPayload { """ - The action name + A unique identifier for the client performing the mutation. """ - action: String! + clientMutationId: String """ - The user who initiated the action + The comment that was minimized. """ - actor: AuditEntryActor + minimizedComment: Minimizable +} +""" +Autogenerated input type of MoveProjectCard +""" +input MoveProjectCardInput { """ - The IP address of the actor + Place the new card after the card with this id. Pass null to place it at the top. """ - actorIp: String + afterCardId: ID """ - A readable representation of the actor's location + The id of the card to move. """ - actorLocation: ActorLocation + cardId: ID! """ - The username of the user who initiated the action + A unique identifier for the client performing the mutation. """ - actorLogin: String + clientMutationId: String """ - The HTTP path for the actor. + The id of the column to move it into. """ - actorResourcePath: URI + columnId: ID! +} +""" +Autogenerated return type of MoveProjectCard. +""" +type MoveProjectCardPayload { """ - The HTTP URL for the actor. + The new edge of the moved card. """ - actorUrl: URI + cardEdge: ProjectCardEdge """ - The application URL of the OAuth application. + A unique identifier for the client performing the mutation. """ - applicationUrl: URI + clientMutationId: String +} +""" +Autogenerated input type of MoveProjectColumn +""" +input MoveProjectColumnInput { """ - The callback URL of the OAuth application. + Place the new column after the column with this id. Pass null to place it at the front. """ - callbackUrl: URI + afterColumnId: ID """ - The time the action was initiated + A unique identifier for the client performing the mutation. """ - createdAt: PreciseDateTime! + clientMutationId: String """ - The Node ID of the OauthApplicationCreateAuditEntry object + The id of the column to move. """ - id: ID! + columnId: ID! +} +""" +Autogenerated return type of MoveProjectColumn. +""" +type MoveProjectColumnPayload { """ - The name of the OAuth application. + A unique identifier for the client performing the mutation. """ - oauthApplicationName: String + clientMutationId: String """ - The HTTP path for the OAuth application + The new edge of the moved column. """ - oauthApplicationResourcePath: URI + columnEdge: ProjectColumnEdge +} +""" +Represents a 'moved_columns_in_project' event on a given issue or pull request. +""" +type MovedColumnsInProjectEvent implements Node { """ - The HTTP URL for the OAuth application + Identifies the actor who performed the event. """ - oauthApplicationUrl: URI + actor: Actor """ - The corresponding operation type for the action + Identifies the date and time when the object was created. """ - operationType: OperationType + createdAt: DateTime! """ - The Organization associated with the Audit Entry. + Identifies the primary key from the database. """ - organization: Organization + databaseId: Int @deprecated(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.") """ - The name of the Organization. + The Node ID of the MovedColumnsInProjectEvent object """ - organizationName: String + id: ID! """ - The HTTP path for the organization + Column name the issue or pull request was moved from. """ - organizationResourcePath: URI + previousProjectColumnName: String! @deprecated(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.") """ - The HTTP URL for the organization + Project referenced by event. """ - organizationUrl: URI + project: Project @deprecated(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.") """ - The rate limit of the OAuth application. + Project card referenced by this project event. """ - rateLimit: Int + projectCard: ProjectCard @deprecated(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.") """ - The state of the OAuth application. + Column name the issue or pull request was moved to. """ - state: OauthApplicationCreateAuditEntryState + projectColumnName: String! @deprecated(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.") +} +""" +The root query for implementing GraphQL mutations. +""" +type Mutation { """ - The user affected by the action + Clear all of a customer's queued migrations """ - user: User + abortQueuedMigrations( + """ + Parameters for AbortQueuedMigrations + """ + input: AbortQueuedMigrationsInput! + ): AbortQueuedMigrationsPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Abort a repository migration queued or in progress. """ - userLogin: String + abortRepositoryMigration( + """ + Parameters for AbortRepositoryMigration + """ + input: AbortRepositoryMigrationInput! + ): AbortRepositoryMigrationPayload """ - The HTTP path for the user. + Accepts a pending invitation for a user to become an administrator of an enterprise. """ - userResourcePath: URI + acceptEnterpriseAdministratorInvitation( + """ + Parameters for AcceptEnterpriseAdministratorInvitation + """ + input: AcceptEnterpriseAdministratorInvitationInput! + ): AcceptEnterpriseAdministratorInvitationPayload """ - The HTTP URL for the user. + Accepts a pending invitation for a user to become an unaffiliated member of an enterprise. """ - userUrl: URI -} + acceptEnterpriseMemberInvitation( + """ + Parameters for AcceptEnterpriseMemberInvitation + """ + input: AcceptEnterpriseMemberInvitationInput! + ): AcceptEnterpriseMemberInvitationPayload -""" -The state of an OAuth application when it was created. -""" -enum OauthApplicationCreateAuditEntryState { """ - The OAuth application was active and allowed to have OAuth Accesses. + Applies a suggested topic to the repository. """ - ACTIVE + acceptTopicSuggestion( + """ + Parameters for AcceptTopicSuggestion + """ + input: AcceptTopicSuggestionInput! + ): AcceptTopicSuggestionPayload """ - The OAuth application was in the process of being deleted. + Access user namespace repository for a temporary duration. """ - PENDING_DELETION + accessUserNamespaceRepository( + """ + Parameters for AccessUserNamespaceRepository + """ + input: AccessUserNamespaceRepositoryInput! + ): AccessUserNamespaceRepositoryPayload """ - The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. + Adds assignees to an assignable object. """ - SUSPENDED -} + addAssigneesToAssignable( + """ + Parameters for AddAssigneesToAssignable + """ + input: AddAssigneesToAssignableInput! + ): AddAssigneesToAssignablePayload -""" -The corresponding operation type for the action -""" -enum OperationType { """ - An existing resource was accessed + Adds a 'blocked by' relationship to an issue. """ - ACCESS + addBlockedBy( + """ + Parameters for AddBlockedBy + """ + input: AddBlockedByInput! + ): AddBlockedByPayload """ - A resource performed an authentication event + Adds one or more pull requests as manually linked closing references on an + issue. The target must be an issue, not a pull request. """ - AUTHENTICATION + addCloseIssueReferences( + """ + Parameters for AddCloseIssueReferences + """ + input: AddCloseIssueReferencesInput! + ): AddCloseIssueReferencesPayload """ - A new resource was created + Adds a comment to an Issue or Pull Request. """ - CREATE + addComment( + """ + Parameters for AddComment + """ + input: AddCommentInput! + ): AddCommentPayload """ - An existing resource was modified + Adds a comment to a Discussion, possibly as a reply to another comment. """ - MODIFY + addDiscussionComment( + """ + Parameters for AddDiscussionComment + """ + input: AddDiscussionCommentInput! + ): AddDiscussionCommentPayload """ - An existing resource was removed + Vote for an option in a discussion poll. """ - REMOVE + addDiscussionPollVote( + """ + Parameters for AddDiscussionPollVote + """ + input: AddDiscussionPollVoteInput! + ): AddDiscussionPollVotePayload """ - An existing resource was restored + Adds enterprise members to an organization within the enterprise. """ - RESTORE + addEnterpriseOrganizationMember( + """ + Parameters for AddEnterpriseOrganizationMember + """ + input: AddEnterpriseOrganizationMemberInput! + ): AddEnterpriseOrganizationMemberPayload """ - An existing resource was transferred between multiple resources + Adds a support entitlement to an enterprise member. """ - TRANSFER -} + addEnterpriseSupportEntitlement( + """ + Parameters for AddEnterpriseSupportEntitlement + """ + input: AddEnterpriseSupportEntitlementInput! + ): AddEnterpriseSupportEntitlementPayload -""" -Possible directions in which to order a list of items when provided an `orderBy` argument. -""" -enum OrderDirection { """ - Specifies an ascending order for a given `orderBy` argument. + Adds labels to a labelable object. """ - ASC + addLabelsToLabelable( + """ + Parameters for AddLabelsToLabelable + """ + input: AddLabelsToLabelableInput! + ): AddLabelsToLabelablePayload """ - Specifies a descending order for a given `orderBy` argument. + Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. """ - DESC -} + addProjectCard( + """ + Parameters for AddProjectCard + """ + input: AddProjectCardInput! + ): AddProjectCardPayload @deprecated(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.") -""" -Audit log entry for a org.add_billing_manager -""" -type OrgAddBillingManagerAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Adds a column to a Project. """ - action: String! + addProjectColumn( + """ + Parameters for AddProjectColumn + """ + input: AddProjectColumnInput! + ): AddProjectColumnPayload @deprecated(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.") """ - The user who initiated the action + Creates a new draft issue and add it to a Project. """ - actor: AuditEntryActor + addProjectV2DraftIssue( + """ + Parameters for AddProjectV2DraftIssue + """ + input: AddProjectV2DraftIssueInput! + ): AddProjectV2DraftIssuePayload """ - The IP address of the actor + Links an existing content instance to a Project. """ - actorIp: String + addProjectV2ItemById( + """ + Parameters for AddProjectV2ItemById + """ + input: AddProjectV2ItemByIdInput! + ): AddProjectV2ItemByIdPayload """ - A readable representation of the actor's location + Add users to the pull request creation cap bypass list. Bypassed users can + create pull requests regardless of the configured cap. Only users with + maintainer permissions can manage the bypass list. You can add a maximum of + 100 users per request. The bypass list can only hold a maximum of 100 users. """ - actorLocation: ActorLocation + addPullRequestCreationCapBypassUsers( + """ + Parameters for AddPullRequestCreationCapBypassUsers + """ + input: AddPullRequestCreationCapBypassUsersInput! + ): AddPullRequestCreationCapBypassUsersPayload """ - The username of the user who initiated the action + Adds a review to a Pull Request. """ - actorLogin: String + addPullRequestReview( + """ + Parameters for AddPullRequestReview + """ + input: AddPullRequestReviewInput! + ): AddPullRequestReviewPayload """ - The HTTP path for the actor. + Adds a comment to a review. """ - actorResourcePath: URI + addPullRequestReviewComment( + """ + Parameters for AddPullRequestReviewComment + """ + input: AddPullRequestReviewCommentInput! + ): AddPullRequestReviewCommentPayload """ - The HTTP URL for the actor. + Adds a new thread to a pending Pull Request Review. """ - actorUrl: URI + addPullRequestReviewThread( + """ + Parameters for AddPullRequestReviewThread + """ + input: AddPullRequestReviewThreadInput! + ): AddPullRequestReviewThreadPayload """ - The time the action was initiated + Adds a reply to an existing Pull Request Review Thread. """ - createdAt: PreciseDateTime! + addPullRequestReviewThreadReply( + """ + Parameters for AddPullRequestReviewThreadReply + """ + input: AddPullRequestReviewThreadReplyInput! + ): AddPullRequestReviewThreadReplyPayload """ - The Node ID of the OrgAddBillingManagerAuditEntry object + Adds a reaction to a subject. """ - id: ID! + addReaction( + """ + Parameters for AddReaction + """ + input: AddReactionInput! + ): AddReactionPayload """ - The email address used to invite a billing manager for the organization. + Adds a 'relates to' relationship between two issues. """ - invitationEmail: String + addRelatesTo( + """ + Parameters for AddRelatesTo + """ + input: AddRelatesToInput! + ): AddRelatesToPayload """ - The corresponding operation type for the action + Adds a star to a Starrable. """ - operationType: OperationType + addStar( + """ + Parameters for AddStar + """ + input: AddStarInput! + ): AddStarPayload """ - The Organization associated with the Audit Entry. + Adds a sub-issue to a given issue """ - organization: Organization + addSubIssue( + """ + Parameters for AddSubIssue + """ + input: AddSubIssueInput! + ): AddSubIssuePayload """ - The name of the Organization. + Add an upvote to a discussion or discussion comment. """ - organizationName: String + addUpvote( + """ + Parameters for AddUpvote + """ + input: AddUpvoteInput! + ): AddUpvotePayload """ - The HTTP path for the organization + Adds a verifiable domain to an owning account. """ - organizationResourcePath: URI + addVerifiableDomain( + """ + Parameters for AddVerifiableDomain + """ + input: AddVerifiableDomainInput! + ): AddVerifiableDomainPayload """ - The HTTP URL for the organization + Applies a batch of pending issue suggestions to an issue. """ - organizationUrl: URI + applyPendingIssueSuggestions( + """ + Parameters for ApplyPendingIssueSuggestions + """ + input: ApplyPendingIssueSuggestionsInput! + ): ApplyPendingIssueSuggestionsPayload """ - The user affected by the action + Approve all pending deployments under one or more environments """ - user: User + approveDeployments( + """ + Parameters for ApproveDeployments + """ + input: ApproveDeploymentsInput! + ): ApproveDeploymentsPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Approve a verifiable domain for notification delivery. """ - userLogin: String + approveVerifiableDomain( + """ + Parameters for ApproveVerifiableDomain + """ + input: ApproveVerifiableDomainInput! + ): ApproveVerifiableDomainPayload """ - The HTTP path for the user. + Archives a ProjectV2Item """ - userResourcePath: URI + archiveProjectV2Item( + """ + Parameters for ArchiveProjectV2Item + """ + input: ArchiveProjectV2ItemInput! + ): ArchiveProjectV2ItemPayload """ - The HTTP URL for the user. + Archive a pull request. Closes and marks the pull request as archived. Users + with the triage role or higher can archive pull requests. """ - userUrl: URI -} + archivePullRequest( + """ + Parameters for ArchivePullRequest + """ + input: ArchivePullRequestInput! + ): ArchivePullRequestPayload -""" -Audit log entry for a org.add_member -""" -type OrgAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Marks a repository as archived. """ - action: String! + archiveRepository( + """ + Parameters for ArchiveRepository + """ + input: ArchiveRepositoryInput! + ): ArchiveRepositoryPayload """ - The user who initiated the action + Cancels a pending invitation for an administrator to join an enterprise. """ - actor: AuditEntryActor + cancelEnterpriseAdminInvitation( + """ + Parameters for CancelEnterpriseAdminInvitation + """ + input: CancelEnterpriseAdminInvitationInput! + ): CancelEnterpriseAdminInvitationPayload """ - The IP address of the actor + Cancels a pending invitation for an unaffiliated member to join an enterprise. """ - actorIp: String + cancelEnterpriseMemberInvitation( + """ + Parameters for CancelEnterpriseMemberInvitation + """ + input: CancelEnterpriseMemberInvitationInput! + ): CancelEnterpriseMemberInvitationPayload """ - A readable representation of the actor's location + Cancel an active sponsorship. """ - actorLocation: ActorLocation + cancelSponsorship( + """ + Parameters for CancelSponsorship + """ + input: CancelSponsorshipInput! + ): CancelSponsorshipPayload """ - The username of the user who initiated the action + Update your status on GitHub. """ - actorLogin: String + changeUserStatus( + """ + Parameters for ChangeUserStatus + """ + input: ChangeUserStatusInput! + ): ChangeUserStatusPayload """ - The HTTP path for the actor. + Clears all labels from a labelable object. """ - actorResourcePath: URI - - """ - The HTTP URL for the actor. - """ - actorUrl: URI + clearLabelsFromLabelable( + """ + Parameters for ClearLabelsFromLabelable + """ + input: ClearLabelsFromLabelableInput! + ): ClearLabelsFromLabelablePayload """ - The time the action was initiated + This mutation clears the value of a field for an item in a Project. Currently + only text, number, date, assignees, labels, single-select, multi-select, + iteration and milestone fields are supported. """ - createdAt: PreciseDateTime! + clearProjectV2ItemFieldValue( + """ + Parameters for ClearProjectV2ItemFieldValue + """ + input: ClearProjectV2ItemFieldValueInput! + ): ClearProjectV2ItemFieldValuePayload """ - The Node ID of the OrgAddMemberAuditEntry object + Creates a new project by cloning configuration from an existing project. """ - id: ID! + cloneProject( + """ + Parameters for CloneProject + """ + input: CloneProjectInput! + ): CloneProjectPayload @deprecated(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.") """ - The corresponding operation type for the action + Create a new repository with the same files and directory structure as a template repository. """ - operationType: OperationType + cloneTemplateRepository( + """ + Parameters for CloneTemplateRepository + """ + input: CloneTemplateRepositoryInput! + ): CloneTemplateRepositoryPayload """ - The Organization associated with the Audit Entry. + Close a discussion. """ - organization: Organization + closeDiscussion( + """ + Parameters for CloseDiscussion + """ + input: CloseDiscussionInput! + ): CloseDiscussionPayload """ - The name of the Organization. + Close an issue. """ - organizationName: String + closeIssue( + """ + Parameters for CloseIssue + """ + input: CloseIssueInput! + ): CloseIssuePayload """ - The HTTP path for the organization + Close a pull request. """ - organizationResourcePath: URI + closePullRequest( + """ + Parameters for ClosePullRequest + """ + input: ClosePullRequestInput! + ): ClosePullRequestPayload """ - The HTTP URL for the organization + Convert a project note card to one associated with a newly created issue. """ - organizationUrl: URI + convertProjectCardNoteToIssue( + """ + Parameters for ConvertProjectCardNoteToIssue + """ + input: ConvertProjectCardNoteToIssueInput! + ): ConvertProjectCardNoteToIssuePayload @deprecated(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.") """ - The permission level of the member added to the organization. + Converts a projectV2 draft issue item to an issue. """ - permission: OrgAddMemberAuditEntryPermission + convertProjectV2DraftIssueItemToIssue( + """ + Parameters for ConvertProjectV2DraftIssueItemToIssue + """ + input: ConvertProjectV2DraftIssueItemToIssueInput! + ): ConvertProjectV2DraftIssueItemToIssuePayload """ - The user affected by the action + Converts a pull request to draft """ - user: User + convertPullRequestToDraft( + """ + Parameters for ConvertPullRequestToDraft + """ + input: ConvertPullRequestToDraftInput! + ): ConvertPullRequestToDraftPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Copy a project. """ - userLogin: String + copyProjectV2( + """ + Parameters for CopyProjectV2 + """ + input: CopyProjectV2Input! + ): CopyProjectV2Payload """ - The HTTP path for the user. + Invites a user to claim reattributable data """ - userResourcePath: URI + createAttributionInvitation( + """ + Parameters for CreateAttributionInvitation + """ + input: CreateAttributionInvitationInput! + ): CreateAttributionInvitationPayload """ - The HTTP URL for the user. + Create a new branch protection rule """ - userUrl: URI -} + createBranchProtectionRule( + """ + Parameters for CreateBranchProtectionRule + """ + input: CreateBranchProtectionRuleInput! + ): CreateBranchProtectionRulePayload -""" -The permissions available to members on an Organization. -""" -enum OrgAddMemberAuditEntryPermission { """ - Can read, clone, push, and add collaborators to repositories. + Create a check run. """ - ADMIN + createCheckRun( + """ + Parameters for CreateCheckRun + """ + input: CreateCheckRunInput! + ): CreateCheckRunPayload """ - Can read and clone repositories. + Create a check suite """ - READ -} + createCheckSuite( + """ + Parameters for CreateCheckSuite + """ + input: CreateCheckSuiteInput! + ): CreateCheckSuitePayload -""" -Audit log entry for a org.block_user -""" -type OrgBlockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name - """ - action: String! + Appends a commit to the given branch as the authenticated user. - """ - The user who initiated the action - """ - actor: AuditEntryActor + This mutation creates a commit whose parent is the HEAD of the provided + branch and also updates that branch to point to the new commit. + It can be thought of as similar to `git commit`. - """ - The IP address of the actor - """ - actorIp: String + ### Locating a Branch - """ - A readable representation of the actor's location - """ - actorLocation: ActorLocation + Commits are appended to a `branch` of type `Ref`. + This must refer to a git branch (i.e. the fully qualified path must + begin with `refs/heads/`, although including this prefix is optional. - """ - The username of the user who initiated the action - """ - actorLogin: String + Callers may specify the `branch` to commit to either by its global node + ID or by passing both of `repositoryNameWithOwner` and `refName`. For + more details see the documentation for `CommittableBranch`. - """ - The HTTP path for the actor. - """ - actorResourcePath: URI + ### Describing Changes - """ - The HTTP URL for the actor. - """ - actorUrl: URI + `fileChanges` are specified as a `FilesChanges` object describing + `FileAdditions` and `FileDeletions`. - """ - The blocked user. - """ - blockedUser: User + Please see the documentation for `FileChanges` for more information on + how to use this argument to describe any set of file changes. - """ - The username of the blocked user. - """ - blockedUserName: String + ### Authorship - """ - The HTTP path for the blocked user. - """ - blockedUserResourcePath: URI + Similar to the web commit interface, this mutation does not support + specifying the author or committer of the commit and will not add + support for this in the future. + A commit created by a successful execution of this mutation will be + authored by the owner of the credential which authenticates the API + request. The committer will be identical to that of commits authored + using the web interface. + + If you need full control over author and committer information, please + use the Git Database REST API instead. + + ### Commit Signing + + Commits made using this mutation are automatically signed by GitHub if + supported and will be marked as verified in the user interface. """ - The HTTP URL for the blocked user. - """ - blockedUserUrl: URI + createCommitOnBranch( + """ + Parameters for CreateCommitOnBranch + """ + input: CreateCommitOnBranchInput! + ): CreateCommitOnBranchPayload """ - The time the action was initiated + Creates a new deployment event. """ - createdAt: PreciseDateTime! + createDeployment( + """ + Parameters for CreateDeployment + """ + input: CreateDeploymentInput! + ): CreateDeploymentPayload """ - The Node ID of the OrgBlockUserAuditEntry object + Create a deployment status. """ - id: ID! + createDeploymentStatus( + """ + Parameters for CreateDeploymentStatus + """ + input: CreateDeploymentStatusInput! + ): CreateDeploymentStatusPayload """ - The corresponding operation type for the action + Create a discussion. """ - operationType: OperationType + createDiscussion( + """ + Parameters for CreateDiscussion + """ + input: CreateDiscussionInput! + ): CreateDiscussionPayload """ - The Organization associated with the Audit Entry. + Creates an organization as part of an enterprise account. User-authenticated + requests make the viewer an owner. Users listed in `adminLogins` are invited + as owners unless owner invitations are disabled, in which case they are added + directly. Installation requests also add existing enterprise members directly. + Invitation failures do not roll back organization creation. A personal access + token used to create an organization is implicitly permitted to update the + organization it created, if the organization is part of an enterprise that has + SAML enabled or uses Enterprise Managed Users. If the organization is not part + of such an enterprise, and instead has SAML enabled for it individually, the + token will then require SAML authorization to continue working against that organization. """ - organization: Organization + createEnterpriseOrganization( + """ + Parameters for CreateEnterpriseOrganization + """ + input: CreateEnterpriseOrganizationInput! + ): CreateEnterpriseOrganizationPayload """ - The name of the Organization. + Creates an environment or simply returns it if already exists. """ - organizationName: String + createEnvironment( + """ + Parameters for CreateEnvironment + """ + input: CreateEnvironmentInput! + ): CreateEnvironmentPayload """ - The HTTP path for the organization + Creates a new IP allow list entry. """ - organizationResourcePath: URI + createIpAllowListEntry( + """ + Parameters for CreateIpAllowListEntry + """ + input: CreateIpAllowListEntryInput! + ): CreateIpAllowListEntryPayload """ - The HTTP URL for the organization + Creates a new issue. """ - organizationUrl: URI + createIssue( + """ + Parameters for CreateIssue + """ + input: CreateIssueInput! + ): CreateIssuePayload """ - The user affected by the action + Creates a new issue field. """ - user: User + createIssueField( + """ + Parameters for CreateIssueField + """ + input: CreateIssueFieldInput! + ): CreateIssueFieldPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Creates a new issue field value for an issue. """ - userLogin: String + createIssueFieldValue( + """ + Parameters for CreateIssueFieldValue + """ + input: CreateIssueFieldValueInput! + ): CreateIssueFieldValuePayload """ - The HTTP path for the user. + Creates a new issue type """ - userResourcePath: URI + createIssueType( + """ + Parameters for CreateIssueType + """ + input: CreateIssueTypeInput! + ): CreateIssueTypePayload """ - The HTTP URL for the user. + Creates a new label. """ - userUrl: URI -} + createLabel( + """ + Parameters for CreateLabel + """ + input: CreateLabelInput! + ): CreateLabelPayload -""" -Audit log entry for a org.config.disable_collaborators_only event. -""" -type OrgConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Create a branch linked to an issue. """ - action: String! + createLinkedBranch( + """ + Parameters for CreateLinkedBranch + """ + input: CreateLinkedBranchInput! + ): CreateLinkedBranchPayload """ - The user who initiated the action + Creates a GitHub Enterprise Importer (GEI) migration source. """ - actor: AuditEntryActor + createMigrationSource( + """ + Parameters for CreateMigrationSource + """ + input: CreateMigrationSourceInput! + ): CreateMigrationSourcePayload """ - The IP address of the actor + Creates a new project. """ - actorIp: String + createProject( + """ + Parameters for CreateProject + """ + input: CreateProjectInput! + ): CreateProjectPayload @deprecated(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.") """ - A readable representation of the actor's location + Creates a new project. """ - actorLocation: ActorLocation + createProjectV2( + """ + Parameters for CreateProjectV2 + """ + input: CreateProjectV2Input! + ): CreateProjectV2Payload """ - The username of the user who initiated the action + Create a new project field. """ - actorLogin: String + createProjectV2Field( + """ + Parameters for CreateProjectV2Field + """ + input: CreateProjectV2FieldInput! + ): CreateProjectV2FieldPayload """ - The HTTP path for the actor. + Create a new project issue field. """ - actorResourcePath: URI + createProjectV2IssueField( + """ + Parameters for CreateProjectV2IssueField + """ + input: CreateProjectV2IssueFieldInput! + ): CreateProjectV2IssueFieldPayload """ - The HTTP URL for the actor. + Creates a status update within a Project. """ - actorUrl: URI + createProjectV2StatusUpdate( + """ + Parameters for CreateProjectV2StatusUpdate + """ + input: CreateProjectV2StatusUpdateInput! + ): CreateProjectV2StatusUpdatePayload """ - The time the action was initiated + Creates a new view in a project. """ - createdAt: PreciseDateTime! + createProjectV2View( + """ + Parameters for CreateProjectV2View + """ + input: CreateProjectV2ViewInput! + ): CreateProjectV2ViewPayload """ - The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object + Create a new pull request """ - id: ID! + createPullRequest( + """ + Parameters for CreatePullRequest + """ + input: CreatePullRequestInput! + ): CreatePullRequestPayload """ - The corresponding operation type for the action + Create a new Git Ref. """ - operationType: OperationType + createRef( + """ + Parameters for CreateRef + """ + input: CreateRefInput! + ): CreateRefPayload """ - The Organization associated with the Audit Entry. + Create a new repository. """ - organization: Organization + createRepository( + """ + Parameters for CreateRepository + """ + input: CreateRepositoryInput! + ): CreateRepositoryPayload """ - The name of the Organization. + Create a repository custom property. """ - organizationName: String + createRepositoryCustomProperty( + """ + Parameters for CreateRepositoryCustomProperty + """ + input: CreateRepositoryCustomPropertyInput! + ): CreateRepositoryCustomPropertyPayload """ - The HTTP path for the organization + Create a repository ruleset """ - organizationResourcePath: URI + createRepositoryRuleset( + """ + Parameters for CreateRepositoryRuleset + """ + input: CreateRepositoryRulesetInput! + ): CreateRepositoryRulesetPayload """ - The HTTP URL for the organization + Create a GitHub Sponsors profile to allow others to sponsor you or your organization. """ - organizationUrl: URI + createSponsorsListing( + """ + Parameters for CreateSponsorsListing + """ + input: CreateSponsorsListingInput! + ): CreateSponsorsListingPayload """ - The user affected by the action + Create a new payment tier for your GitHub Sponsors profile. """ - user: User + createSponsorsTier( + """ + Parameters for CreateSponsorsTier + """ + input: CreateSponsorsTierInput! + ): CreateSponsorsTierPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship. """ - userLogin: String + createSponsorship( + """ + Parameters for CreateSponsorship + """ + input: CreateSponsorshipInput! + ): CreateSponsorshipPayload """ - The HTTP path for the user. + Make many sponsorships for different sponsorable users or organizations at + once. Can only sponsor those who have a public GitHub Sponsors profile. """ - userResourcePath: URI + createSponsorships( + """ + Parameters for CreateSponsorships + """ + input: CreateSponsorshipsInput! + ): CreateSponsorshipsPayload """ - The HTTP URL for the user. + Creates a new user list. """ - userUrl: URI -} + createUserList( + """ + Parameters for CreateUserList + """ + input: CreateUserListInput! + ): CreateUserListPayload -""" -Audit log entry for a org.config.enable_collaborators_only event. -""" -type OrgConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Rejects a suggested topic for the repository. """ - action: String! + declineTopicSuggestion( + """ + Parameters for DeclineTopicSuggestion + """ + input: DeclineTopicSuggestionInput! + ): DeclineTopicSuggestionPayload """ - The user who initiated the action + Delete a branch protection rule """ - actor: AuditEntryActor + deleteBranchProtectionRule( + """ + Parameters for DeleteBranchProtectionRule + """ + input: DeleteBranchProtectionRuleInput! + ): DeleteBranchProtectionRulePayload """ - The IP address of the actor + Deletes a deployment. """ - actorIp: String + deleteDeployment( + """ + Parameters for DeleteDeployment + """ + input: DeleteDeploymentInput! + ): DeleteDeploymentPayload """ - A readable representation of the actor's location + Delete a discussion and all of its replies. """ - actorLocation: ActorLocation + deleteDiscussion( + """ + Parameters for DeleteDiscussion + """ + input: DeleteDiscussionInput! + ): DeleteDiscussionPayload """ - The username of the user who initiated the action + Delete a discussion comment. If it has replies, wipe it instead. """ - actorLogin: String + deleteDiscussionComment( + """ + Parameters for DeleteDiscussionComment + """ + input: DeleteDiscussionCommentInput! + ): DeleteDiscussionCommentPayload """ - The HTTP path for the actor. + Deletes an environment """ - actorResourcePath: URI + deleteEnvironment( + """ + Parameters for DeleteEnvironment + """ + input: DeleteEnvironmentInput! + ): DeleteEnvironmentPayload """ - The HTTP URL for the actor. + Deletes an IP allow list entry. """ - actorUrl: URI + deleteIpAllowListEntry( + """ + Parameters for DeleteIpAllowListEntry + """ + input: DeleteIpAllowListEntryInput! + ): DeleteIpAllowListEntryPayload """ - The time the action was initiated + Deletes an Issue object. """ - createdAt: PreciseDateTime! + deleteIssue( + """ + Parameters for DeleteIssue + """ + input: DeleteIssueInput! + ): DeleteIssuePayload """ - The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object + Deletes an IssueComment object. """ - id: ID! + deleteIssueComment( + """ + Parameters for DeleteIssueComment + """ + input: DeleteIssueCommentInput! + ): DeleteIssueCommentPayload """ - The corresponding operation type for the action + Deletes an issue field. """ - operationType: OperationType + deleteIssueField( + """ + Parameters for DeleteIssueField + """ + input: DeleteIssueFieldInput! + ): DeleteIssueFieldPayload """ - The Organization associated with the Audit Entry. + Deletes an issue field value from an issue. """ - organization: Organization + deleteIssueFieldValue( + """ + Parameters for DeleteIssueFieldValue + """ + input: DeleteIssueFieldValueInput! + ): DeleteIssueFieldValuePayload """ - The name of the Organization. + Delete an issue type """ - organizationName: String + deleteIssueType( + """ + Parameters for DeleteIssueType + """ + input: DeleteIssueTypeInput! + ): DeleteIssueTypePayload """ - The HTTP path for the organization + Deletes a label. """ - organizationResourcePath: URI + deleteLabel( + """ + Parameters for DeleteLabel + """ + input: DeleteLabelInput! + ): DeleteLabelPayload """ - The HTTP URL for the organization + Unlink a branch from an issue. """ - organizationUrl: URI + deleteLinkedBranch( + """ + Parameters for DeleteLinkedBranch + """ + input: DeleteLinkedBranchInput! + ): DeleteLinkedBranchPayload """ - The user affected by the action + Delete a package version. """ - user: User + deletePackageVersion( + """ + Parameters for DeletePackageVersion + """ + input: DeletePackageVersionInput! + ): DeletePackageVersionPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Deletes a project. """ - userLogin: String + deleteProject( + """ + Parameters for DeleteProject + """ + input: DeleteProjectInput! + ): DeleteProjectPayload @deprecated(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.") """ - The HTTP path for the user. + Deletes a project card. """ - userResourcePath: URI + deleteProjectCard( + """ + Parameters for DeleteProjectCard + """ + input: DeleteProjectCardInput! + ): DeleteProjectCardPayload @deprecated(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.") """ - The HTTP URL for the user. + Deletes a project column. """ - userUrl: URI -} + deleteProjectColumn( + """ + Parameters for DeleteProjectColumn + """ + input: DeleteProjectColumnInput! + ): DeleteProjectColumnPayload @deprecated(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.") -""" -Audit log entry for a org.create event. -""" -type OrgCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Delete a project. """ - action: String! + deleteProjectV2( + """ + Parameters for DeleteProjectV2 + """ + input: DeleteProjectV2Input! + ): DeleteProjectV2Payload """ - The user who initiated the action + Delete a project field. """ - actor: AuditEntryActor + deleteProjectV2Field( + """ + Parameters for DeleteProjectV2Field + """ + input: DeleteProjectV2FieldInput! + ): DeleteProjectV2FieldPayload """ - The IP address of the actor + Deletes an item from a Project. """ - actorIp: String + deleteProjectV2Item( + """ + Parameters for DeleteProjectV2Item + """ + input: DeleteProjectV2ItemInput! + ): DeleteProjectV2ItemPayload """ - A readable representation of the actor's location + Deletes a project status update. """ - actorLocation: ActorLocation + deleteProjectV2StatusUpdate( + """ + Parameters for DeleteProjectV2StatusUpdate + """ + input: DeleteProjectV2StatusUpdateInput! + ): DeleteProjectV2StatusUpdatePayload """ - The username of the user who initiated the action + Deletes a view from a project. """ - actorLogin: String + deleteProjectV2View( + """ + Parameters for DeleteProjectV2View + """ + input: DeleteProjectV2ViewInput! + ): DeleteProjectV2ViewPayload """ - The HTTP path for the actor. + Deletes a project workflow. """ - actorResourcePath: URI + deleteProjectV2Workflow( + """ + Parameters for DeleteProjectV2Workflow + """ + input: DeleteProjectV2WorkflowInput! + ): DeleteProjectV2WorkflowPayload """ - The HTTP URL for the actor. + Deletes a pull request review. """ - actorUrl: URI + deletePullRequestReview( + """ + Parameters for DeletePullRequestReview + """ + input: DeletePullRequestReviewInput! + ): DeletePullRequestReviewPayload """ - The billing plan for the Organization. + Deletes a pull request review comment. """ - billingPlan: OrgCreateAuditEntryBillingPlan + deletePullRequestReviewComment( + """ + Parameters for DeletePullRequestReviewComment + """ + input: DeletePullRequestReviewCommentInput! + ): DeletePullRequestReviewCommentPayload """ - The time the action was initiated + Delete a Git Ref. """ - createdAt: PreciseDateTime! + deleteRef( + """ + Parameters for DeleteRef + """ + input: DeleteRefInput! + ): DeleteRefPayload """ - The Node ID of the OrgCreateAuditEntry object + Delete a repository custom property. """ - id: ID! + deleteRepositoryCustomProperty( + """ + Parameters for DeleteRepositoryCustomProperty + """ + input: DeleteRepositoryCustomPropertyInput! + ): DeleteRepositoryCustomPropertyPayload """ - The corresponding operation type for the action + Delete a repository ruleset """ - operationType: OperationType + deleteRepositoryRuleset( + """ + Parameters for DeleteRepositoryRuleset + """ + input: DeleteRepositoryRulesetInput! + ): DeleteRepositoryRulesetPayload """ - The Organization associated with the Audit Entry. + Deletes a user list. """ - organization: Organization + deleteUserList( + """ + Parameters for DeleteUserList + """ + input: DeleteUserListInput! + ): DeleteUserListPayload """ - The name of the Organization. + Deletes a verifiable domain. """ - organizationName: String + deleteVerifiableDomain( + """ + Parameters for DeleteVerifiableDomain + """ + input: DeleteVerifiableDomainInput! + ): DeleteVerifiableDomainPayload """ - The HTTP path for the organization + Remove a pull request from the merge queue. """ - organizationResourcePath: URI + dequeuePullRequest( + """ + Parameters for DequeuePullRequest + """ + input: DequeuePullRequestInput! + ): DequeuePullRequestPayload """ - The HTTP URL for the organization + Disable auto merge on the given pull request """ - organizationUrl: URI + disablePullRequestAutoMerge( + """ + Parameters for DisablePullRequestAutoMerge + """ + input: DisablePullRequestAutoMergeInput! + ): DisablePullRequestAutoMergePayload """ - The user affected by the action + Dismisses an approved or rejected pull request review. """ - user: User + dismissPullRequestReview( + """ + Parameters for DismissPullRequestReview + """ + input: DismissPullRequestReviewInput! + ): DismissPullRequestReviewPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Dismisses the Dependabot alert. """ - userLogin: String + dismissRepositoryVulnerabilityAlert( + """ + Parameters for DismissRepositoryVulnerabilityAlert + """ + input: DismissRepositoryVulnerabilityAlertInput! + ): DismissRepositoryVulnerabilityAlertPayload """ - The HTTP path for the user. + Enable the default auto-merge on a pull request. """ - userResourcePath: URI + enablePullRequestAutoMerge( + """ + Parameters for EnablePullRequestAutoMerge + """ + input: EnablePullRequestAutoMergeInput! + ): EnablePullRequestAutoMergePayload """ - The HTTP URL for the user. + Add a pull request to the merge queue. """ - userUrl: URI -} + enqueuePullRequest( + """ + Parameters for EnqueuePullRequest + """ + input: EnqueuePullRequestInput! + ): EnqueuePullRequestPayload -""" -The billing plans available for organizations. -""" -enum OrgCreateAuditEntryBillingPlan { """ - Team Plan + Follow an organization. """ - BUSINESS + followOrganization( + """ + Parameters for FollowOrganization + """ + input: FollowOrganizationInput! + ): FollowOrganizationPayload """ - Enterprise Cloud Plan + Follow a user. """ - BUSINESS_PLUS + followUser( + """ + Parameters for FollowUser + """ + input: FollowUserInput! + ): FollowUserPayload """ - Free Plan + Grant the migrator role to a user for all organizations under an enterprise account. """ - FREE + grantEnterpriseOrganizationsMigratorRole( + """ + Parameters for GrantEnterpriseOrganizationsMigratorRole + """ + input: GrantEnterpriseOrganizationsMigratorRoleInput! + ): GrantEnterpriseOrganizationsMigratorRolePayload """ - Tiered Per Seat Plan + Grant the migrator role to a user or a team. """ - TIERED_PER_SEAT + grantMigratorRole( + """ + Parameters for GrantMigratorRole + """ + input: GrantMigratorRoleInput! + ): GrantMigratorRolePayload """ - Legacy Unlimited Plan + Creates a new project by importing columns and a list of issues/PRs. """ - UNLIMITED -} + importProject( + """ + Parameters for ImportProject + """ + input: ImportProjectInput! + ): ImportProjectPayload @deprecated(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.") -""" -Audit log entry for a org.disable_oauth_app_restrictions event. -""" -type OrgDisableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Invite someone to become an administrator of the enterprise. """ - action: String! + inviteEnterpriseAdmin( + """ + Parameters for InviteEnterpriseAdmin + """ + input: InviteEnterpriseAdminInput! + ): InviteEnterpriseAdminPayload """ - The user who initiated the action + Invite someone to become an unaffiliated member of the enterprise. """ - actor: AuditEntryActor + inviteEnterpriseMember( + """ + Parameters for InviteEnterpriseMember + """ + input: InviteEnterpriseMemberInput! + ): InviteEnterpriseMemberPayload """ - The IP address of the actor + Links a project to a repository. """ - actorIp: String + linkProjectV2ToRepository( + """ + Parameters for LinkProjectV2ToRepository + """ + input: LinkProjectV2ToRepositoryInput! + ): LinkProjectV2ToRepositoryPayload """ - A readable representation of the actor's location + Links a project to a team. """ - actorLocation: ActorLocation + linkProjectV2ToTeam( + """ + Parameters for LinkProjectV2ToTeam + """ + input: LinkProjectV2ToTeamInput! + ): LinkProjectV2ToTeamPayload """ - The username of the user who initiated the action + Creates a repository link for a project. """ - actorLogin: String + linkRepositoryToProject( + """ + Parameters for LinkRepositoryToProject + """ + input: LinkRepositoryToProjectInput! + ): LinkRepositoryToProjectPayload @deprecated(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.") """ - The HTTP path for the actor. + Lock a lockable object """ - actorResourcePath: URI + lockLockable( + """ + Parameters for LockLockable + """ + input: LockLockableInput! + ): LockLockablePayload """ - The HTTP URL for the actor. + Mark a discussion comment as the chosen answer for discussions in an answerable category. """ - actorUrl: URI + markDiscussionCommentAsAnswer( + """ + Parameters for MarkDiscussionCommentAsAnswer + """ + input: MarkDiscussionCommentAsAnswerInput! + ): MarkDiscussionCommentAsAnswerPayload """ - The time the action was initiated + Mark a pull request file as viewed """ - createdAt: PreciseDateTime! + markFileAsViewed( + """ + Parameters for MarkFileAsViewed + """ + input: MarkFileAsViewedInput! + ): MarkFileAsViewedPayload """ - The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object + Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template. """ - id: ID! + markProjectV2AsTemplate( + """ + Parameters for MarkProjectV2AsTemplate + """ + input: MarkProjectV2AsTemplateInput! + ): MarkProjectV2AsTemplatePayload """ - The corresponding operation type for the action + Marks a pull request ready for review. """ - operationType: OperationType + markPullRequestReadyForReview( + """ + Parameters for MarkPullRequestReadyForReview + """ + input: MarkPullRequestReadyForReviewInput! + ): MarkPullRequestReadyForReviewPayload """ - The Organization associated with the Audit Entry. + Merge a head into a branch. """ - organization: Organization + mergeBranch( + """ + Parameters for MergeBranch + """ + input: MergeBranchInput! + ): MergeBranchPayload """ - The name of the Organization. + Merge a pull request. + + > [!NOTE] + > We recommend using the [asynchronous merge REST + API](${externalDocsUrl}/rest/pulls/pulls#merge-a-pull-request-asynchronously) instead. + > This mutation does not support stacked pull requests. """ - organizationName: String + mergePullRequest( + """ + Parameters for MergePullRequest + """ + input: MergePullRequestInput! + ): MergePullRequestPayload """ - The HTTP path for the organization + Minimizes a comment on an Issue, Commit, Pull Request, or Gist """ - organizationResourcePath: URI + minimizeComment( + """ + Parameters for MinimizeComment + """ + input: MinimizeCommentInput! + ): MinimizeCommentPayload """ - The HTTP URL for the organization + Moves a project card to another place. """ - organizationUrl: URI + moveProjectCard( + """ + Parameters for MoveProjectCard + """ + input: MoveProjectCardInput! + ): MoveProjectCardPayload @deprecated(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.") """ - The user affected by the action + Moves a project column to another place. """ - user: User + moveProjectColumn( + """ + Parameters for MoveProjectColumn + """ + input: MoveProjectColumnInput! + ): MoveProjectColumnPayload @deprecated(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.") """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Pin an environment to a repository """ - userLogin: String + pinEnvironment( + """ + Parameters for PinEnvironment + """ + input: PinEnvironmentInput! + ): PinEnvironmentPayload """ - The HTTP path for the user. + Pin an issue to a repository """ - userResourcePath: URI + pinIssue( + """ + Parameters for PinIssue + """ + input: PinIssueInput! + ): PinIssuePayload """ - The HTTP URL for the user. + Pins an Issue Comment. """ - userUrl: URI -} + pinIssueComment( + """ + Parameters for PinIssueComment + """ + input: PinIssueCommentInput! + ): PinIssueCommentPayload -""" -Audit log entry for a org.disable_saml event. -""" -type OrgDisableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Promote a repository custom property to the enterprise level. """ - action: String! + promoteRepositoryCustomProperty( + """ + Parameters for PromoteRepositoryCustomProperty + """ + input: PromoteRepositoryCustomPropertyInput! + ): PromoteRepositoryCustomPropertyPayload """ - The user who initiated the action + Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile. """ - actor: AuditEntryActor + publishSponsorsTier( + """ + Parameters for PublishSponsorsTier + """ + input: PublishSponsorsTierInput! + ): PublishSponsorsTierPayload """ - The IP address of the actor + Regenerates the identity provider recovery codes for an enterprise """ - actorIp: String + regenerateEnterpriseIdentityProviderRecoveryCodes( + """ + Parameters for RegenerateEnterpriseIdentityProviderRecoveryCodes + """ + input: RegenerateEnterpriseIdentityProviderRecoveryCodesInput! + ): RegenerateEnterpriseIdentityProviderRecoveryCodesPayload """ - A readable representation of the actor's location + Regenerates a verifiable domain's verification token. """ - actorLocation: ActorLocation + regenerateVerifiableDomainToken( + """ + Parameters for RegenerateVerifiableDomainToken + """ + input: RegenerateVerifiableDomainTokenInput! + ): RegenerateVerifiableDomainTokenPayload """ - The username of the user who initiated the action + Reject all pending deployments under one or more environments """ - actorLogin: String + rejectDeployments( + """ + Parameters for RejectDeployments + """ + input: RejectDeploymentsInput! + ): RejectDeploymentsPayload """ - The HTTP path for the actor. + Rejects a batch of pending issue suggestions on an issue atomically. """ - actorResourcePath: URI + rejectPendingIssueSuggestions( + """ + Parameters for RejectPendingIssueSuggestions + """ + input: RejectPendingIssueSuggestionsInput! + ): RejectPendingIssueSuggestionsPayload """ - The HTTP URL for the actor. + Removes assignees from an assignable object. """ - actorUrl: URI + removeAssigneesFromAssignable( + """ + Parameters for RemoveAssigneesFromAssignable + """ + input: RemoveAssigneesFromAssignableInput! + ): RemoveAssigneesFromAssignablePayload """ - The time the action was initiated + Removes a 'blocked by' relationship from an issue. """ - createdAt: PreciseDateTime! + removeBlockedBy( + """ + Parameters for RemoveBlockedBy + """ + input: RemoveBlockedByInput! + ): RemoveBlockedByPayload """ - The SAML provider's digest algorithm URL. + Removes one or more manually linked pull requests from an issue. Auto-detected + closing references from pull request body keywords are not removed; edit the + pull request body instead. """ - digestMethodUrl: URI + removeCloseIssueReferences( + """ + Parameters for RemoveCloseIssueReferences + """ + input: RemoveCloseIssueReferencesInput! + ): RemoveCloseIssueReferencesPayload """ - The Node ID of the OrgDisableSamlAuditEntry object + Removes an administrator from the enterprise. """ - id: ID! + removeEnterpriseAdmin( + """ + Parameters for RemoveEnterpriseAdmin + """ + input: RemoveEnterpriseAdminInput! + ): RemoveEnterpriseAdminPayload """ - The SAML provider's issuer URL. + Removes the identity provider from an enterprise. Owners of enterprises both + with and without Enterprise Managed Users may use this mutation. """ - issuerUrl: URI + removeEnterpriseIdentityProvider( + """ + Parameters for RemoveEnterpriseIdentityProvider + """ + input: RemoveEnterpriseIdentityProviderInput! + ): RemoveEnterpriseIdentityProviderPayload """ - The corresponding operation type for the action + Completely removes a user from the enterprise asynchronously. """ - operationType: OperationType + removeEnterpriseMember( + """ + Parameters for RemoveEnterpriseMember + """ + input: RemoveEnterpriseMemberInput! + ): RemoveEnterpriseMemberPayload """ - The Organization associated with the Audit Entry. + Removes an organization from the enterprise """ - organization: Organization + removeEnterpriseOrganization( + """ + Parameters for RemoveEnterpriseOrganization + """ + input: RemoveEnterpriseOrganizationInput! + ): RemoveEnterpriseOrganizationPayload """ - The name of the Organization. + Removes a support entitlement from an enterprise member. """ - organizationName: String + removeEnterpriseSupportEntitlement( + """ + Parameters for RemoveEnterpriseSupportEntitlement + """ + input: RemoveEnterpriseSupportEntitlementInput! + ): RemoveEnterpriseSupportEntitlementPayload """ - The HTTP path for the organization + Removes labels from a Labelable object. """ - organizationResourcePath: URI + removeLabelsFromLabelable( + """ + Parameters for RemoveLabelsFromLabelable + """ + input: RemoveLabelsFromLabelableInput! + ): RemoveLabelsFromLabelablePayload """ - The HTTP URL for the organization + Removes outside collaborator from all repositories in an organization. """ - organizationUrl: URI + removeOutsideCollaborator( + """ + Parameters for RemoveOutsideCollaborator + """ + input: RemoveOutsideCollaboratorInput! + ): RemoveOutsideCollaboratorPayload """ - The SAML provider's signature algorithm URL. + Remove users from the pull request creation cap bypass list. Only users with + maintainer permissions can manage the bypass list. """ - signatureMethodUrl: URI + removePullRequestCreationCapBypassUsers( + """ + Parameters for RemovePullRequestCreationCapBypassUsers + """ + input: RemovePullRequestCreationCapBypassUsersInput! + ): RemovePullRequestCreationCapBypassUsersPayload """ - The SAML provider's single sign-on URL. + Removes a reaction from a subject. """ - singleSignOnUrl: URI + removeReaction( + """ + Parameters for RemoveReaction + """ + input: RemoveReactionInput! + ): RemoveReactionPayload """ - The user affected by the action + Removes a 'relates to' relationship between two issues. """ - user: User + removeRelatesTo( + """ + Parameters for RemoveRelatesTo + """ + input: RemoveRelatesToInput! + ): RemoveRelatesToPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Removes a star from a Starrable. """ - userLogin: String + removeStar( + """ + Parameters for RemoveStar + """ + input: RemoveStarInput! + ): RemoveStarPayload """ - The HTTP path for the user. + Removes a sub-issue from a given issue """ - userResourcePath: URI + removeSubIssue( + """ + Parameters for RemoveSubIssue + """ + input: RemoveSubIssueInput! + ): RemoveSubIssuePayload """ - The HTTP URL for the user. + Remove an upvote to a discussion or discussion comment. """ - userUrl: URI -} + removeUpvote( + """ + Parameters for RemoveUpvote + """ + input: RemoveUpvoteInput! + ): RemoveUpvotePayload -""" -Audit log entry for a org.disable_two_factor_requirement event. -""" -type OrgDisableTwoFactorRequirementAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Reopen a discussion. """ - action: String! + reopenDiscussion( + """ + Parameters for ReopenDiscussion + """ + input: ReopenDiscussionInput! + ): ReopenDiscussionPayload """ - The user who initiated the action + Reopen a issue. """ - actor: AuditEntryActor + reopenIssue( + """ + Parameters for ReopenIssue + """ + input: ReopenIssueInput! + ): ReopenIssuePayload """ - The IP address of the actor + Reopen a pull request. """ - actorIp: String + reopenPullRequest( + """ + Parameters for ReopenPullRequest + """ + input: ReopenPullRequestInput! + ): ReopenPullRequestPayload """ - A readable representation of the actor's location + Reorder a pinned repository environment """ - actorLocation: ActorLocation + reorderEnvironment( + """ + Parameters for ReorderEnvironment + """ + input: ReorderEnvironmentInput! + ): ReorderEnvironmentPayload """ - The username of the user who initiated the action + Replaces all actors for assignable object. """ - actorLogin: String + replaceActorsForAssignable( + """ + Parameters for ReplaceActorsForAssignable + """ + input: ReplaceActorsForAssignableInput! + ): ReplaceActorsForAssignablePayload """ - The HTTP path for the actor. + Reprioritizes a sub-issue to a different position in the parent list. """ - actorResourcePath: URI + reprioritizeSubIssue( + """ + Parameters for ReprioritizeSubIssue + """ + input: ReprioritizeSubIssueInput! + ): ReprioritizeSubIssuePayload """ - The HTTP URL for the actor. + Set review requests on a pull request. """ - actorUrl: URI + requestReviews( + """ + Parameters for RequestReviews + """ + input: RequestReviewsInput! + ): RequestReviewsPayload """ - The time the action was initiated + Set review requests on a pull request using login strings instead of IDs. """ - createdAt: PreciseDateTime! + requestReviewsByLogin( + """ + Parameters for RequestReviewsByLogin + """ + input: RequestReviewsByLoginInput! + ): RequestReviewsByLoginPayload """ - The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object + Rerequests an existing check suite. """ - id: ID! + rerequestCheckSuite( + """ + Parameters for RerequestCheckSuite + """ + input: RerequestCheckSuiteInput! + ): RerequestCheckSuitePayload """ - The corresponding operation type for the action + Rerequest reviews on a pull request. """ - operationType: OperationType + rerequestReviews( + """ + Parameters for RerequestReviews + """ + input: RerequestReviewsInput! + ): RerequestReviewsPayload """ - The Organization associated with the Audit Entry. + Marks a review thread as resolved. """ - organization: Organization + resolveReviewThread( + """ + Parameters for ResolveReviewThread + """ + input: ResolveReviewThreadInput! + ): ResolveReviewThreadPayload """ - The name of the Organization. + Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships. """ - organizationName: String + retireSponsorsTier( + """ + Parameters for RetireSponsorsTier + """ + input: RetireSponsorsTierInput! + ): RetireSponsorsTierPayload """ - The HTTP path for the organization + Create a pull request that reverts the changes from a merged pull request. """ - organizationResourcePath: URI + revertPullRequest( + """ + Parameters for RevertPullRequest + """ + input: RevertPullRequestInput! + ): RevertPullRequestPayload """ - The HTTP URL for the organization + Revoke the migrator role to a user for all organizations under an enterprise account. """ - organizationUrl: URI + revokeEnterpriseOrganizationsMigratorRole( + """ + Parameters for RevokeEnterpriseOrganizationsMigratorRole + """ + input: RevokeEnterpriseOrganizationsMigratorRoleInput! + ): RevokeEnterpriseOrganizationsMigratorRolePayload """ - The user affected by the action + Revoke the migrator role from a user or a team. """ - user: User + revokeMigratorRole( + """ + Parameters for RevokeMigratorRole + """ + input: RevokeMigratorRoleInput! + ): RevokeMigratorRolePayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Creates or updates the identity provider for an enterprise. """ - userLogin: String + setEnterpriseIdentityProvider( + """ + Parameters for SetEnterpriseIdentityProvider + """ + input: SetEnterpriseIdentityProviderInput! + ): SetEnterpriseIdentityProviderPayload """ - The HTTP path for the user. + Sets the value of an IssueFieldValue. """ - userResourcePath: URI + setIssueFieldValue( + """ + Parameters for SetIssueFieldValue + """ + input: SetIssueFieldValueInput! + ): SetIssueFieldValuePayload """ - The HTTP URL for the user. + Set an organization level interaction limit for an organization's public repositories. """ - userUrl: URI -} + setOrganizationInteractionLimit( + """ + Parameters for SetOrganizationInteractionLimit + """ + input: SetOrganizationInteractionLimitInput! + ): SetOrganizationInteractionLimitPayload -""" -Audit log entry for a org.enable_oauth_app_restrictions event. -""" -type OrgEnableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Set repository custom property values for a repository. """ - action: String! + setRepositoryCustomPropertyValues( + """ + Parameters for SetRepositoryCustomPropertyValues + """ + input: SetRepositoryCustomPropertyValuesInput! + ): SetRepositoryCustomPropertyValuesPayload """ - The user who initiated the action + Sets an interaction limit setting for a repository. """ - actor: AuditEntryActor + setRepositoryInteractionLimit( + """ + Parameters for SetRepositoryInteractionLimit + """ + input: SetRepositoryInteractionLimitInput! + ): SetRepositoryInteractionLimitPayload """ - The IP address of the actor + Set a user level interaction limit for an user's public repositories. """ - actorIp: String + setUserInteractionLimit( + """ + Parameters for SetUserInteractionLimit + """ + input: SetUserInteractionLimitInput! + ): SetUserInteractionLimitPayload """ - A readable representation of the actor's location + Starts a GitHub Enterprise Importer organization migration. """ - actorLocation: ActorLocation + startOrganizationMigration( + """ + Parameters for StartOrganizationMigration + """ + input: StartOrganizationMigrationInput! + ): StartOrganizationMigrationPayload """ - The username of the user who initiated the action + Starts a GitHub Enterprise Importer (GEI) repository migration. """ - actorLogin: String + startRepositoryMigration( + """ + Parameters for StartRepositoryMigration + """ + input: StartRepositoryMigrationInput! + ): StartRepositoryMigrationPayload """ - The HTTP path for the actor. + Submits a pending pull request review. """ - actorResourcePath: URI + submitPullRequestReview( + """ + Parameters for SubmitPullRequestReview + """ + input: SubmitPullRequestReviewInput! + ): SubmitPullRequestReviewPayload """ - The HTTP URL for the actor. + Transfer an organization from one enterprise to another enterprise. """ - actorUrl: URI + transferEnterpriseOrganization( + """ + Parameters for TransferEnterpriseOrganization + """ + input: TransferEnterpriseOrganizationInput! + ): TransferEnterpriseOrganizationPayload """ - The time the action was initiated + Transfer an issue to a different repository """ - createdAt: PreciseDateTime! + transferIssue( + """ + Parameters for TransferIssue + """ + input: TransferIssueInput! + ): TransferIssuePayload """ - The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object + Unarchives a ProjectV2Item """ - id: ID! + unarchiveProjectV2Item( + """ + Parameters for UnarchiveProjectV2Item + """ + input: UnarchiveProjectV2ItemInput! + ): UnarchiveProjectV2ItemPayload """ - The corresponding operation type for the action + Unarchive a pull request. Removes the archived flag from the pull request. + Does not automatically reopen or unlock the pull request. Users with the + triage role or higher can unarchive pull requests. """ - operationType: OperationType + unarchivePullRequest( + """ + Parameters for UnarchivePullRequest + """ + input: UnarchivePullRequestInput! + ): UnarchivePullRequestPayload """ - The Organization associated with the Audit Entry. + Unarchives a repository. """ - organization: Organization + unarchiveRepository( + """ + Parameters for UnarchiveRepository + """ + input: UnarchiveRepositoryInput! + ): UnarchiveRepositoryPayload """ - The name of the Organization. + Unfollow an organization. """ - organizationName: String + unfollowOrganization( + """ + Parameters for UnfollowOrganization + """ + input: UnfollowOrganizationInput! + ): UnfollowOrganizationPayload """ - The HTTP path for the organization + Unfollow a user. """ - organizationResourcePath: URI + unfollowUser( + """ + Parameters for UnfollowUser + """ + input: UnfollowUserInput! + ): UnfollowUserPayload """ - The HTTP URL for the organization + Unlinks a project from a repository. """ - organizationUrl: URI + unlinkProjectV2FromRepository( + """ + Parameters for UnlinkProjectV2FromRepository + """ + input: UnlinkProjectV2FromRepositoryInput! + ): UnlinkProjectV2FromRepositoryPayload """ - The user affected by the action + Unlinks a project to a team. """ - user: User + unlinkProjectV2FromTeam( + """ + Parameters for UnlinkProjectV2FromTeam + """ + input: UnlinkProjectV2FromTeamInput! + ): UnlinkProjectV2FromTeamPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Deletes a repository link from a project. """ - userLogin: String + unlinkRepositoryFromProject( + """ + Parameters for UnlinkRepositoryFromProject + """ + input: UnlinkRepositoryFromProjectInput! + ): UnlinkRepositoryFromProjectPayload @deprecated(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.") """ - The HTTP path for the user. + Unlock a lockable object """ - userResourcePath: URI + unlockLockable( + """ + Parameters for UnlockLockable + """ + input: UnlockLockableInput! + ): UnlockLockablePayload """ - The HTTP URL for the user. + Unmark a discussion comment as the chosen answer for discussions in an answerable category. """ - userUrl: URI -} + unmarkDiscussionCommentAsAnswer( + """ + Parameters for UnmarkDiscussionCommentAsAnswer + """ + input: UnmarkDiscussionCommentAsAnswerInput! + ): UnmarkDiscussionCommentAsAnswerPayload -""" -Audit log entry for a org.enable_saml event. -""" -type OrgEnableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Unmark a pull request file as viewed """ - action: String! + unmarkFileAsViewed( + """ + Parameters for UnmarkFileAsViewed + """ + input: UnmarkFileAsViewedInput! + ): UnmarkFileAsViewedPayload """ - The user who initiated the action + Unmark an issue as a duplicate of another issue. """ - actor: AuditEntryActor + unmarkIssueAsDuplicate( + """ + Parameters for UnmarkIssueAsDuplicate + """ + input: UnmarkIssueAsDuplicateInput! + ): UnmarkIssueAsDuplicatePayload """ - The IP address of the actor + Unmark a project as a template. """ - actorIp: String + unmarkProjectV2AsTemplate( + """ + Parameters for UnmarkProjectV2AsTemplate + """ + input: UnmarkProjectV2AsTemplateInput! + ): UnmarkProjectV2AsTemplatePayload """ - A readable representation of the actor's location + Unminimizes a comment on an Issue, Commit, Pull Request, or Gist """ - actorLocation: ActorLocation + unminimizeComment( + """ + Parameters for UnminimizeComment + """ + input: UnminimizeCommentInput! + ): UnminimizeCommentPayload """ - The username of the user who initiated the action + Unpin a pinned issue from a repository """ - actorLogin: String + unpinIssue( + """ + Parameters for UnpinIssue + """ + input: UnpinIssueInput! + ): UnpinIssuePayload """ - The HTTP path for the actor. + Unpins an Issue Comment. """ - actorResourcePath: URI + unpinIssueComment( + """ + Parameters for UnpinIssueComment + """ + input: UnpinIssueCommentInput! + ): UnpinIssueCommentPayload """ - The HTTP URL for the actor. + Marks a review thread as unresolved. """ - actorUrl: URI + unresolveReviewThread( + """ + Parameters for UnresolveReviewThread + """ + input: UnresolveReviewThreadInput! + ): UnresolveReviewThreadPayload """ - The time the action was initiated + Update a branch protection rule """ - createdAt: PreciseDateTime! + updateBranchProtectionRule( + """ + Parameters for UpdateBranchProtectionRule + """ + input: UpdateBranchProtectionRuleInput! + ): UpdateBranchProtectionRulePayload """ - The SAML provider's digest algorithm URL. + Update a check run """ - digestMethodUrl: URI + updateCheckRun( + """ + Parameters for UpdateCheckRun + """ + input: UpdateCheckRunInput! + ): UpdateCheckRunPayload """ - The Node ID of the OrgEnableSamlAuditEntry object + Modifies the settings of an existing check suite """ - id: ID! + updateCheckSuitePreferences( + """ + Parameters for UpdateCheckSuitePreferences + """ + input: UpdateCheckSuitePreferencesInput! + ): UpdateCheckSuitePreferencesPayload """ - The SAML provider's issuer URL. + Update a discussion """ - issuerUrl: URI + updateDiscussion( + """ + Parameters for UpdateDiscussion + """ + input: UpdateDiscussionInput! + ): UpdateDiscussionPayload """ - The corresponding operation type for the action + Update the contents of a comment on a Discussion """ - operationType: OperationType + updateDiscussionComment( + """ + Parameters for UpdateDiscussionComment + """ + input: UpdateDiscussionCommentInput! + ): UpdateDiscussionCommentPayload """ - The Organization associated with the Audit Entry. + Updates the role of an enterprise administrator. """ - organization: Organization + updateEnterpriseAdministratorRole( + """ + Parameters for UpdateEnterpriseAdministratorRole + """ + input: UpdateEnterpriseAdministratorRoleInput! + ): UpdateEnterpriseAdministratorRolePayload """ - The name of the Organization. + Sets whether private repository forks are enabled for an enterprise. """ - organizationName: String + updateEnterpriseAllowPrivateRepositoryForkingSetting( + """ + Parameters for UpdateEnterpriseAllowPrivateRepositoryForkingSetting + """ + input: UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput! + ): UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload """ - The HTTP path for the organization + Sets the base repository permission for organizations in an enterprise. """ - organizationResourcePath: URI + updateEnterpriseDefaultRepositoryPermissionSetting( + """ + Parameters for UpdateEnterpriseDefaultRepositoryPermissionSetting + """ + input: UpdateEnterpriseDefaultRepositoryPermissionSettingInput! + ): UpdateEnterpriseDefaultRepositoryPermissionSettingPayload """ - The HTTP URL for the organization + Sets whether deploy keys are allowed to be created and used for an enterprise. """ - organizationUrl: URI + updateEnterpriseDeployKeySetting( + """ + Parameters for UpdateEnterpriseDeployKeySetting + """ + input: UpdateEnterpriseDeployKeySettingInput! + ): UpdateEnterpriseDeployKeySettingPayload """ - The SAML provider's signature algorithm URL. + Sets whether organization members with admin permissions on a repository can change repository visibility. """ - signatureMethodUrl: URI + updateEnterpriseMembersCanChangeRepositoryVisibilitySetting( + """ + Parameters for UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting + """ + input: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput! + ): UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload """ - The SAML provider's single sign-on URL. + Sets the members can create repositories setting for an enterprise. """ - singleSignOnUrl: URI + updateEnterpriseMembersCanCreateRepositoriesSetting( + """ + Parameters for UpdateEnterpriseMembersCanCreateRepositoriesSetting + """ + input: UpdateEnterpriseMembersCanCreateRepositoriesSettingInput! + ): UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload """ - The user affected by the action + Sets the members can delete issues setting for an enterprise. """ - user: User + updateEnterpriseMembersCanDeleteIssuesSetting( + """ + Parameters for UpdateEnterpriseMembersCanDeleteIssuesSetting + """ + input: UpdateEnterpriseMembersCanDeleteIssuesSettingInput! + ): UpdateEnterpriseMembersCanDeleteIssuesSettingPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Sets the members can delete repositories setting for an enterprise. """ - userLogin: String + updateEnterpriseMembersCanDeleteRepositoriesSetting( + """ + Parameters for UpdateEnterpriseMembersCanDeleteRepositoriesSetting + """ + input: UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput! + ): UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload """ - The HTTP path for the user. + Sets whether members can invite collaborators are enabled for an enterprise. """ - userResourcePath: URI + updateEnterpriseMembersCanInviteCollaboratorsSetting( + """ + Parameters for UpdateEnterpriseMembersCanInviteCollaboratorsSetting + """ + input: UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput! + ): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload """ - The HTTP URL for the user. + Sets whether or not an organization owner can make purchases. """ - userUrl: URI -} + updateEnterpriseMembersCanMakePurchasesSetting( + """ + Parameters for UpdateEnterpriseMembersCanMakePurchasesSetting + """ + input: UpdateEnterpriseMembersCanMakePurchasesSettingInput! + ): UpdateEnterpriseMembersCanMakePurchasesSettingPayload -""" -Audit log entry for a org.enable_two_factor_requirement event. -""" -type OrgEnableTwoFactorRequirementAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Sets the members can update protected branches setting for an enterprise. """ - action: String! + updateEnterpriseMembersCanUpdateProtectedBranchesSetting( + """ + Parameters for UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting + """ + input: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput! + ): UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload """ - The user who initiated the action + Sets the members can view dependency insights for an enterprise. """ - actor: AuditEntryActor + updateEnterpriseMembersCanViewDependencyInsightsSetting( + """ + Parameters for UpdateEnterpriseMembersCanViewDependencyInsightsSetting + """ + input: UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput! + ): UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload """ - The IP address of the actor + Sets whether organization projects are enabled for an enterprise. """ - actorIp: String + updateEnterpriseOrganizationProjectsSetting( + """ + Parameters for UpdateEnterpriseOrganizationProjectsSetting + """ + input: UpdateEnterpriseOrganizationProjectsSettingInput! + ): UpdateEnterpriseOrganizationProjectsSettingPayload """ - A readable representation of the actor's location + Updates the role of an enterprise owner with an organization. """ - actorLocation: ActorLocation + updateEnterpriseOwnerOrganizationRole( + """ + Parameters for UpdateEnterpriseOwnerOrganizationRole + """ + input: UpdateEnterpriseOwnerOrganizationRoleInput! + ): UpdateEnterpriseOwnerOrganizationRolePayload """ - The username of the user who initiated the action + Updates an enterprise's profile. """ - actorLogin: String + updateEnterpriseProfile( + """ + Parameters for UpdateEnterpriseProfile + """ + input: UpdateEnterpriseProfileInput! + ): UpdateEnterpriseProfilePayload """ - The HTTP path for the actor. + Sets the proof of presence (PoP) re-authentication requirement for sudo actions in an enterprise. """ - actorResourcePath: URI + updateEnterpriseProofOfPresenceRequiredSetting( + """ + Parameters for UpdateEnterpriseProofOfPresenceRequiredSetting + """ + input: UpdateEnterpriseProofOfPresenceRequiredSettingInput! + ): UpdateEnterpriseProofOfPresenceRequiredSettingPayload """ - The HTTP URL for the actor. + Sets whether repository projects are enabled for a enterprise. """ - actorUrl: URI + updateEnterpriseRepositoryProjectsSetting( + """ + Parameters for UpdateEnterpriseRepositoryProjectsSetting + """ + input: UpdateEnterpriseRepositoryProjectsSettingInput! + ): UpdateEnterpriseRepositoryProjectsSettingPayload """ - The time the action was initiated + Sets the two-factor authentication methods that users of an enterprise may not use. """ - createdAt: PreciseDateTime! + updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting( + """ + Parameters for UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting + """ + input: UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput! + ): UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload """ - The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object + Sets whether two factor authentication is required for all users in an enterprise. """ - id: ID! + updateEnterpriseTwoFactorAuthenticationRequiredSetting( + """ + Parameters for UpdateEnterpriseTwoFactorAuthenticationRequiredSetting + """ + input: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput! + ): UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload """ - The corresponding operation type for the action + Updates an environment. """ - operationType: OperationType + updateEnvironment( + """ + Parameters for UpdateEnvironment + """ + input: UpdateEnvironmentInput! + ): UpdateEnvironmentPayload """ - The Organization associated with the Audit Entry. + Sets whether an IP allow list is enabled on an owner. """ - organization: Organization + updateIpAllowListEnabledSetting( + """ + Parameters for UpdateIpAllowListEnabledSetting + """ + input: UpdateIpAllowListEnabledSettingInput! + ): UpdateIpAllowListEnabledSettingPayload """ - The name of the Organization. + Updates an IP allow list entry. """ - organizationName: String + updateIpAllowListEntry( + """ + Parameters for UpdateIpAllowListEntry + """ + input: UpdateIpAllowListEntryInput! + ): UpdateIpAllowListEntryPayload """ - The HTTP path for the organization + Sets whether IP allow list configuration for installed GitHub Apps is enabled on an owner. """ - organizationResourcePath: URI + updateIpAllowListForInstalledAppsEnabledSetting( + """ + Parameters for UpdateIpAllowListForInstalledAppsEnabledSetting + """ + input: UpdateIpAllowListForInstalledAppsEnabledSettingInput! + ): UpdateIpAllowListForInstalledAppsEnabledSettingPayload """ - The HTTP URL for the organization + Sets whether IP allow list user-level enforcement is enabled on an enterprise. """ - organizationUrl: URI + updateIpAllowListUserLevelEnforcementEnabledSetting( + """ + Parameters for UpdateIpAllowListUserLevelEnforcementEnabledSetting + """ + input: UpdateIpAllowListUserLevelEnforcementEnabledSettingInput! + ): UpdateIpAllowListUserLevelEnforcementEnabledSettingPayload """ - The user affected by the action + Updates an Issue. """ - user: User + updateIssue( + """ + Parameters for UpdateIssue + """ + input: UpdateIssueInput! + ): UpdateIssuePayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Updates an IssueComment object. """ - userLogin: String + updateIssueComment( + """ + Parameters for UpdateIssueComment + """ + input: UpdateIssueCommentInput! + ): UpdateIssueCommentPayload """ - The HTTP path for the user. + Updates an issue field. """ - userResourcePath: URI + updateIssueField( + """ + Parameters for UpdateIssueField + """ + input: UpdateIssueFieldInput! + ): UpdateIssueFieldPayload """ - The HTTP URL for the user. + Updates an existing issue field value for an issue. """ - userUrl: URI -} + updateIssueFieldValue( + """ + Parameters for UpdateIssueFieldValue + """ + input: UpdateIssueFieldValueInput! + ): UpdateIssueFieldValuePayload -""" -Ordering options for an organization's enterprise owner connections. -""" -input OrgEnterpriseOwnerOrder { """ - The ordering direction. + Updates the issue type on an issue """ - direction: OrderDirection! + updateIssueIssueType( + """ + Parameters for UpdateIssueIssueType + """ + input: UpdateIssueIssueTypeInput! + ): UpdateIssueIssueTypePayload """ - The field to order enterprise owners by. + Update an issue type """ - field: OrgEnterpriseOwnerOrderField! -} + updateIssueType( + """ + Parameters for UpdateIssueType + """ + input: UpdateIssueTypeInput! + ): UpdateIssueTypePayload -""" -Properties by which enterprise owners can be ordered. -""" -enum OrgEnterpriseOwnerOrderField { """ - Order enterprise owners by login. + Updates an existing label. """ - LOGIN -} + updateLabel( + """ + Parameters for UpdateLabel + """ + input: UpdateLabelInput! + ): UpdateLabelPayload -""" -Audit log entry for a org.invite_member event. -""" -type OrgInviteMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The action name + Update the setting to restrict notifications to only verified or approved domains available to an owner. """ - action: String! + updateNotificationRestrictionSetting( + """ + Parameters for UpdateNotificationRestrictionSetting + """ + input: UpdateNotificationRestrictionSettingInput! + ): UpdateNotificationRestrictionSettingPayload """ - The user who initiated the action + Sets whether private repository forks are enabled for an organization. """ - actor: AuditEntryActor + updateOrganizationAllowPrivateRepositoryForkingSetting( + """ + Parameters for UpdateOrganizationAllowPrivateRepositoryForkingSetting + """ + input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput! + ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload """ - The IP address of the actor + Sets whether contributors are required to sign off on web-based commits for repositories in an organization. """ - actorIp: String + updateOrganizationWebCommitSignoffSetting( + """ + Parameters for UpdateOrganizationWebCommitSignoffSetting + """ + input: UpdateOrganizationWebCommitSignoffSettingInput! + ): UpdateOrganizationWebCommitSignoffSettingPayload """ - A readable representation of the actor's location + Toggle the setting for your GitHub Sponsors profile that allows other GitHub + accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. + Only applicable when you have a GitHub Sponsors profile and have connected + your GitHub account with Patreon. """ - actorLocation: ActorLocation + updatePatreonSponsorability( + """ + Parameters for UpdatePatreonSponsorability + """ + input: UpdatePatreonSponsorabilityInput! + ): UpdatePatreonSponsorabilityPayload """ - The username of the user who initiated the action + Updates an existing project. """ - actorLogin: String + updateProject( + """ + Parameters for UpdateProject + """ + input: UpdateProjectInput! + ): UpdateProjectPayload @deprecated(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.") """ - The HTTP path for the actor. + Updates an existing project card. """ - actorResourcePath: URI + updateProjectCard( + """ + Parameters for UpdateProjectCard + """ + input: UpdateProjectCardInput! + ): UpdateProjectCardPayload @deprecated(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.") """ - The HTTP URL for the actor. + Updates an existing project column. """ - actorUrl: URI + updateProjectColumn( + """ + Parameters for UpdateProjectColumn + """ + input: UpdateProjectColumnInput! + ): UpdateProjectColumnPayload @deprecated(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.") """ - The time the action was initiated + Updates an existing project. """ - createdAt: PreciseDateTime! + updateProjectV2( + """ + Parameters for UpdateProjectV2 + """ + input: UpdateProjectV2Input! + ): UpdateProjectV2Payload """ - The email address of the organization invitation. + Update the collaborators on a team or a project """ - email: String + updateProjectV2Collaborators( + """ + Parameters for UpdateProjectV2Collaborators + """ + input: UpdateProjectV2CollaboratorsInput! + ): UpdateProjectV2CollaboratorsPayload """ - The Node ID of the OrgInviteMemberAuditEntry object + Updates a draft issue within a Project. """ - id: ID! + updateProjectV2DraftIssue( + """ + Parameters for UpdateProjectV2DraftIssue + """ + input: UpdateProjectV2DraftIssueInput! + ): UpdateProjectV2DraftIssuePayload """ - The corresponding operation type for the action + Update a project field. """ - operationType: OperationType + updateProjectV2Field( + """ + Parameters for UpdateProjectV2Field + """ + input: UpdateProjectV2FieldInput! + ): UpdateProjectV2FieldPayload """ - The Organization associated with the Audit Entry. + This mutation updates the value of a field for an item in a Project. Currently + only single-select, multi-select, text, number, date, and iteration fields are supported. """ - organization: Organization + updateProjectV2ItemFieldValue( + """ + Parameters for UpdateProjectV2ItemFieldValue + """ + input: UpdateProjectV2ItemFieldValueInput! + ): UpdateProjectV2ItemFieldValuePayload """ - The organization invitation. + This mutation updates the position of the item in the project, where the position represents the priority of an item. """ - organizationInvitation: OrganizationInvitation + updateProjectV2ItemPosition( + """ + Parameters for UpdateProjectV2ItemPosition + """ + input: UpdateProjectV2ItemPositionInput! + ): UpdateProjectV2ItemPositionPayload """ - The name of the Organization. + Updates a status update within a Project. """ - organizationName: String + updateProjectV2StatusUpdate( + """ + Parameters for UpdateProjectV2StatusUpdate + """ + input: UpdateProjectV2StatusUpdateInput! + ): UpdateProjectV2StatusUpdatePayload """ - The HTTP path for the organization + Updates an existing view in a project. """ - organizationResourcePath: URI + updateProjectV2View( + """ + Parameters for UpdateProjectV2View + """ + input: UpdateProjectV2ViewInput! + ): UpdateProjectV2ViewPayload """ - The HTTP URL for the organization + Update a pull request """ - organizationUrl: URI + updatePullRequest( + """ + Parameters for UpdatePullRequest + """ + input: UpdatePullRequestInput! + ): UpdatePullRequestPayload """ - The user affected by the action + Merge or Rebase HEAD from upstream branch into pull request branch """ - user: User + updatePullRequestBranch( + """ + Parameters for UpdatePullRequestBranch + """ + input: UpdatePullRequestBranchInput! + ): UpdatePullRequestBranchPayload """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Updates the body of a pull request review. """ - userLogin: String + updatePullRequestReview( + """ + Parameters for UpdatePullRequestReview + """ + input: UpdatePullRequestReviewInput! + ): UpdatePullRequestReviewPayload """ - The HTTP path for the user. + Updates a pull request review comment. """ - userResourcePath: URI + updatePullRequestReviewComment( + """ + Parameters for UpdatePullRequestReviewComment + """ + input: UpdatePullRequestReviewCommentInput! + ): UpdatePullRequestReviewCommentPayload """ - The HTTP URL for the user. + Update a Git Ref. """ - userUrl: URI -} + updateRef( + """ + Parameters for UpdateRef + """ + input: UpdateRefInput! + ): UpdateRefPayload -""" -Audit log entry for a org.invite_to_business event. -""" -type OrgInviteToBusinessAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - The action name + Creates, updates and/or deletes multiple refs in a repository. + + This mutation takes a list of `RefUpdate`s and performs these updates + on the repository. All updates are performed atomically, meaning that + if one of them is rejected, no other ref will be modified. + + `RefUpdate.beforeOid` specifies that the given reference needs to point + to the given value before performing any updates. A value of + `0000000000000000000000000000000000000000` can be used to verify that + the references should not exist. + + `RefUpdate.afterOid` specifies the value that the given reference + will point to after performing all updates. A value of + `0000000000000000000000000000000000000000` can be used to delete a + reference. + + If `RefUpdate.force` is set to `true`, a non-fast-forward updates + for the given reference will be allowed. """ - action: String! + updateRefs( + """ + Parameters for UpdateRefs + """ + input: UpdateRefsInput! + ): UpdateRefsPayload """ - The user who initiated the action + Update information about a repository. """ - actor: AuditEntryActor + updateRepository( + """ + Parameters for UpdateRepository + """ + input: UpdateRepositoryInput! + ): UpdateRepositoryPayload """ - The IP address of the actor + Update a repository custom property. """ - actorIp: String + updateRepositoryCustomProperty( + """ + Parameters for UpdateRepositoryCustomProperty + """ + input: UpdateRepositoryCustomPropertyInput! + ): UpdateRepositoryCustomPropertyPayload """ - A readable representation of the actor's location + Update a repository ruleset """ - actorLocation: ActorLocation + updateRepositoryRuleset( + """ + Parameters for UpdateRepositoryRuleset + """ + input: UpdateRepositoryRulesetInput! + ): UpdateRepositoryRulesetPayload """ - The username of the user who initiated the action + Sets whether contributors are required to sign off on web-based commits for a repository. """ - actorLogin: String + updateRepositoryWebCommitSignoffSetting( + """ + Parameters for UpdateRepositoryWebCommitSignoffSetting + """ + input: UpdateRepositoryWebCommitSignoffSettingInput! + ): UpdateRepositoryWebCommitSignoffSettingPayload """ - The HTTP path for the actor. + Change visibility of your sponsorship and opt in or out of email updates from the maintainer. """ - actorResourcePath: URI + updateSponsorshipPreferences( + """ + Parameters for UpdateSponsorshipPreferences + """ + input: UpdateSponsorshipPreferencesInput! + ): UpdateSponsorshipPreferencesPayload """ - The HTTP URL for the actor. + Updates the state for subscribable subjects. """ - actorUrl: URI + updateSubscription( + """ + Parameters for UpdateSubscription + """ + input: UpdateSubscriptionInput! + ): UpdateSubscriptionPayload """ - The time the action was initiated + Updates team review assignment. """ - createdAt: PreciseDateTime! + updateTeamReviewAssignment( + """ + Parameters for UpdateTeamReviewAssignment + """ + input: UpdateTeamReviewAssignmentInput! + ): UpdateTeamReviewAssignmentPayload """ - The HTTP path for this enterprise. + Update team repository. """ - enterpriseResourcePath: URI + updateTeamsRepository( + """ + Parameters for UpdateTeamsRepository + """ + input: UpdateTeamsRepositoryInput! + ): UpdateTeamsRepositoryPayload """ - The slug of the enterprise. + Replaces the repository's topics with the given topics. """ - enterpriseSlug: String + updateTopics( + """ + Parameters for UpdateTopics + """ + input: UpdateTopicsInput! + ): UpdateTopicsPayload """ - The HTTP URL for this enterprise. + Updates an existing user list. """ - enterpriseUrl: URI + updateUserList( + """ + Parameters for UpdateUserList + """ + input: UpdateUserListInput! + ): UpdateUserListPayload """ - The Node ID of the OrgInviteToBusinessAuditEntry object + Updates which of the viewer's lists an item belongs to """ - id: ID! + updateUserListsForItem( + """ + Parameters for UpdateUserListsForItem + """ + input: UpdateUserListsForItemInput! + ): UpdateUserListsForItemPayload """ - The corresponding operation type for the action + Verify that a verifiable domain has the expected DNS record. """ - operationType: OperationType + verifyVerifiableDomain( + """ + Parameters for VerifyVerifiableDomain + """ + input: VerifyVerifiableDomainInput! + ): VerifyVerifiableDomainPayload +} +""" +An object with an ID. +""" +interface Node { """ - The Organization associated with the Audit Entry. + ID of the object. """ - organization: Organization + id: ID! +} +""" +The possible values for the notification restriction setting. +""" +enum NotificationRestrictionSettingValue { """ - The name of the Organization. + The setting is disabled for the owner. """ - organizationName: String + DISABLED """ - The HTTP path for the organization + The setting is enabled for the owner. """ - organizationResourcePath: URI + ENABLED +} +""" +An OIDC identity provider configured to provision identities for an enterprise. +Visible to enterprise owners or enterprise owners' personal access tokens +(classic) with read:enterprise or admin:enterprise scope. +""" +type OIDCProvider implements Node { """ - The HTTP URL for the organization + The enterprise this identity provider belongs to. """ - organizationUrl: URI + enterprise: Enterprise """ - The user affected by the action + ExternalIdentities provisioned by this identity provider. """ - user: User + externalIdentities( + """ + 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 + + """ + Filter to external identities with the users login + """ + login: String + + """ + Filter to external identities with valid org membership only + """ + membersOnly: Boolean + + """ + Filter to external identities with the users userName/NameID attribute + """ + userName: String + ): ExternalIdentityConnection! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The Node ID of the OIDCProvider object """ - userLogin: String + id: ID! """ - The HTTP path for the user. + The OIDC identity provider type """ - userResourcePath: URI + providerType: OIDCProviderType! """ - The HTTP URL for the user. + The id of the tenant this provider is attached to """ - userUrl: URI + tenantId: String! } """ -Audit log entry for a org.oauth_app_access_approved event. +The OIDC identity provider type """ -type OrgOauthAppAccessApprovedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { +enum OIDCProviderType { + """ + Azure Active Directory + """ + AAD +} + +""" +Metadata for an audit entry with action oauth_application.* +""" +interface OauthApplicationAuditEntryData { + """ + The name of the OAuth application. + """ + oauthApplicationName: String + + """ + The HTTP path for the OAuth application + """ + oauthApplicationResourcePath: URI + + """ + The HTTP URL for the OAuth application + """ + oauthApplicationUrl: URI +} + +""" +Audit log entry for a oauth_application.create event. +""" +type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The application URL of the OAuth application. + """ + applicationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The callback URL of the OAuth application. + """ + callbackUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgOauthAppAccessApprovedAuditEntry object + The Node ID of the OauthApplicationCreateAuditEntry object """ id: ID! @@ -27509,2246 +29905,4026 @@ type OrgOauthAppAccessApprovedAuditEntry implements AuditEntry & Node & OauthApp """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The rate limit of the OAuth application. + """ + rateLimit: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The state of the OAuth application. + """ + state: OauthApplicationCreateAuditEntryState @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.oauth_app_access_blocked event. +The state of an OAuth application when it was created. """ -type OrgOauthAppAccessBlockedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { - """ - The action name - """ - action: String! - - """ - The user who initiated the action - """ - actor: AuditEntryActor - - """ - The IP address of the actor - """ - actorIp: String - - """ - A readable representation of the actor's location - """ - actorLocation: ActorLocation - - """ - The username of the user who initiated the action - """ - actorLogin: String - - """ - The HTTP path for the actor. - """ - actorResourcePath: URI - - """ - The HTTP URL for the actor. - """ - actorUrl: URI - - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! - - """ - The Node ID of the OrgOauthAppAccessBlockedAuditEntry object - """ - id: ID! - +enum OauthApplicationCreateAuditEntryState { """ - The name of the OAuth application. + The OAuth application was active and allowed to have OAuth Accesses. """ - oauthApplicationName: String + ACTIVE """ - The HTTP path for the OAuth application + The OAuth application was in the process of being deleted. """ - oauthApplicationResourcePath: URI + PENDING_DELETION """ - The HTTP URL for the OAuth application + The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. """ - oauthApplicationUrl: URI + SUSPENDED +} +""" +The corresponding operation type for the action +""" +enum OperationType { """ - The corresponding operation type for the action + An existing resource was accessed """ - operationType: OperationType + ACCESS """ - The Organization associated with the Audit Entry. + A resource performed an authentication event """ - organization: Organization + AUTHENTICATION """ - The name of the Organization. + A new resource was created """ - organizationName: String + CREATE """ - The HTTP path for the organization + An existing resource was modified """ - organizationResourcePath: URI + MODIFY """ - The HTTP URL for the organization + An existing resource was removed """ - organizationUrl: URI + REMOVE """ - The user affected by the action + An existing resource was restored """ - user: User + RESTORE """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An existing resource was transferred between multiple resources """ - userLogin: String + TRANSFER +} +""" +Possible directions in which to order a list of items when provided an `orderBy` argument. +""" +enum OrderDirection { """ - The HTTP path for the user. + Specifies an ascending order for a given `orderBy` argument. """ - userResourcePath: URI + ASC """ - The HTTP URL for the user. + Specifies a descending order for a given `orderBy` argument. """ - userUrl: URI + DESC } """ -Audit log entry for a org.oauth_app_access_denied event. +Audit log entry for a org.add_billing_manager """ -type OrgOauthAppAccessDeniedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { +type OrgAddBillingManagerAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgOauthAppAccessDeniedAuditEntry object + The Node ID of the OrgAddBillingManagerAuditEntry object """ id: ID! """ - The name of the OAuth application. - """ - oauthApplicationName: String - - """ - The HTTP path for the OAuth application - """ - oauthApplicationResourcePath: URI - - """ - The HTTP URL for the OAuth application + The email address used to invite a billing manager for the organization. """ - oauthApplicationUrl: URI + invitationEmail: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.oauth_app_access_requested event. +Audit log entry for a org.add_member """ -type OrgOauthAppAccessRequestedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { +type OrgAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgOauthAppAccessRequestedAuditEntry object + The Node ID of the OrgAddMemberAuditEntry object """ id: ID! - """ - The name of the OAuth application. - """ - oauthApplicationName: String - - """ - The HTTP path for the OAuth application - """ - oauthApplicationResourcePath: URI - - """ - The HTTP URL for the OAuth application - """ - oauthApplicationUrl: URI - """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The permission level of the member added to the organization. + """ + permission: OrgAddMemberAuditEntryPermission @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.oauth_app_access_unblocked event. +The permissions available to members on an Organization. """ -type OrgOauthAppAccessUnblockedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { +enum OrgAddMemberAuditEntryPermission { + """ + Can read, clone, push, and add collaborators to repositories. + """ + ADMIN + + """ + Can read and clone repositories. + """ + READ +} + +""" +Audit log entry for a org.block_user +""" +type OrgBlockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The time the action was initiated + The blocked user. """ - createdAt: PreciseDateTime! + blockedUser: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object + The username of the blocked user. """ - id: ID! + blockedUserName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the OAuth application. + The HTTP path for the blocked user. """ - oauthApplicationName: String + blockedUserResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the OAuth application + The HTTP URL for the blocked user. """ - oauthApplicationResourcePath: URI + blockedUserUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for the OAuth application + The time the action was initiated """ - oauthApplicationUrl: URI + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgBlockUserAuditEntry object + """ + id: ID! """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.remove_billing_manager event. +Audit log entry for a org.config.disable_collaborators_only event. """ -type OrgRemoveBillingManagerAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgRemoveBillingManagerAuditEntry object + The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object """ id: ID! """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI - - """ - The reason for the billing manager being removed. - """ - reason: OrgRemoveBillingManagerAuditEntryReason + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The reason a billing manager was removed from an Organization. -""" -enum OrgRemoveBillingManagerAuditEntryReason { - """ - SAML external identity missing - """ - SAML_EXTERNAL_IDENTITY_MISSING - - """ - SAML SSO enforcement requires an external identity - """ - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY - - """ - The organization required 2FA of its billing managers and this user did not have 2FA enabled. - """ - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE -} - -""" -Audit log entry for a org.remove_member event. +Audit log entry for a org.config.enable_collaborators_only event. """ -type OrgRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgRemoveMemberAuditEntry object + The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object """ id: ID! - """ - The types of membership the member has with the organization. - """ - membershipTypes: [OrgRemoveMemberAuditEntryMembershipType!] - """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI - - """ - The reason for the member being removed. - """ - reason: OrgRemoveMemberAuditEntryReason + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The type of membership a user has with an Organization. +Audit log entry for a org.create event. """ -enum OrgRemoveMemberAuditEntryMembershipType { +type OrgCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - Organization owners have full access and can change several settings, - including the names of repositories that belong to the Organization and Owners - team membership. In addition, organization owners can delete the organization - and all of its repositories. + The action name """ - ADMIN + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + The user who initiated the action """ - BILLING_MANAGER + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A direct member is a user that is a member of the Organization. + The IP address of the actor """ - DIRECT_MEMBER + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - An outside collaborator is a person who isn't explicitly a member of the - Organization, but who has Read, Write, or Admin permissions to one or more - repositories in the organization. + A readable representation of the actor's location """ - OUTSIDE_COLLABORATOR + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A suspended member. + The username of the user who initiated the action """ - SUSPENDED + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - An unaffiliated collaborator is a person who is not a member of the - Organization and does not have access to any repositories in the Organization. + The HTTP path for the actor. """ - UNAFFILIATED + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The billing plan for the Organization. + """ + billingPlan: OrgCreateAuditEntryBillingPlan @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgCreateAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The reason a member was removed from an Organization. +The billing plans available for organizations. """ -enum OrgRemoveMemberAuditEntryReason { +enum OrgCreateAuditEntryBillingPlan { """ - SAML external identity missing + Team Plan """ - SAML_EXTERNAL_IDENTITY_MISSING + BUSINESS """ - SAML SSO enforcement requires an external identity + Enterprise Cloud Plan """ - SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY + BUSINESS_PLUS """ - User was removed from organization during account recovery + Free Plan """ - TWO_FACTOR_ACCOUNT_RECOVERY + FREE """ - The organization required 2FA of its billing managers and this user did not have 2FA enabled. + Tiered Per Seat Plan """ - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE + TIERED_PER_SEAT """ - User account has been deleted + Legacy Unlimited Plan """ - USER_ACCOUNT_DELETED + UNLIMITED } """ -Audit log entry for a org.remove_outside_collaborator event. +Audit log entry for a org.disable_oauth_app_restrictions event. """ -type OrgRemoveOutsideCollaboratorAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgDisableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object + The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object """ id: ID! - """ - The types of membership the outside collaborator has with the organization. - """ - membershipTypes: [OrgRemoveOutsideCollaboratorAuditEntryMembershipType!] - """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI - - """ - The reason for the outside collaborator being removed from the Organization. - """ - reason: OrgRemoveOutsideCollaboratorAuditEntryReason + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI -} - -""" -The type of membership a user has with an Organization. -""" -enum OrgRemoveOutsideCollaboratorAuditEntryMembershipType { - """ - A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. - """ - BILLING_MANAGER - - """ - An outside collaborator is a person who isn't explicitly a member of the - Organization, but who has Read, Write, or Admin permissions to one or more - repositories in the organization. - """ - OUTSIDE_COLLABORATOR - - """ - An unaffiliated collaborator is a person who is not a member of the - Organization and does not have access to any repositories in the organization. - """ - UNAFFILIATED -} - -""" -The reason an outside collaborator was removed from an Organization. -""" -enum OrgRemoveOutsideCollaboratorAuditEntryReason { - """ - SAML external identity missing - """ - SAML_EXTERNAL_IDENTITY_MISSING - - """ - The organization required 2FA of its billing managers and this user did not have 2FA enabled. - """ - TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.restore_member event. +Audit log entry for a org.disable_saml event. """ -type OrgRestoreMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgDisableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgRestoreMemberAuditEntry object + The SAML provider's digest algorithm URL. + """ + digestMethodUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgDisableSamlAuditEntry object """ id: ID! + """ + The SAML provider's issuer URL. + """ + issuerUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The number of custom email routings for the restored member. + The SAML provider's signature algorithm URL. """ - restoredCustomEmailRoutingsCount: Int + signatureMethodUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The number of issue assignments for the restored member. + The SAML provider's single sign-on URL. """ - restoredIssueAssignmentsCount: Int + singleSignOnUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Restored organization membership objects. + The user affected by the action """ - restoredMemberships: [OrgRestoreMemberAuditEntryMembership!] + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The number of restored memberships. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - restoredMembershipsCount: Int + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The number of repositories of the restored member. + The HTTP path for the user. """ - restoredRepositoriesCount: Int + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The number of starred repositories for the restored member. + The HTTP URL for the user. """ - restoredRepositoryStarsCount: Int + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a org.disable_two_factor_requirement event. +""" +type OrgDisableTwoFactorRequirementAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ - The number of watched repositories for the restored member. + The action name """ - restoredRepositoryWatchesCount: Int + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user affected by the action + The user who initiated the action """ - user: User + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The IP address of the actor """ - userLogin: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the user. + A readable representation of the actor's location """ - userResourcePath: URI + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for the user. + The username of the user who initiated the action """ - userUrl: URI -} + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Types of memberships that can be restored for an Organization member. -""" -union OrgRestoreMemberAuditEntryMembership = OrgRestoreMemberMembershipOrganizationAuditEntryData | OrgRestoreMemberMembershipRepositoryAuditEntryData | OrgRestoreMemberMembershipTeamAuditEntryData + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Metadata for an organization membership for org.restore_member actions -""" -type OrgRestoreMemberMembershipOrganizationAuditEntryData implements OrganizationAuditEntryData { """ - The Organization associated with the Audit Entry. + The HTTP URL for the actor. """ - organization: Organization + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the Organization. + The time the action was initiated """ - organizationName: String + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the organization + The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object """ - organizationResourcePath: URI + id: ID! """ - The HTTP URL for the organization + The corresponding operation type for the action """ - organizationUrl: URI -} + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Metadata for a repository membership for org.restore_member actions -""" -type OrgRestoreMemberMembershipRepositoryAuditEntryData implements RepositoryAuditEntryData { """ - The repository associated with the action + The Organization associated with the Audit Entry. """ - repository: Repository + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the repository + The name of the Organization. """ - repositoryName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the repository + The HTTP path for the organization """ - repositoryResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for the repository + The HTTP URL for the organization """ - repositoryUrl: URI -} + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Metadata for a team membership for org.restore_member actions -""" -type OrgRestoreMemberMembershipTeamAuditEntryData implements TeamAuditEntryData { """ - The team associated with the action + The user affected by the action """ - team: Team + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the team + For actions involving two users, the actor is the initiator and the user is the affected user. """ - teamName: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for this team + The HTTP path for the user. """ - teamResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for this team + The HTTP URL for the user. """ - teamUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.unblock_user +Audit log entry for a org.enable_oauth_app_restrictions event. """ -type OrgUnblockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgEnableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI - - """ - The user being unblocked by the organization. - """ - blockedUser: User - - """ - The username of the blocked user. - """ - blockedUserName: String - - """ - The HTTP path for the blocked user. - """ - blockedUserResourcePath: URI - - """ - The HTTP URL for the blocked user. - """ - blockedUserUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgUnblockUserAuditEntry object + The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object """ id: ID! """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.update_default_repository_permission +Audit log entry for a org.enable_saml event. """ -type OrgUpdateDefaultRepositoryPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgEnableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object + The SAML provider's digest algorithm URL. + """ + digestMethodUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgEnableSamlAuditEntry object """ id: ID! + """ + The SAML provider's issuer URL. + """ + issuerUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The new base repository permission level for the organization. + The SAML provider's signature algorithm URL. """ - permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + signatureMethodUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The former base repository permission level for the organization. + The SAML provider's single sign-on URL. """ - permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission + singleSignOnUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI -} - -""" -The default permission a repository can have in an Organization. -""" -enum OrgUpdateDefaultRepositoryPermissionAuditEntryPermission { - """ - Can read, clone, push, and add collaborators to repositories. - """ - ADMIN - - """ - No default permission value. - """ - NONE - - """ - Can read and clone repositories. - """ - READ - - """ - Can read, clone and push to repositories. - """ - WRITE + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.update_member event. +Audit log entry for a org.enable_two_factor_requirement event. """ -type OrgUpdateMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgEnableTwoFactorRequirementAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgUpdateMemberAuditEntry object + The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object """ id: ID! """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI - - """ - The new member permission level for the organization. - """ - permission: OrgUpdateMemberAuditEntryPermission - - """ - The former member permission level for the organization. - """ - permissionWas: OrgUpdateMemberAuditEntryPermission + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The permissions available to members on an Organization. +Ordering options for an organization's enterprise owner connections. """ -enum OrgUpdateMemberAuditEntryPermission { +input OrgEnterpriseOwnerOrder { """ - Can read, clone, push, and add collaborators to repositories. + The ordering direction. """ - ADMIN + direction: OrderDirection! """ - Can read and clone repositories. + The field to order enterprise owners by. """ - READ + field: OrgEnterpriseOwnerOrderField! } """ -Audit log entry for a org.update_member_repository_creation_permission event. +Properties by which enterprise owners can be ordered. """ -type OrgUpdateMemberRepositoryCreationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +enum OrgEnterpriseOwnerOrderField { + """ + Order enterprise owners by login. + """ + LOGIN +} + +""" +Audit log entry for a org.invite_member event. +""" +type OrgInviteMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Can members create repositories in the organization. + The time the action was initiated """ - canCreateRepositories: Boolean + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The time the action was initiated + The email address of the organization invitation. """ - createdAt: PreciseDateTime! + email: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object + The Node ID of the OrgInviteMemberAuditEntry object """ id: ID! """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The organization invitation. + """ + organizationInvitation: OrganizationInvitation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI - - """ - The permission for visibility level of repositories for this organization. - """ - visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The permissions available for repository creation on an Organization. +Audit log entry for a org.invite_to_business event. """ -enum OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility { +type OrgInviteToBusinessAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - All organization members are restricted from creating any repositories. + The action name """ - ALL + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating internal repositories. + The user who initiated the action """ - INTERNAL + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are allowed to create any repositories. + The IP address of the actor """ - NONE + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating private repositories. + A readable representation of the actor's location """ - PRIVATE + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating private or internal repositories. + The username of the user who initiated the action """ - PRIVATE_INTERNAL + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating public repositories. + The HTTP path for the actor. """ - PUBLIC + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating public or internal repositories. + The HTTP URL for the actor. """ - PUBLIC_INTERNAL + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - All organization members are restricted from creating public or private repositories. + The time the action was initiated """ - PUBLIC_PRIVATE + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for this enterprise. + """ + enterpriseResourcePath: URI + + """ + The slug of the enterprise. + """ + enterpriseSlug: String + + """ + The HTTP URL for this enterprise. + """ + enterpriseUrl: URI + + """ + The Node ID of the OrgInviteToBusinessAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a org.update_member_repository_invitation_permission event. +Audit log entry for a org.oauth_app_access_approved event. """ -type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { +type OrgOauthAppAccessApprovedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Can outside collaborators be invited to repositories in the organization. + The time the action was initiated """ - canInviteOutsideCollaboratorsToRepositories: Boolean + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The time the action was initiated + The Node ID of the OrgOauthAppAccessApprovedAuditEntry object """ - createdAt: PreciseDateTime! + id: ID! """ - The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object + The name of the OAuth application. """ - id: ID! + oauthApplicationName: String + + """ + The HTTP path for the OAuth application + """ + oauthApplicationResourcePath: URI + + """ + The HTTP URL for the OAuth application + """ + oauthApplicationUrl: URI """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -An account on GitHub, with one or more owners, that has repositories, members and teams. +Audit log entry for a org.oauth_app_access_blocked event. """ -type Organization implements Actor & AnnouncementBannerI & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type OrgOauthAppAccessBlockedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { """ - The text of the announcement + The action name """ - 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.") + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. + The user who initiated the action """ - announcementBanner: AnnouncementBanner + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The date the announcement was created + The IP address of the actor """ - 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.") + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The expiration date of the announcement, if any + A readable representation of the actor's location """ - 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.") + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether the announcement can be dismissed by the user + The username of the user who initiated the action """ - 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.") + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Determine if this repository owner has any items that can be pinned to their profile. + The HTTP path for the actor. """ - anyPinnableItems( - """ - Filter to only a particular kind of pinnable item. - """ - type: PinnableItemType - ): Boolean! + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the date and time when the organization was archived. + The HTTP URL for the actor. """ - archivedAt: DateTime + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Audit log entries of the organization + The time the action was initiated """ - auditLog( - """ - 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 + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for the returned audit log entries. - """ - orderBy: AuditLogOrder = {field: CREATED_AT, direction: DESC} + """ + The Node ID of the OrgOauthAppAccessBlockedAuditEntry object + """ + id: ID! - """ - The query string to filter audit entries - """ - query: String - ): OrganizationAuditEntryConnection! + """ + The name of the OAuth application. + """ + oauthApplicationName: String """ - A URL pointing to the organization's public avatar. + The HTTP path for the OAuth application """ - avatarUrl( - """ - The size of the resulting square image. - """ - size: Int - ): URI! + oauthApplicationResourcePath: URI """ - Identifies the date and time when the object was created. + The HTTP URL for the OAuth application """ - createdAt: DateTime! + oauthApplicationUrl: URI """ - Identifies the primary key from the database. + The corresponding operation type for the action """ - databaseId: Int + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's public profile description. + The Organization associated with the Audit Entry. """ - description: String + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's public profile description rendered to HTML. + The name of the Organization. """ - descriptionHTML: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of domains owned by the organization. + The HTTP path for the organization """ - domains( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter by if the domain is approved. - """ - isApproved: Boolean = null + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter by if the domain is verified. - """ - isVerified: Boolean = null + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} - """ - Ordering options for verifiable domains returned. - """ - orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} - ): VerifiableDomainConnection +""" +Audit log entry for a org.oauth_app_access_denied event. +""" +type OrgOauthAppAccessDeniedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's public email. + The user who initiated the action """ - email: String + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of owners of the organization's enterprise account. + The IP address of the actor """ - enterpriseOwners( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for enterprise owners returned from the connection. - """ - orderBy: OrgEnterpriseOwnerOrder = {field: LOGIN, direction: ASC} + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - The organization role to filter by. - """ - organizationRole: RoleInOrganization + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - The search string to look for. - """ - query: String - ): OrganizationEnterpriseOwnerConnection! + """ + The Node ID of the OrgOauthAppAccessDeniedAuditEntry object + """ + id: ID! """ - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + The name of the OAuth application. """ - estimatedNextSponsorsPayoutInCents: Int! + oauthApplicationName: String """ - True if this user/organization has a GitHub Sponsors listing. + The HTTP path for the OAuth application """ - hasSponsorsListing: Boolean! + oauthApplicationResourcePath: URI """ - The Node ID of the Organization object + The HTTP URL for the OAuth application """ - id: ID! + oauthApplicationUrl: URI """ - The interaction ability settings for this organization. + The corresponding operation type for the action """ - interactionAbility: RepositoryInteractionAbility + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The setting value for whether the organization has an IP allow list enabled. + The Organization associated with the Audit Entry. """ - ipAllowListEnabledSetting: IpAllowListEnabledSettingValue! + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The IP addresses that are allowed to access resources owned by the organization. + The name of the Organization. """ - ipAllowListEntries( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for IP allow list entries returned. - """ - orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC} - ): IpAllowListEntryConnection! + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. + The HTTP path for the user. """ - ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue! + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether the given account is sponsoring this user/organization. + The HTTP URL for the user. """ - isSponsoredBy( - """ - The target account's login. - """ - accountLogin: String! - ): Boolean! + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a org.oauth_app_access_requested event. +""" +type OrgOauthAppAccessRequestedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { """ - True if the viewer is sponsored by this user/organization. + The action name """ - isSponsoringViewer: Boolean! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether the organization has verified its profile email and website. + The user who initiated the action """ - isVerified: Boolean! + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Showcases a selection of repositories and gists that the profile owner has - either curated or that have been selected automatically based on popularity. + The IP address of the actor """ - itemShowcase: ProfileItemShowcase! + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Calculate how much each sponsor has ever paid total to this maintainer via - GitHub Sponsors. Does not include sponsorships paid via Patreon. + A readable representation of the actor's location """ - lifetimeReceivedSponsorshipValues( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for results returned from the connection. - """ - orderBy: SponsorAndLifetimeValueOrder = {field: SPONSOR_LOGIN, direction: ASC} - ): SponsorAndLifetimeValueConnection! + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's public profile location. + The Node ID of the OrgOauthAppAccessRequestedAuditEntry object """ - location: String + id: ID! """ - The organization's login name. + The name of the OAuth application. """ - login: String! + oauthApplicationName: String """ - A list of all mannequins for this organization. + The HTTP path for the OAuth application """ - mannequins( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + oauthApplicationResourcePath: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the OAuth application + """ + oauthApplicationUrl: URI - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter mannequins by login. - """ - login: String + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for mannequins returned from the connection. - """ - orderBy: MannequinOrder = {field: CREATED_AT, direction: ASC} - ): MannequinConnection! + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Get the status messages members of this entity have set that are either public or visible only to the organization. + The HTTP URL for the organization """ - memberStatuses( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for user statuses returned from the connection. - """ - orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} - ): UserStatusConnection! + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a org.oauth_app_access_unblocked event. +""" +type OrgOauthAppAccessUnblockedAuditEntry implements AuditEntry & Node & OauthApplicationAuditEntryData & OrganizationAuditEntryData { """ - Members can fork private repositories in this organization + The action name """ - membersCanForkPrivateRepositories: Boolean! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of users who are members of this organization. + The user who initiated the action """ - membersWithRole( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): OrganizationMemberConnection! + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + The HTTP path for the actor. """ - monthlyEstimatedSponsorsIncomeInCents: Int! + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's public profile name. + The HTTP URL for the actor. """ - name: String + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path creating a new team + The time the action was initiated """ - newTeamResourcePath: URI! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL creating a new team + The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object """ - newTeamUrl: URI! + id: ID! """ - Indicates if email notification delivery for this organization is restricted to verified or approved domains. + The name of the OAuth application. """ - notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue! + oauthApplicationName: String """ - The billing email for the organization. + The HTTP path for the OAuth application """ - organizationBillingEmail: String + oauthApplicationResourcePath: URI """ - A list of packages under the owner. + The HTTP URL for the OAuth application """ - packages( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + oauthApplicationUrl: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Find packages by their names. - """ - names: [String] + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering of the returned packages. - """ - orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter registry package by type. - """ - packageType: PackageType + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Find packages in a repository by ID. - """ - repositoryId: ID - ): PackageConnection! + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of users who have been invited to join this organization. + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a org.remove_billing_manager event. +""" +type OrgRemoveBillingManagerAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgRemoveBillingManagerAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The reason for the billing manager being removed. + """ + reason: OrgRemoveBillingManagerAuditEntryReason @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The reason a billing manager was removed from an Organization. +""" +enum OrgRemoveBillingManagerAuditEntryReason { + """ + SAML external identity missing + """ + SAML_EXTERNAL_IDENTITY_MISSING + + """ + SAML SSO enforcement requires an external identity + """ + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY + + """ + The organization required 2FA of its billing managers and this user did not have 2FA enabled. + """ + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE +} + +""" +Audit log entry for a org.remove_member event. +""" +type OrgRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgRemoveMemberAuditEntry object + """ + id: ID! + + """ + The types of membership the member has with the organization. + """ + membershipTypes: [OrgRemoveMemberAuditEntryMembershipType!] @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The reason for the member being removed. + """ + reason: OrgRemoveMemberAuditEntryReason @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The type of membership a user has with an Organization. +""" +enum OrgRemoveMemberAuditEntryMembershipType { + """ + Organization owners have full access and can change several settings, + including the names of repositories that belong to the Organization and Owners + team membership. In addition, organization owners can delete the organization + and all of its repositories. + """ + ADMIN + + """ + A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + """ + BILLING_MANAGER + + """ + A direct member is a user that is a member of the Organization. + """ + DIRECT_MEMBER + + """ + An outside collaborator is a person who isn't explicitly a member of the + Organization, but who has Read, Write, or Admin permissions to one or more + repositories in the organization. + """ + OUTSIDE_COLLABORATOR + + """ + A suspended member. + """ + SUSPENDED + + """ + An unaffiliated collaborator is a person who is not a member of the + Organization and does not have access to any repositories in the Organization. + """ + UNAFFILIATED +} + +""" +The reason a member was removed from an Organization. +""" +enum OrgRemoveMemberAuditEntryReason { + """ + SAML external identity missing + """ + SAML_EXTERNAL_IDENTITY_MISSING + + """ + SAML SSO enforcement requires an external identity + """ + SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY + + """ + User was removed from organization during account recovery + """ + TWO_FACTOR_ACCOUNT_RECOVERY + + """ + The organization required 2FA of its billing managers and this user did not have 2FA enabled. + """ + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE + + """ + User account has been deleted + """ + USER_ACCOUNT_DELETED +} + +""" +Audit log entry for a org.remove_outside_collaborator event. +""" +type OrgRemoveOutsideCollaboratorAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object + """ + id: ID! + + """ + The types of membership the outside collaborator has with the organization. + """ + membershipTypes: [OrgRemoveOutsideCollaboratorAuditEntryMembershipType!] @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The reason for the outside collaborator being removed from the Organization. + """ + reason: OrgRemoveOutsideCollaboratorAuditEntryReason @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The type of membership a user has with an Organization. +""" +enum OrgRemoveOutsideCollaboratorAuditEntryMembershipType { + """ + A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. + """ + BILLING_MANAGER + + """ + An outside collaborator is a person who isn't explicitly a member of the + Organization, but who has Read, Write, or Admin permissions to one or more + repositories in the organization. + """ + OUTSIDE_COLLABORATOR + + """ + An unaffiliated collaborator is a person who is not a member of the + Organization and does not have access to any repositories in the organization. + """ + UNAFFILIATED +} + +""" +The reason an outside collaborator was removed from an Organization. +""" +enum OrgRemoveOutsideCollaboratorAuditEntryReason { + """ + SAML external identity missing + """ + SAML_EXTERNAL_IDENTITY_MISSING + + """ + The organization required 2FA of its billing managers and this user did not have 2FA enabled. + """ + TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE +} + +""" +Audit log entry for a org.restore_member event. +""" +type OrgRestoreMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgRestoreMemberAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of custom email routings for the restored member. + """ + restoredCustomEmailRoutingsCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of issue assignments for the restored member. + """ + restoredIssueAssignmentsCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + Restored organization membership objects. + """ + restoredMemberships: [OrgRestoreMemberAuditEntryMembership!] @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of restored memberships. + """ + restoredMembershipsCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of repositories of the restored member. + """ + restoredRepositoriesCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of starred repositories for the restored member. + """ + restoredRepositoryStarsCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The number of watched repositories for the restored member. + """ + restoredRepositoryWatchesCount: Int @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Types of memberships that can be restored for an Organization member. +""" +union OrgRestoreMemberAuditEntryMembership = OrgRestoreMemberMembershipOrganizationAuditEntryData | OrgRestoreMemberMembershipRepositoryAuditEntryData | OrgRestoreMemberMembershipTeamAuditEntryData + +""" +Metadata for an organization membership for org.restore_member actions +""" +type OrgRestoreMemberMembershipOrganizationAuditEntryData implements OrganizationAuditEntryData { + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Metadata for a repository membership for org.restore_member actions +""" +type OrgRestoreMemberMembershipRepositoryAuditEntryData implements RepositoryAuditEntryData { + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI +} + +""" +Metadata for a team membership for org.restore_member actions +""" +type OrgRestoreMemberMembershipTeamAuditEntryData implements TeamAuditEntryData { + """ + The team associated with the action + """ + team: Team + + """ + The name of the team + """ + teamName: String + + """ + The HTTP path for this team + """ + teamResourcePath: URI + + """ + The HTTP URL for this team + """ + teamUrl: URI +} + +""" +Audit log entry for a org.unblock_user +""" +type OrgUnblockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user being unblocked by the organization. + """ + blockedUser: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the blocked user. + """ + blockedUserName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the blocked user. + """ + blockedUserResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the blocked user. + """ + blockedUserUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgUnblockUserAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a org.update_default_repository_permission +""" +type OrgUpdateDefaultRepositoryPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The new base repository permission level for the organization. + """ + permission: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The former base repository permission level for the organization. + """ + permissionWas: OrgUpdateDefaultRepositoryPermissionAuditEntryPermission @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The default permission a repository can have in an Organization. +""" +enum OrgUpdateDefaultRepositoryPermissionAuditEntryPermission { + """ + Can read, clone, push, and add collaborators to repositories. + """ + ADMIN + + """ + No default permission value. + """ + NONE + + """ + Can read and clone repositories. + """ + READ + + """ + Can read, clone and push to repositories. + """ + WRITE +} + +""" +Audit log entry for a org.update_member event. +""" +type OrgUpdateMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgUpdateMemberAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The new member permission level for the organization. + """ + permission: OrgUpdateMemberAuditEntryPermission @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The former member permission level for the organization. + """ + permissionWas: OrgUpdateMemberAuditEntryPermission @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The permissions available to members on an Organization. +""" +enum OrgUpdateMemberAuditEntryPermission { + """ + Can read, clone, push, and add collaborators to repositories. + """ + ADMIN + + """ + Can read and clone repositories. + """ + READ +} + +""" +Audit log entry for a org.update_member_repository_creation_permission event. +""" +type OrgUpdateMemberRepositoryCreationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + Can members create repositories in the organization. + """ + canCreateRepositories: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The permission for visibility level of repositories for this organization. + """ + visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The permissions available for repository creation on an Organization. +""" +enum OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility { + """ + All organization members are restricted from creating any repositories. + """ + ALL + + """ + All organization members are restricted from creating internal repositories. + """ + INTERNAL + + """ + All organization members are allowed to create any repositories. + """ + NONE + + """ + All organization members are restricted from creating private repositories. + """ + PRIVATE + + """ + All organization members are restricted from creating private or internal repositories. + """ + PRIVATE_INTERNAL + + """ + All organization members are restricted from creating public repositories. + """ + PUBLIC + + """ + All organization members are restricted from creating public or internal repositories. + """ + PUBLIC_INTERNAL + + """ + All organization members are restricted from creating public or private repositories. + """ + PUBLIC_PRIVATE +} + +""" +Audit log entry for a org.update_member_repository_invitation_permission event. +""" +type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + Can outside collaborators be invited to repositories in the organization. + """ + canInviteOutsideCollaboratorsToRepositories: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +An account on GitHub, with one or more owners, that has repositories, members and teams. +""" +type Organization implements Actor & MemberStatusable & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { + """ + The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise. + """ + announcementBanner: AnnouncementBanner + + """ + Determine if this repository owner has any items that can be pinned to their profile. + """ + anyPinnableItems( + """ + Filter to only a particular kind of pinnable item. + """ + type: PinnableItemType + ): Boolean! + + """ + Identifies the date and time when the organization was archived. + """ + archivedAt: DateTime + + """ + Audit log entries of the organization + """ + auditLog( + """ + 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 the returned audit log entries. + """ + orderBy: AuditLogOrder = {field: CREATED_AT, direction: DESC} + + """ + The query string to filter audit entries + """ + query: String + ): OrganizationAuditEntryConnection! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A URL pointing to the organization's public avatar. + """ + avatarUrl( + """ + The size of the resulting square image. + """ + size: Int + ): URI! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The organization's public profile description. + """ + description: String + + """ + The organization's public profile description rendered to HTML. + """ + descriptionHTML: String + + """ + A list of domains owned by the organization. + """ + domains( + """ + 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 + + """ + Filter by if the domain is approved. + """ + isApproved: Boolean = null + + """ + Filter by if the domain is verified. + """ + isVerified: Boolean = null + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for verifiable domains returned. + """ + orderBy: VerifiableDomainOrder = {field: DOMAIN, direction: ASC} + ): VerifiableDomainConnection + + """ + The organization's public email. + """ + email: String + + """ + A list of owners of the organization's enterprise account. + """ + enterpriseOwners( + """ + 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 enterprise owners returned from the connection. + """ + orderBy: OrgEnterpriseOwnerOrder = {field: LOGIN, direction: ASC} + + """ + The organization role to filter by. + """ + organizationRole: RoleInOrganization + + """ + The search string to look for. + """ + query: String + ): OrganizationEnterpriseOwnerConnection! + + """ + The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + """ + estimatedNextSponsorsPayoutInCents: Int! + + """ + True if this user/organization has a GitHub Sponsors listing. + """ + hasSponsorsListing: Boolean! + + """ + The Node ID of the Organization object + """ + id: ID! + + """ + Innersource security vulnerabilities scoped to this organization. + """ + innersourceVulnerabilities( + """ + 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 + + """ + An ecosystem to filter vulnerabilities by. + """ + ecosystem: SecurityAdvisoryEcosystem + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the returned vulnerabilities. + """ + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} + + """ + A package name to filter vulnerabilities by. + """ + package: String + + """ + A list of severities to filter vulnerabilities by. + """ + severities: [SecurityAdvisorySeverity!] + ): SecurityVulnerabilityConnection! + + """ + The interaction ability settings for this organization. + """ + interactionAbility: RepositoryInteractionAbility + + """ + The setting value for whether the organization has an IP allow list enabled. + """ + ipAllowListEnabledSetting: IpAllowListEnabledSettingValue! + + """ + The IP addresses that are allowed to access resources owned by the organization. + """ + ipAllowListEntries( + """ + 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 IP allow list entries returned. + """ + orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC} + ): IpAllowListEntryConnection! + + """ + The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled. + """ + ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue! + + """ + Whether the given account is sponsoring this user/organization. + """ + isSponsoredBy( + """ + The target account's login. + """ + accountLogin: String! + ): Boolean! + + """ + True if the viewer is sponsored by this user/organization. + """ + isSponsoringViewer: Boolean! + + """ + Whether the organization has verified its profile email and website. + """ + isVerified: Boolean! + + """ + A list of the organization's issue fields + """ + issueFields( + """ + 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 issue fields returned from the connection. + """ + orderBy: IssueFieldOrder = {field: CREATED_AT, direction: ASC} + ): IssueFieldsConnection + + """ + A list of the organization's issue types + """ + issueTypes( + """ + 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 issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection + + """ + Showcases a selection of repositories and gists that the profile owner has + either curated or that have been selected automatically based on popularity. + """ + itemShowcase: ProfileItemShowcase! + + """ + Calculate how much each sponsor has ever paid total to this maintainer via + GitHub Sponsors. Does not include sponsorships paid via Patreon. + """ + lifetimeReceivedSponsorshipValues( + """ + 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 results returned from the connection. + """ + orderBy: SponsorAndLifetimeValueOrder = {field: SPONSOR_LOGIN, direction: ASC} + ): SponsorAndLifetimeValueConnection! + + """ + The organization's public profile location. + """ + location: String + + """ + The organization's login name. + """ + login: String! + + """ + A list of all mannequins for this organization. + """ + mannequins( + """ + 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 + + """ + Filter mannequins by login. + """ + login: String + + """ + Ordering options for mannequins returned from the connection. + """ + orderBy: MannequinOrder = {field: CREATED_AT, direction: ASC} + ): MannequinConnection! + + """ + Get the status messages members of this entity have set that are either public or visible only to the organization. + """ + memberStatuses( + """ + 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 user statuses returned from the connection. + """ + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} + ): UserStatusConnection! + + """ + Members can fork private repositories in this organization + """ + membersCanForkPrivateRepositories: Boolean! + + """ + A list of users who are members of this organization. + """ + membersWithRole( + """ + 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 + ): OrganizationMemberConnection! + + """ + The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + """ + monthlyEstimatedSponsorsIncomeInCents: Int! + + """ + The organization's public profile name. + """ + name: String + + """ + The HTTP path creating a new team + """ + newTeamResourcePath: URI! + + """ + The HTTP URL creating a new team + """ + newTeamUrl: URI! + + """ + Indicates if email notification delivery for this organization is restricted to verified or approved domains. + """ + notificationDeliveryRestrictionEnabledSetting: NotificationRestrictionSettingValue! + + """ + The billing email for the organization. + """ + organizationBillingEmail: String + + """ + A list of packages under the owner. + """ + packages( + """ + 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 + + """ + Find packages by their names. + """ + names: [String] + + """ + Ordering of the returned packages. + """ + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} + + """ + Filter registry package by type. + """ + packageType: PackageType + + """ + Find packages in a repository by ID. + """ + repositoryId: ID + ): PackageConnection! + + """ + A list of users who have been invited to join this organization. """ pendingMembers( """ @@ -29756,1600 +33932,17106 @@ type Organization implements Actor & AnnouncementBannerI & MemberStatusable & No """ after: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: 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 + ): UserConnection! + + """ + A list of repositories and gists this profile owner can pin to their profile. + """ + pinnableItems( + """ + 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 + + """ + Filter the types of pinnable items that are returned. + """ + types: [PinnableItemType!] + ): PinnableItemConnection! + + """ + An ordered list of issue fields pinned to issues when no type is selected. + """ + pinnedIssueFields( + """ + 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 + ): IssueFieldsConnection + + """ + A list of repositories and gists this profile owner has pinned to their profile + """ + pinnedItems( + """ + 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 + + """ + Filter the types of pinned items that are returned. + """ + types: [PinnableItemType!] + ): PinnableItemConnection! + + """ + Returns how many more items this profile owner can pin to their profile. + """ + pinnedItemsRemaining: Int! + + """ + Find project by number. + """ + project( + """ + The project number to find. + """ + number: Int! + ): Project @deprecated(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.") + + """ + Find a project by number. + """ + projectV2( + """ + The project number. + """ + number: Int! + ): ProjectV2 + + """ + A list of projects under the owner. + """ + projects( + """ + 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 projects returned from the connection + """ + orderBy: ProjectOrder + + """ + Query to search projects by, currently only searching by name. + """ + search: String + + """ + A list of states to filter the projects by. + """ + states: [ProjectState!] + ): ProjectConnection! @deprecated(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.") + + """ + The HTTP path listing organization's projects + """ + projectsResourcePath: URI! + + """ + The HTTP URL listing organization's projects + """ + projectsUrl: URI! + + """ + A list of projects under the owner. + """ + projectsV2( + """ + 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 + + """ + Filter projects based on user role. + """ + minPermissionLevel: ProjectV2PermissionLevel = READ + + """ + How to order the returned projects. + """ + orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + + """ + A project to search for under the owner. + """ + query: String + ): ProjectV2Connection! + + """ + Recent projects that this user has modified in the context of the owner. + """ + recentProjects( + """ + 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 + ): ProjectV2Connection! + + """ + A list of repositories that the user owns. + """ + repositories( + """ + Array of viewer's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + current viewer owns. + """ + affiliations: [RepositoryAffiliation] + + """ + 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 + + """ + If non-null, filters repositories according to whether they have issues enabled + """ + hasIssuesEnabled: Boolean + + """ + If non-null, filters repositories according to whether they are archived and not maintained + """ + isArchived: Boolean + + """ + If non-null, filters repositories according to whether they are forks of another repository + """ + isFork: Boolean + + """ + If non-null, filters repositories according to whether they have been locked + """ + isLocked: Boolean + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for repositories returned from the connection + """ + orderBy: RepositoryOrder + + """ + Array of owner's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + organization or user being viewed owns. + """ + ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + + """ + If non-null, filters repositories according to privacy. Internal + repositories are considered private; consider using the visibility argument + if only internal repositories are needed. Cannot be combined with the + visibility argument. + """ + privacy: RepositoryPrivacy + + """ + If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. + """ + visibility: RepositoryVisibility + ): RepositoryConnection! + + """ + Find Repository. + """ + repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + + """ + Name of Repository to find. + """ + name: String! + ): Repository + + """ + A list of custom properties for this organization. + """ + repositoryCustomProperties( + """ + 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 + ): RepositoryCustomPropertyConnection + + """ + Returns a single custom property from the current organization by name. + """ + repositoryCustomProperty( + """ + The name of the custom property to be returned. + """ + propertyName: String! + ): RepositoryCustomProperty + + """ + Discussion comments this user has authored. + """ + repositoryDiscussionComments( + """ + 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 + + """ + Filter discussion comments to only those that were marked as the answer + """ + onlyAnswers: Boolean = false + + """ + Filter discussion comments to only those in a specific repository. + """ + repositoryId: ID + ): DiscussionCommentConnection! + + """ + Discussions this user has started. + """ + repositoryDiscussions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Filter discussions to only those that have been answered or not. Defaults to + including both answered and unanswered discussions. + """ + answered: Boolean = null + + """ + 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 discussions returned from the connection. + """ + orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} + + """ + Filter discussions to only those in a specific repository. + """ + repositoryId: ID + + """ + A list of states to filter the discussions by. + """ + states: [DiscussionState!] = [] + ): DiscussionConnection! + + """ + A list of all repository migrations for this organization. + """ + repositoryMigrations( + """ + 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 repository migrations returned. + """ + orderBy: RepositoryMigrationOrder = {field: CREATED_AT, direction: ASC} + + """ + Filter repository migrations by repository name. + """ + repositoryName: String + + """ + Filter repository migrations by state. + """ + state: MigrationState + ): RepositoryMigrationConnection! + + """ + When true the organization requires all members, billing managers, and outside + collaborators to enable two-factor authentication. + """ + requiresTwoFactorAuthentication: Boolean + + """ + The HTTP path for this organization. + """ + resourcePath: URI! + + """ + Returns a single ruleset from the current organization by ID. + """ + ruleset( + """ + 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 + + """ + A list of rulesets for this organization. + """ + 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 + + """ + Return rulesets configured at higher levels that apply to this organization + """ + includeParents: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Return rulesets that apply to the specified target + """ + targets: [RepositoryRulesetTarget!] = null + ): RepositoryRulesetConnection + + """ + The Organization's SAML identity provider. Visible to (1) organization owners, + (2) organization owners' personal access tokens (classic) with read:org or + admin:org scope, (3) GitHub App with an installation token with read or write + access to members. + """ + samlIdentityProvider: OrganizationIdentityProvider + + """ + List of users and organizations this entity is sponsoring. + """ + sponsoring( + """ + 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 the users and organizations returned from the connection. + """ + orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} + ): SponsorConnection! + + """ + List of sponsors for this user or organization. + """ + sponsors( + """ + 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 sponsors returned from the connection. + """ + orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} + + """ + If given, will filter for sponsors at the given tier. Will only return + sponsors whose tier the viewer is permitted to see. + """ + tierId: ID + ): SponsorConnection! + + """ + Events involving this sponsorable, such as new sponsorships. + """ + sponsorsActivities( + """ + Filter activities to only the specified actions. + """ + actions: [SponsorsActivityAction!] = [] + + """ + 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 + + """ + Whether to include those events where this sponsorable acted as the sponsor. + Defaults to only including events where this sponsorable was the recipient + of a sponsorship. + """ + includeAsSponsor: Boolean = false + + """ + Whether or not to include private activities in the result set. Defaults to including public and private activities. + """ + includePrivate: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for activity returned from the connection. + """ + orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + + """ + Filter activities returned to only those that occurred in the most recent + specified time period. Set to ALL to avoid filtering by when the activity + occurred. Will be ignored if `since` or `until` is given. + """ + period: SponsorsActivityPeriod = MONTH + + """ + Filter activities to those that occurred on or after this time. + """ + since: DateTime + + """ + Filter activities to those that occurred before this time. + """ + until: DateTime + ): SponsorsActivityConnection! + + """ + The GitHub Sponsors listing for this user or organization. + """ + sponsorsListing: SponsorsListing + + """ + The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + """ + sponsorshipForViewerAsSponsor( + """ + Whether to return the sponsorship only if it's still active. Pass false to + get the viewer's sponsorship back even if it has been cancelled. + """ + activeOnly: Boolean = true + ): Sponsorship + + """ + The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + """ + sponsorshipForViewerAsSponsorable( + """ + Whether to return the sponsorship only if it's still active. Pass false to + get the sponsorship back even if it has been cancelled. + """ + activeOnly: Boolean = true + ): Sponsorship + + """ + List of sponsorship updates sent from this sponsorable to sponsors. + """ + sponsorshipNewsletters( + """ + 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 sponsorship updates returned from the connection. + """ + orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC} + ): SponsorshipNewsletterConnection! + + """ + The sponsorships where this user or organization is the maintainer receiving the funds. + """ + sponsorshipsAsMaintainer( + """ + Whether to include only sponsorships that are active right now, versus all + sponsorships this maintainer has ever received. + """ + activeOnly: Boolean = true + + """ + 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 + + """ + Whether or not to include private sponsorships in the result set + """ + includePrivate: Boolean = false + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for sponsorships returned from this connection. If left + blank, the sponsorships will be ordered based on relevancy to the viewer. + """ + orderBy: SponsorshipOrder + ): SponsorshipConnection! + + """ + The sponsorships where this user or organization is the funder. + """ + sponsorshipsAsSponsor( + """ + Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. + """ + activeOnly: Boolean = true + + """ + 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 + + """ + Filter sponsorships returned to those for the specified maintainers. That + is, the recipient of the sponsorship is a user or organization with one of + the given logins. + """ + maintainerLogins: [String!] + + """ + Ordering options for sponsorships returned from this connection. If left + blank, the sponsorships will be ordered based on relevancy to the viewer. + """ + orderBy: SponsorshipOrder + ): SponsorshipConnection! + + """ + Find an organization's team by its slug. + """ + team( + """ + The name or slug of the team to find. + """ + slug: String! + ): Team + + """ + A list of teams in this organization. + """ + teams( + """ + 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 + + """ + If true, filters teams that are mapped to an LDAP Group (Enterprise only) + """ + ldapMapped: Boolean + + """ + If non-null, filters teams according to notification setting + """ + notificationSetting: TeamNotificationSetting + + """ + Ordering options for teams returned from the connection + """ + orderBy: TeamOrder + + """ + If non-null, filters teams according to privacy + """ + privacy: TeamPrivacy + + """ + If non-null, filters teams with query on team name and team slug + """ + query: String + + """ + If non-null, filters teams according to whether the viewer is an admin or member on team + """ + role: TeamRole + + """ + If true, restrict to only root teams + """ + rootTeamsOnly: Boolean = false + + """ + User logins to filter by + """ + userLogins: [String!] + ): TeamConnection! + + """ + The HTTP path listing organization's teams + """ + teamsResourcePath: URI! + + """ + The HTTP URL listing organization's teams + """ + teamsUrl: URI! + + """ + The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + spent on GitHub to fund sponsorships. Only returns a value when viewed by the + user themselves or by a user who can manage sponsorships for the requested organization. + """ + totalSponsorshipAmountAsSponsorInCents( + """ + Filter payments to those that occurred on or after this time. + """ + since: DateTime + + """ + Filter payments to those made to the users or organizations with the specified usernames. + """ + sponsorableLogins: [String!] = [] + + """ + Filter payments to those that occurred before this time. + """ + until: DateTime + ): Int + + """ + The organization's Twitter username. + """ + twitterUsername: String + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this organization. + """ + url: URI! + + """ + Organization is adminable by the viewer. + """ + viewerCanAdminister: Boolean! + + """ + Can the viewer pin repositories and gists to the profile? + """ + viewerCanChangePinnedItems: Boolean! + + """ + Can the current viewer create new projects on this owner. + """ + viewerCanCreateProjects: Boolean! @deprecated(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.") + + """ + Viewer can create repositories on this organization + """ + viewerCanCreateRepositories: Boolean! + + """ + Viewer can create teams on this organization. + """ + viewerCanCreateTeams: Boolean! + + """ + Whether or not the viewer is able to sponsor this user/organization. + """ + viewerCanSponsor: Boolean! + + """ + Viewer is an active member of this organization. + """ + viewerIsAMember: Boolean! + + """ + Whether or not this Organization is followed by the viewer. + """ + viewerIsFollowing: Boolean! + + """ + True if the viewer is sponsoring this user/organization. + """ + viewerIsSponsoring: Boolean! + + """ + Whether contributors are required to sign off on web-based commits for repositories in this organization. + """ + webCommitSignoffRequired: Boolean! + + """ + The organization's public profile URL. + """ + websiteUrl: URI +} + +""" +An audit entry in an organization audit log. +""" +union OrganizationAuditEntry = MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | OauthApplicationCreateAuditEntry | OrgAddBillingManagerAuditEntry | OrgAddMemberAuditEntry | OrgBlockUserAuditEntry | OrgConfigDisableCollaboratorsOnlyAuditEntry | OrgConfigEnableCollaboratorsOnlyAuditEntry | OrgCreateAuditEntry | OrgDisableOauthAppRestrictionsAuditEntry | OrgDisableSamlAuditEntry | OrgDisableTwoFactorRequirementAuditEntry | OrgEnableOauthAppRestrictionsAuditEntry | OrgEnableSamlAuditEntry | OrgEnableTwoFactorRequirementAuditEntry | OrgInviteMemberAuditEntry | OrgInviteToBusinessAuditEntry | OrgOauthAppAccessApprovedAuditEntry | OrgOauthAppAccessBlockedAuditEntry | OrgOauthAppAccessDeniedAuditEntry | OrgOauthAppAccessRequestedAuditEntry | OrgOauthAppAccessUnblockedAuditEntry | OrgRemoveBillingManagerAuditEntry | OrgRemoveMemberAuditEntry | OrgRemoveOutsideCollaboratorAuditEntry | OrgRestoreMemberAuditEntry | OrgUnblockUserAuditEntry | OrgUpdateDefaultRepositoryPermissionAuditEntry | OrgUpdateMemberAuditEntry | OrgUpdateMemberRepositoryCreationPermissionAuditEntry | OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | PrivateRepositoryForkingDisableAuditEntry | PrivateRepositoryForkingEnableAuditEntry | RepoAccessAuditEntry | RepoAddMemberAuditEntry | RepoAddTopicAuditEntry | RepoArchivedAuditEntry | RepoChangeMergeSettingAuditEntry | RepoConfigDisableAnonymousGitAccessAuditEntry | RepoConfigDisableCollaboratorsOnlyAuditEntry | RepoConfigDisableContributorsOnlyAuditEntry | RepoConfigDisableSockpuppetDisallowedAuditEntry | RepoConfigEnableAnonymousGitAccessAuditEntry | RepoConfigEnableCollaboratorsOnlyAuditEntry | RepoConfigEnableContributorsOnlyAuditEntry | RepoConfigEnableSockpuppetDisallowedAuditEntry | RepoConfigLockAnonymousGitAccessAuditEntry | RepoConfigUnlockAnonymousGitAccessAuditEntry | RepoCreateAuditEntry | RepoDestroyAuditEntry | RepoRemoveMemberAuditEntry | RepoRemoveTopicAuditEntry | RepositoryVisibilityChangeDisableAuditEntry | RepositoryVisibilityChangeEnableAuditEntry | TeamAddMemberAuditEntry | TeamAddRepositoryAuditEntry | TeamChangeParentTeamAuditEntry | TeamRemoveMemberAuditEntry | TeamRemoveRepositoryAuditEntry + +""" +The connection type for OrganizationAuditEntry. +""" +type OrganizationAuditEntryConnection { + """ + A list of edges. + """ + edges: [OrganizationAuditEntryEdge] + + """ + A list of nodes. + """ + nodes: [OrganizationAuditEntry] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Metadata for an audit entry with action org.* +""" +interface OrganizationAuditEntryData { + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +An edge in a connection. +""" +type OrganizationAuditEntryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: OrganizationAuditEntry +} + +""" +A list of organizations managed by an enterprise. +""" +type OrganizationConnection { + """ + A list of edges. + """ + edges: [OrganizationEdge] + + """ + A list of nodes. + """ + nodes: [Organization] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type OrganizationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Organization +} + +""" +The connection type for User. +""" +type OrganizationEnterpriseOwnerConnection { + """ + A list of edges. + """ + edges: [OrganizationEnterpriseOwnerEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An enterprise owner in the context of an organization that is part of the enterprise. +""" +type OrganizationEnterpriseOwnerEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: User + + """ + The role of the owner with respect to the organization. + """ + organizationRole: RoleInOrganization! +} + +""" +An Identity Provider configured to provision SAML and SCIM identities for +Organizations. Visible to (1) organization owners, (2) organization owners' +personal access tokens (classic) with read:org or admin:org scope, (3) GitHub +App with an installation token with read or write access to members. +""" +type OrganizationIdentityProvider implements Node { + """ + The digest algorithm used to sign SAML requests for the Identity Provider. + """ + digestMethod: URI + + """ + External Identities provisioned by this Identity Provider + """ + externalIdentities( + """ + 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 + + """ + Filter to external identities with the users login + """ + login: String + + """ + Filter to external identities with valid org membership only + """ + membersOnly: Boolean + + """ + Filter to external identities with the users userName/NameID attribute + """ + userName: String + ): ExternalIdentityConnection! + + """ + The Node ID of the OrganizationIdentityProvider object + """ + id: ID! + + """ + The x509 certificate used by the Identity Provider to sign assertions and responses. + """ + idpCertificate: X509Certificate + + """ + The Issuer Entity ID for the SAML Identity Provider + """ + issuer: String + + """ + Organization this Identity Provider belongs to + """ + organization: Organization + + """ + The signature algorithm used to sign SAML requests for the Identity Provider. + """ + signatureMethod: URI + + """ + The URL endpoint for the Identity Provider's SAML SSO. + """ + ssoUrl: URI +} + +""" +An Invitation for a user to an organization. +""" +type OrganizationInvitation implements Node { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The email address of the user invited to the organization. + """ + email: String + + """ + The Node ID of the OrganizationInvitation object + """ + id: ID! + + """ + The source of the invitation. + """ + invitationSource: OrganizationInvitationSource! + + """ + The type of invitation that was sent (e.g. email, user). + """ + invitationType: OrganizationInvitationType! + + """ + The user who was invited to the organization. + """ + invitee: User + + """ + The user who created the invitation. + """ + inviter: User! @deprecated(reason: "`inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC.") + + """ + The user who created the invitation. + """ + inviterActor: User + + """ + The organization the invite is for + """ + organization: Organization! + + """ + The user's pending role in the organization (e.g. member, owner). + """ + role: OrganizationInvitationRole! +} + +""" +The connection type for OrganizationInvitation. +""" +type OrganizationInvitationConnection { + """ + A list of edges. + """ + edges: [OrganizationInvitationEdge] + + """ + A list of nodes. + """ + nodes: [OrganizationInvitation] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type OrganizationInvitationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: OrganizationInvitation +} + +""" +The possible organization invitation roles. +""" +enum OrganizationInvitationRole { + """ + The user is invited to be an admin of the organization. + """ + ADMIN + + """ + The user is invited to be a billing manager of the organization. + """ + BILLING_MANAGER + + """ + The user is invited to be a direct member of the organization. + """ + DIRECT_MEMBER + + """ + The user's previous role will be reinstated. + """ + REINSTATE +} + +""" +The possible organization invitation sources. +""" +enum OrganizationInvitationSource { + """ + The invitation was created with an enterprise organization + """ + ENTERPRISE_ORGANIZATION_CREATION + + """ + The invitation was created from the web interface or from API + """ + MEMBER + + """ + The invitation was created from SCIM + """ + SCIM + + """ + The invitation was sent before this feature was added + """ + UNKNOWN +} + +""" +The possible organization invitation types. +""" +enum OrganizationInvitationType { + """ + The invitation was to an email address. + """ + EMAIL + + """ + The invitation was to an existing user. + """ + USER +} + +""" +A list of users who belong to the organization. +""" +type OrganizationMemberConnection { + """ + A list of edges. + """ + edges: [OrganizationMemberEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a user within an organization. +""" +type OrganizationMemberEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. + """ + hasTwoFactorEnabled: Boolean + + """ + The item at the end of the edge. + """ + node: User + + """ + The role this user has in the organization. + """ + role: OrganizationMemberRole +} + +""" +The possible roles within an organization for its members. +""" +enum OrganizationMemberRole { + """ + The user is an administrator of the organization. + """ + ADMIN + + """ + The user is a member of the organization. + """ + MEMBER +} + +""" +The possible values for the members can create repositories setting on an organization. +""" +enum OrganizationMembersCanCreateRepositoriesSettingValue { + """ + Members will be able to create public and private repositories. + """ + ALL + + """ + Members will not be able to create public or private repositories. + """ + DISABLED + + """ + Members will be able to create only internal repositories. + """ + INTERNAL + + """ + Members will be able to create only private repositories. + """ + PRIVATE +} + +""" +A GitHub Enterprise Importer (GEI) organization migration. +""" +type OrganizationMigration implements Node { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: String + + """ + The reason the organization migration failed. + """ + failureReason: String + + """ + The Node ID of the OrganizationMigration object + """ + id: ID! + + """ + The remaining amount of repos to be migrated. + """ + remainingRepositoriesCount: Int + + """ + The name of the source organization to be migrated. + """ + sourceOrgName: String! + + """ + The URL of the source organization to migrate. + """ + sourceOrgUrl: URI! + + """ + The migration state. + """ + state: OrganizationMigrationState! + + """ + The name of the target organization. + """ + targetOrgName: String! + + """ + The total amount of repositories to be migrated. + """ + totalRepositoriesCount: Int +} + +""" +The Octoshift Organization migration state. +""" +enum OrganizationMigrationState { + """ + The Octoshift migration has failed. + """ + FAILED + + """ + The Octoshift migration has invalid credentials. + """ + FAILED_VALIDATION + + """ + The Octoshift migration is in progress. + """ + IN_PROGRESS + + """ + The Octoshift migration has not started. + """ + NOT_STARTED + + """ + The Octoshift migration needs to have its credentials validated. + """ + PENDING_VALIDATION + + """ + The Octoshift migration is performing post repository migrations. + """ + POST_REPO_MIGRATION + + """ + The Octoshift migration is performing pre repository migrations. + """ + PRE_REPO_MIGRATION + + """ + The Octoshift migration has been queued. + """ + QUEUED + + """ + The Octoshift org migration is performing repository migrations. + """ + REPO_MIGRATION + + """ + The Octoshift migration has succeeded. + """ + SUCCEEDED +} + +""" +Used for argument of CreateProjectV2 mutation. +""" +union OrganizationOrUser = Organization | User + +""" +Ordering options for organization connections. +""" +input OrganizationOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order organizations by. + """ + field: OrganizationOrderField! +} + +""" +Properties by which organization connections can be ordered. +""" +enum OrganizationOrderField { + """ + Order organizations by creation time + """ + CREATED_AT + + """ + Order organizations by login + """ + LOGIN +} + +""" +Parameters to be used for the organization_property condition +""" +type OrganizationPropertyConditionTarget { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinition!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinition!]! +} + +""" +Parameters to be used for the organization_property condition +""" +input OrganizationPropertyConditionTargetInput { + """ + Array of organization properties that must not match. + """ + exclude: [OrganizationPropertyTargetDefinitionInput!]! + + """ + Array of organization properties that must match + """ + include: [OrganizationPropertyTargetDefinitionInput!]! +} + +""" +A property that must match +""" +type OrganizationPropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input OrganizationPropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +An organization teams hovercard context +""" +type OrganizationTeamsHovercardContext implements HovercardContext { + """ + A string describing this context + """ + message: String! + + """ + An octicon to accompany this context + """ + octicon: String! + + """ + Teams in this organization the user is a member of that are relevant + """ + relevantTeams( + """ + 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 + ): TeamConnection! + + """ + The path for the full team list for this user + """ + teamsResourcePath: URI! + + """ + The URL for the full team list for this user + """ + teamsUrl: URI! + + """ + The total number of teams the user is on in the organization + """ + totalTeamCount: Int! +} + +""" +An organization list hovercard context +""" +type OrganizationsHovercardContext implements HovercardContext { + """ + A string describing this context + """ + message: String! + + """ + An octicon to accompany this context + """ + octicon: String! + + """ + Organizations this user is a member of that are relevant + """ + relevantOrganizations( + """ + 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 the User's organizations. + """ + orderBy: OrganizationOrder = null + ): OrganizationConnection! + + """ + The total number of organizations this user is in + """ + totalOrganizationCount: Int! +} + +""" +Information for an uploaded package. +""" +type Package implements Node { + """ + The Node ID of the Package object + """ + id: ID! + + """ + Find the latest version for the package. + """ + latestVersion: PackageVersion + + """ + Identifies the name of the package. + """ + name: String! + + """ + Identifies the type of the package. + """ + packageType: PackageType! + + """ + The repository this package belongs to. + """ + repository: Repository + + """ + Statistics about package activity. + """ + statistics: PackageStatistics + + """ + Find package version by version string. + """ + version( + """ + The package version. + """ + version: String! + ): PackageVersion + + """ + list of versions for this package + """ + versions( + """ + 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 of the returned packages. + """ + orderBy: PackageVersionOrder = {field: CREATED_AT, direction: DESC} + ): PackageVersionConnection! +} + +""" +The connection type for Package. +""" +type PackageConnection { + """ + A list of edges. + """ + edges: [PackageEdge] + + """ + A list of nodes. + """ + nodes: [Package] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PackageEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Package +} + +""" +A file in a package version. +""" +type PackageFile implements Node { + """ + The Node ID of the PackageFile object + """ + id: ID! + + """ + MD5 hash of the file. + """ + md5: String + + """ + Name of the file. + """ + name: String! + + """ + The package version this file belongs to. + """ + packageVersion: PackageVersion + + """ + SHA1 hash of the file. + """ + sha1: String + + """ + SHA256 hash of the file. + """ + sha256: String + + """ + Size of the file in bytes. + """ + size: Int + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + URL to download the asset. + """ + url: URI +} + +""" +The connection type for PackageFile. +""" +type PackageFileConnection { + """ + A list of edges. + """ + edges: [PackageFileEdge] + + """ + A list of nodes. + """ + nodes: [PackageFile] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PackageFileEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PackageFile +} + +""" +Ways in which lists of package files can be ordered upon return. +""" +input PackageFileOrder { + """ + The direction in which to order package files by the specified field. + """ + direction: OrderDirection + + """ + The field in which to order package files by. + """ + field: PackageFileOrderField +} + +""" +Properties by which package file connections can be ordered. +""" +enum PackageFileOrderField { + """ + Order package files by creation time + """ + CREATED_AT +} + +""" +Ways in which lists of packages can be ordered upon return. +""" +input PackageOrder { + """ + The direction in which to order packages by the specified field. + """ + direction: OrderDirection + + """ + The field in which to order packages by. + """ + field: PackageOrderField +} + +""" +Properties by which package connections can be ordered. +""" +enum PackageOrderField { + """ + Order packages by creation time + """ + CREATED_AT +} + +""" +Represents an owner of a package. +""" +interface PackageOwner { + """ + The Node ID of the PackageOwner object + """ + id: ID! + + """ + A list of packages under the owner. + """ + packages( + """ + 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 + + """ + Find packages by their names. + """ + names: [String] + + """ + Ordering of the returned packages. + """ + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} + + """ + Filter registry package by type. + """ + packageType: PackageType + + """ + Find packages in a repository by ID. + """ + repositoryId: ID + ): PackageConnection! +} + +""" +Represents a object that contains package activity statistics such as downloads. +""" +type PackageStatistics { + """ + Number of times the package was downloaded since it was created. + """ + downloadsTotalCount: Int! +} + +""" +A version tag contains the mapping between a tag name and a version. +""" +type PackageTag implements Node { + """ + The Node ID of the PackageTag object + """ + id: ID! + + """ + Identifies the tag name of the version. + """ + name: String! + + """ + Version that the tag is associated with. + """ + version: PackageVersion +} + +""" +The possible types of a package. +""" +enum PackageType { + """ + A debian package. + """ + DEBIAN + + """ + A docker image. + """ + DOCKER @deprecated(reason: "DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2021-06-21 UTC.") + + """ + A maven package. + """ + MAVEN @deprecated(reason: "MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2023-02-10 UTC.") + + """ + An npm package. + """ + NPM @deprecated(reason: "NPM will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC.") + + """ + A nuget package. + """ + NUGET @deprecated(reason: "NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC.") + + """ + A python package. + """ + PYPI + + """ + A rubygems package. + """ + RUBYGEMS @deprecated(reason: "RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-12-28 UTC.") +} + +""" +Information about a specific package version. +""" +type PackageVersion implements Node { + """ + List of files associated with this package version + """ + files( + """ + 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 of the returned package files. + """ + orderBy: PackageFileOrder = {field: CREATED_AT, direction: ASC} + ): PackageFileConnection! + + """ + The Node ID of the PackageVersion object + """ + id: ID! + + """ + The package associated with this version. + """ + package: Package + + """ + The platform this version was built for. + """ + platform: String + + """ + Whether or not this version is a pre-release. + """ + preRelease: Boolean! + + """ + The README of this package version. + """ + readme: String + + """ + The release associated with this package version. + """ + release: Release + + """ + Statistics about package activity. + """ + statistics: PackageVersionStatistics + + """ + The package version summary. + """ + summary: String + + """ + The version string. + """ + version: String! +} + +""" +The connection type for PackageVersion. +""" +type PackageVersionConnection { + """ + A list of edges. + """ + edges: [PackageVersionEdge] + + """ + A list of nodes. + """ + nodes: [PackageVersion] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PackageVersionEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PackageVersion +} + +""" +Ways in which lists of package versions can be ordered upon return. +""" +input PackageVersionOrder { + """ + The direction in which to order package versions by the specified field. + """ + direction: OrderDirection + + """ + The field in which to order package versions by. + """ + field: PackageVersionOrderField +} + +""" +Properties by which package version connections can be ordered. +""" +enum PackageVersionOrderField { + """ + Order package versions by creation time + """ + CREATED_AT +} + +""" +Represents a object that contains package version activity statistics such as downloads. +""" +type PackageVersionStatistics { + """ + Number of times the package was downloaded since it was created. + """ + downloadsTotalCount: Int! +} + +""" +Information about pagination in a connection. +""" +type PageInfo { + """ + When paginating forwards, the cursor to continue. + """ + endCursor: String + + """ + When paginating forwards, are there more items? + """ + hasNextPage: Boolean! + + """ + When paginating backwards, are there more items? + """ + hasPreviousPage: Boolean! + + """ + When paginating backwards, the cursor to continue. + """ + 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. +""" +enum PatchStatus { + """ + The file was added. Git status 'A'. + """ + ADDED + + """ + The file's type was changed. Git status 'T'. + """ + CHANGED + + """ + The file was copied. Git status 'C'. + """ + COPIED + + """ + The file was deleted. Git status 'D'. + """ + DELETED + + """ + The file's contents were changed. Git status 'M'. + """ + MODIFIED + + """ + The file was renamed. Git status 'R'. + """ + RENAMED +} + +""" +A pending suggestion to assign a user to an issue. +""" +type PendingAssigneeSuggestion implements Node { + """ + The actor who suggested the assignee. + """ + actor: Actor + + """ + The suggested assignee. + """ + assignee: Assignee + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The Node ID of the PendingAssigneeSuggestion object + """ + id: ID! + + """ + The rationale provided for suggesting this assignee. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to close an issue. +""" +type PendingCloseSuggestion implements Node { + """ + The actor who suggested closing the issue. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The issue or pull request the suggestion proposes marking this issue as a + duplicate of. Only set when `stateReason` is `DUPLICATE`. + """ + duplicateOf: IssueOrPullRequest + + """ + The Node ID of the PendingCloseSuggestion object + """ + id: ID! + + """ + The rationale provided for suggesting this close. + """ + rationale: String + + """ + The state reason the suggestion would apply when closing the issue. + """ + stateReason: IssueStateReason + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to set an issue field's value. +""" +type PendingFieldSuggestion implements Node { + """ + The actor who suggested the field value. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The Node ID of the PendingFieldSuggestion object + """ + id: ID! + + """ + The issue field the suggestion targets. + """ + issueField: IssueFields + + """ + The rationale provided for suggesting this field value. + """ + rationale: String + + """ + The suggested value for the field, as a string representation of the value originally provided. + """ + suggestedValue: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion for an issue. May target the issue's type, labels, field values, assignees, or close state. +""" +union PendingIssueSuggestion = PendingAssigneeSuggestion | PendingCloseSuggestion | PendingFieldSuggestion | PendingLabelSuggestion | PendingTypeSuggestion + +""" +The kind of pending issue suggestion being applied. +""" +enum PendingIssueSuggestionKind { + """ + Add the suggested assignee to the issue. + """ + ASSIGNEE + + """ + Close the issue with the suggested state reason (and duplicate target, when applicable). + """ + CLOSE + + """ + Set the suggested issue field value on the issue. + """ + FIELD + + """ + Add the suggested label to the issue. + """ + LABEL + + """ + Set the issue's type to the suggested issue type. + """ + TYPE +} + +""" +A reference to a single pending issue suggestion to apply. +""" +input PendingIssueSuggestionRef { + """ + The ID of the suggested assignee. Required when kind is ASSIGNEE. + """ + assigneeId: ID + + """ + The ID of the suggested issue field. Required when kind is FIELD. + """ + issueFieldId: ID + + """ + The ID of the suggested issue type. Required when kind is TYPE. + """ + issueTypeId: ID + + """ + The kind of suggestion to apply. + """ + kind: PendingIssueSuggestionKind! + + """ + The ID of the suggested label. Required when kind is LABEL. + """ + labelId: ID +} + +""" +A pending suggestion to add a label to an issue. +""" +type PendingLabelSuggestion implements Node { + """ + The actor who suggested the label. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The Node ID of the PendingLabelSuggestion object + """ + id: ID! + + """ + The suggested label. + """ + label: Label + + """ + The rationale provided for suggesting this label. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +A pending suggestion to change an issue's type. +""" +type PendingTypeSuggestion implements Node { + """ + The actor who suggested the type change. + """ + actor: Actor + + """ + When the suggestion was created. + """ + createdAt: DateTime! + + """ + The Node ID of the PendingTypeSuggestion object + """ + id: ID! + + """ + The suggested issue type. + """ + issueType: IssueType + + """ + The rationale provided for suggesting this type change. + """ + rationale: String + + """ + When the suggestion was last updated. + """ + updatedAt: DateTime +} + +""" +Types that can grant permissions on a repository to a user +""" +union PermissionGranter = EnterpriseTeam | Organization | Repository | Team + +""" +A level of permission and source for a user's access to a repository. +""" +type PermissionSource { + """ + The organization the repository belongs to. + """ + organization: Organization! + + """ + The level of access this source has granted to the user. + """ + permission: DefaultRepositoryPermissionField! + + """ + The name of the role this source has granted to the user. + """ + roleName: String + + """ + The source of this permission. + """ + source: PermissionGranter! +} + +""" +Autogenerated input type of PinEnvironment +""" +input PinEnvironmentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the environment to modify + """ + environmentId: ID! + + """ + The desired state of the environment. If true, environment will be pinned. If false, it will be unpinned. + """ + pinned: Boolean! +} + +""" +Autogenerated return type of PinEnvironment. +""" +type PinEnvironmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The environment that was pinned + """ + environment: Environment + + """ + The pinned environment if we pinned + """ + pinnedEnvironment: PinnedEnvironment +} + +""" +Autogenerated input type of PinIssueComment +""" +input PinIssueCommentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Issue Comment to pin. Comment pinning is not supported on Pull Requests. + """ + issueCommentId: ID! +} + +""" +Autogenerated return type of PinIssueComment. +""" +type PinIssueCommentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Issue Comment that was pinned + """ + issueComment: IssueComment +} + +""" +Autogenerated input type of PinIssue +""" +input PinIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue to be pinned + """ + issueId: ID! +} + +""" +Autogenerated return type of PinIssue. +""" +type PinIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue that was pinned + """ + issue: Issue +} + +""" +Entities that can be pinned. +""" +interface Pinnable { + """ + Indicates whether or not this entity is currently pinned. + """ + isPinned: Boolean + + """ + Identifies the date and time when this entity was pinned. + """ + pinnedAt: DateTime + + """ + The user who pinned this entity. + """ + pinnedBy: User + + """ + Check if the current viewer can pin this entity. + """ + viewerCanPin: Boolean! + + """ + Check if the current viewer can unpin this entity. + """ + viewerCanUnpin: Boolean! +} + +""" +Types that can be pinned to a profile page. +""" +union PinnableItem = Gist | Repository + +""" +The connection type for PinnableItem. +""" +type PinnableItemConnection { + """ + A list of edges. + """ + edges: [PinnableItemEdge] + + """ + A list of nodes. + """ + nodes: [PinnableItem] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PinnableItemEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PinnableItem +} + +""" +Represents items that can be pinned to a profile page or dashboard. +""" +enum PinnableItemType { + """ + A gist. + """ + GIST + + """ + An issue. + """ + ISSUE + + """ + An organization. + """ + ORGANIZATION + + """ + A project. + """ + PROJECT + + """ + A pull request. + """ + PULL_REQUEST + + """ + A repository. + """ + REPOSITORY + + """ + A team. + """ + TEAM + + """ + A user. + """ + USER +} + +""" +A Pinned Discussion is a discussion pinned to a repository's index page. +""" +type PinnedDiscussion implements Node & RepositoryNode { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The discussion that was pinned. + """ + discussion: Discussion! + + """ + Color stops of the chosen gradient + """ + gradientStopColors: [String!]! + + """ + The Node ID of the PinnedDiscussion object + """ + id: ID! + + """ + Background texture pattern + """ + pattern: PinnedDiscussionPattern! + + """ + The actor that pinned this discussion. + """ + pinnedBy: Actor! + + """ + Preconfigured background gradient option + """ + preconfiguredGradient: PinnedDiscussionGradient + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The connection type for PinnedDiscussion. +""" +type PinnedDiscussionConnection { + """ + A list of edges. + """ + edges: [PinnedDiscussionEdge] + + """ + A list of nodes. + """ + nodes: [PinnedDiscussion] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PinnedDiscussionEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PinnedDiscussion +} + +""" +Preconfigured gradients that may be used to style discussions pinned within a repository. +""" +enum PinnedDiscussionGradient { + """ + A gradient of blue to mint + """ + BLUE_MINT + + """ + A gradient of blue to purple + """ + BLUE_PURPLE + + """ + A gradient of pink to blue + """ + PINK_BLUE + + """ + A gradient of purple to coral + """ + PURPLE_CORAL + + """ + A gradient of red to orange + """ + RED_ORANGE +} + +""" +Preconfigured background patterns that may be used to style discussions pinned within a repository. +""" +enum PinnedDiscussionPattern { + """ + An upward-facing chevron pattern + """ + CHEVRON_UP + + """ + A hollow dot pattern + """ + DOT + + """ + A solid dot pattern + """ + DOT_FILL + + """ + A heart pattern + """ + HEART_FILL + + """ + A plus sign pattern + """ + PLUS + + """ + A lightning bolt pattern + """ + ZAP +} + +""" +Represents a pinned environment on a given repository +""" +type PinnedEnvironment implements Node { + """ + Identifies the date and time when the pinned environment was created + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Identifies the environment associated. + """ + environment: Environment! + + """ + The Node ID of the PinnedEnvironment object + """ + id: ID! + + """ + Identifies the position of the pinned environment. + """ + position: Int! + + """ + The repository that this environment was pinned to. + """ + repository: Repository! +} + +""" +The connection type for PinnedEnvironment. +""" +type PinnedEnvironmentConnection { + """ + A list of edges. + """ + edges: [PinnedEnvironmentEdge] + + """ + A list of nodes. + """ + nodes: [PinnedEnvironment] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PinnedEnvironmentEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PinnedEnvironment +} + +""" +Ordering options for pinned environments +""" +input PinnedEnvironmentOrder { + """ + The direction in which to order pinned environments by the specified field. + """ + direction: OrderDirection! + + """ + The field to order pinned environments by. + """ + field: PinnedEnvironmentOrderField! +} + +""" +Properties by which pinned environments connections can be ordered +""" +enum PinnedEnvironmentOrderField { + """ + Order pinned environments by position + """ + POSITION +} + +""" +Represents a 'pinned' event on a given issue or pull request. +""" +type PinnedEvent 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 PinnedEvent object + """ + id: ID! + + """ + Identifies the issue associated with the event. + """ + issue: Issue! +} + +""" +A Pinned Issue is a issue pinned to a repository's index page. +""" +type PinnedIssue implements Node { + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the PinnedIssue object + """ + id: ID! + + """ + The issue that was pinned. + """ + issue: Issue! + + """ + The actor that pinned this issue. + """ + pinnedBy: Actor! + + """ + The repository that this issue was pinned to. + """ + repository: Repository! +} + +""" +A comment pinned to an Issue. +""" +type PinnedIssueComment implements Node { + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the PinnedIssueComment object + """ + id: ID! + + """ + The issue that this comment belongs to. + """ + issue: Issue! + + """ + The comment that was pinned. + """ + issueComment: IssueComment! + + """ + Identifies when the comment was pinned. + """ + pinnedAt: DateTime! + + """ + The actor that pinned this comment. + """ + pinnedBy: Actor! +} + +""" +The connection type for PinnedIssue. +""" +type PinnedIssueConnection { + """ + A list of edges. + """ + edges: [PinnedIssueEdge] + + """ + A list of nodes. + """ + nodes: [PinnedIssue] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PinnedIssueEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PinnedIssue +} + +""" +An ISO-8601 encoded UTC date string with millisecond precision. +""" +scalar PreciseDateTime + +""" +Audit log entry for a private_repository_forking.disable event. +""" +type PrivateRepositoryForkingDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for this enterprise. + """ + enterpriseResourcePath: URI + + """ + The slug of the enterprise. + """ + enterpriseSlug: String + + """ + The HTTP URL for this enterprise. + """ + enterpriseUrl: URI + + """ + The Node ID of the PrivateRepositoryForkingDisableAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a private_repository_forking.enable event. +""" +type PrivateRepositoryForkingEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for this enterprise. + """ + enterpriseResourcePath: URI + + """ + The slug of the enterprise. + """ + enterpriseSlug: String + + """ + The HTTP URL for this enterprise. + """ + enterpriseUrl: URI + + """ + The Node ID of the PrivateRepositoryForkingEnableAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +A curatable list of repositories relating to a repository owner, which defaults +to showing the most popular repositories they own. +""" +type ProfileItemShowcase { + """ + Whether or not the owner has pinned any repositories or gists. + """ + hasPinnedItems: Boolean! + + """ + The repositories and gists in the showcase. If the profile owner has any + pinned items, those will be returned. Otherwise, the profile owner's popular + repositories will be returned. + """ + items( + """ + 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 + ): PinnableItemConnection! +} + +""" +Represents any entity on GitHub that has a profile page. +""" +interface ProfileOwner { + """ + Determine if this repository owner has any items that can be pinned to their profile. + """ + anyPinnableItems( + """ + Filter to only a particular kind of pinnable item. + """ + type: PinnableItemType + ): Boolean! + + """ + The public profile email. + """ + email: String + + """ + The Node ID of the ProfileOwner object + """ + id: ID! + + """ + Showcases a selection of repositories and gists that the profile owner has + either curated or that have been selected automatically based on popularity. + """ + itemShowcase: ProfileItemShowcase! + + """ + The public profile location. + """ + location: String + + """ + The username used to login. + """ + login: String! + + """ + The public profile name. + """ + name: String + + """ + A list of repositories and gists this profile owner can pin to their profile. + """ + pinnableItems( + """ + 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 + + """ + Filter the types of pinnable items that are returned. + """ + types: [PinnableItemType!] + ): PinnableItemConnection! + + """ + A list of repositories and gists this profile owner has pinned to their profile + """ + pinnedItems( + """ + 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 + + """ + Filter the types of pinned items that are returned. + """ + types: [PinnableItemType!] + ): PinnableItemConnection! + + """ + Returns how many more items this profile owner can pin to their profile. + """ + pinnedItemsRemaining: Int! + + """ + Can the viewer pin repositories and gists to the profile? + """ + viewerCanChangePinnedItems: Boolean! + + """ + The public profile website URL. + """ + websiteUrl: URI +} + +""" +Projects manage issues, pull requests and notes within a project owner. +""" +type Project implements Closable & Node & Updatable { + """ + The project's description body. + """ + body: String @deprecated(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.") + + """ + The projects description body rendered to HTML. + """ + bodyHTML: HTML! @deprecated(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 if the object is closed (definition of closed may depend on type) + """ + closed: Boolean! + + """ + Identifies the date and time when the object was closed. + """ + closedAt: DateTime + + """ + List of columns in the project + """ + columns( + """ + 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 + ): ProjectColumnConnection! @deprecated(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.") + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! @deprecated(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.") + + """ + The actor who originally created the project. + """ + creator: Actor @deprecated(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.") + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(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.") + + """ + The Node ID of the Project object + """ + id: ID! @deprecated(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.") + + """ + The project's name. + """ + name: String! @deprecated(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.") + + """ + The project's number. + """ + number: Int! @deprecated(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.") + + """ + The project's owner. Currently limited to repositories, organizations, and users. + """ + owner: ProjectOwner! @deprecated(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.") + + """ + List of pending cards in this project + """ + pendingCards( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + A list of archived states to filter the cards by + """ + archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] + + """ + 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 + ): ProjectCardConnection! @deprecated(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.") + + """ + Project progress details. + """ + progress: ProjectProgress! @deprecated(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.") + + """ + The HTTP path for this project + """ + resourcePath: URI! @deprecated(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.") + + """ + Whether the project is open or closed. + """ + state: ProjectState! @deprecated(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.") + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! @deprecated(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.") + + """ + The HTTP URL for this project + """ + url: URI! @deprecated(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 if the object can be closed by the viewer. + """ + viewerCanClose: Boolean! + + """ + Indicates if the object can be reopened by the viewer. + """ + viewerCanReopen: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! +} + +""" +A card in a project. +""" +type ProjectCard implements Node { + """ + The project column this card is associated under. A card may only belong to one + project column at a time. The column field will be null if the card is created + in a pending state and has yet to be associated with a column. Once cards are + associated with a column, they will not become pending in the future. + """ + column: ProjectColumn @deprecated(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.") + + """ + The card content item + """ + content: ProjectCardItem @deprecated(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.") + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! @deprecated(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.") + + """ + The actor who created this card + """ + creator: Actor @deprecated(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.") + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(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.") + + """ + The Node ID of the ProjectCard object + """ + id: ID! @deprecated(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.") + + """ + Whether the card is archived + """ + isArchived: Boolean! @deprecated(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.") + + """ + The card note + """ + note: String @deprecated(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.") + + """ + The project that contains this card. + """ + project: Project! @deprecated(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.") + + """ + The HTTP path for this card + """ + resourcePath: URI! @deprecated(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.") + + """ + The state of ProjectCard + """ + state: ProjectCardState @deprecated(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.") + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! @deprecated(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.") + + """ + The HTTP URL for this card + """ + url: URI! @deprecated(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.") +} + +""" +The possible archived states of a project card. +""" +enum ProjectCardArchivedState { + """ + A project card that is archived + """ + ARCHIVED @deprecated(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.") + + """ + A project card that is not archived + """ + NOT_ARCHIVED @deprecated(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.") +} + +""" +The connection type for ProjectCard. +""" +type ProjectCardConnection { + """ + A list of edges. + """ + edges: [ProjectCardEdge] + + """ + A list of nodes. + """ + nodes: [ProjectCard] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectCardEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectCard +} + +""" +An issue or PR and its owning repository to be used in a project card. +""" +input ProjectCardImport { + """ + The issue or pull request number. + """ + number: Int! + + """ + Repository name with owner (owner/repository). + """ + repository: String! +} + +""" +Types that can be inside Project Cards. +""" +union ProjectCardItem = Issue | PullRequest + +""" +Various content states of a ProjectCard +""" +enum ProjectCardState { + """ + The card has content only. + """ + CONTENT_ONLY + + """ + The card has a note only. + """ + NOTE_ONLY + + """ + The card is redacted. + """ + REDACTED +} + +""" +A column inside a project. +""" +type ProjectColumn implements Node { + """ + List of cards in the column + """ + cards( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + A list of archived states to filter the cards by + """ + archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] + + """ + 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 + ): ProjectCardConnection! @deprecated(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.") + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! @deprecated(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.") + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(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.") + + """ + The Node ID of the ProjectColumn object + """ + id: ID! @deprecated(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.") + + """ + The project column's name. + """ + name: String! @deprecated(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.") + + """ + The project that contains this column. + """ + project: Project! @deprecated(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.") + + """ + The semantic purpose of the column + """ + purpose: ProjectColumnPurpose @deprecated(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.") + + """ + The HTTP path for this project column + """ + resourcePath: URI! @deprecated(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.") + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! @deprecated(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.") + + """ + The HTTP URL for this project column + """ + url: URI! @deprecated(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.") +} + +""" +The connection type for ProjectColumn. +""" +type ProjectColumnConnection { + """ + A list of edges. + """ + edges: [ProjectColumnEdge] + + """ + A list of nodes. + """ + nodes: [ProjectColumn] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectColumnEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectColumn +} + +""" +A project column and a list of its issues and PRs. +""" +input ProjectColumnImport { + """ + The name of the column. + """ + columnName: String! + + """ + A list of issues and pull requests in the column. + """ + issues: [ProjectCardImport!] + + """ + The position of the column, starting from 0. + """ + position: Int! +} + +""" +The semantic purpose of the column - todo, in progress, or done. +""" +enum ProjectColumnPurpose { + """ + The column contains cards which are complete + """ + DONE + + """ + The column contains cards which are currently being worked on + """ + IN_PROGRESS + + """ + The column contains cards still to be worked on + """ + TODO +} + +""" +A list of projects associated with the owner. +""" +type ProjectConnection { + """ + A list of edges. + """ + edges: [ProjectEdge] + + """ + A list of nodes. + """ + nodes: [Project] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Project +} + +""" +Ways in which lists of projects can be ordered upon return. +""" +input ProjectOrder { + """ + The direction in which to order projects by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order projects by. + """ + field: ProjectOrderField! +} + +""" +Properties by which project connections can be ordered. +""" +enum ProjectOrderField { + """ + Order projects by creation time + """ + CREATED_AT + + """ + Order projects by name + """ + NAME + + """ + Order projects by update time + """ + UPDATED_AT +} + +""" +Represents an owner of a Project. +""" +interface ProjectOwner { + """ + The Node ID of the ProjectOwner object + """ + id: ID! @deprecated(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.") + + """ + Find project by number. + """ + project( + """ + The project number to find. + """ + number: Int! + ): Project @deprecated(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.") + + """ + A list of projects under the owner. + """ + projects( + """ + 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 projects returned from the connection + """ + orderBy: ProjectOrder + + """ + Query to search projects by, currently only searching by name. + """ + search: String + + """ + A list of states to filter the projects by. + """ + states: [ProjectState!] + ): ProjectConnection! @deprecated(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.") + + """ + The HTTP path listing owners projects + """ + projectsResourcePath: URI! @deprecated(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.") + + """ + The HTTP URL listing owners projects + """ + projectsUrl: URI! @deprecated(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.") + + """ + Can the current viewer create new projects on this owner. + """ + viewerCanCreateProjects: Boolean! @deprecated(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.") +} + +""" +Project progress stats. +""" +type ProjectProgress { + """ + The number of done cards. + """ + doneCount: Int! @deprecated(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.") + + """ + The percentage of done cards. + """ + donePercentage: Float! @deprecated(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.") + + """ + Whether progress tracking is enabled and cards with purpose exist for this project + """ + enabled: Boolean! @deprecated(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.") + + """ + The number of in-progress cards. + """ + inProgressCount: Int! @deprecated(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.") + + """ + The percentage of in-progress cards. + """ + inProgressPercentage: Float! @deprecated(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.") + + """ + The number of to do cards. + """ + todoCount: Int! @deprecated(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.") + + """ + The percentage of to do cards. + """ + todoPercentage: Float! @deprecated(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.") +} + +""" +State of the project; either 'open' or 'closed' +""" +enum ProjectState { + """ + The project is closed. + """ + CLOSED + + """ + The project is open. + """ + OPEN +} + +""" +GitHub-provided templates for Projects +""" +enum ProjectTemplate { + """ + Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. + """ + AUTOMATED_KANBAN_V2 + + """ + Create a board with triggers to automatically move cards across columns with review automation. + """ + AUTOMATED_REVIEWS_KANBAN + + """ + Create a board with columns for To do, In progress and Done. + """ + BASIC_KANBAN + + """ + Create a board to triage and prioritize bugs with To do, priority, and Done columns. + """ + BUG_TRIAGE +} + +""" +New projects that manage issues, pull requests and drafts using tables and boards. +""" +type ProjectV2 implements Closable & Node & Updatable { + """ + Returns true if the project is closed. + """ + closed: Boolean! + + """ + Identifies the date and time when the object was closed. + """ + closedAt: DateTime + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who originally created the project. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + 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 + """ + field( + """ + The name of the field + """ + name: String! + ): ProjectV2FieldConfiguration + + """ + List of fields and their constraints in the project + """ + fields( + """ + 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 project v2 fields returned from the connection + """ + 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 + """ + id: ID! + + """ + List of items in the project + """ + items( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Filter items by their archived state. Defaults to only returning items that are not archived. + """ + archivedStates: [ProjectV2ItemArchivedState!] = [NOT_ARCHIVED] + + """ + 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 project v2 items returned from the connection + """ + orderBy: ProjectV2ItemOrder = {field: POSITION, direction: ASC} + + """ + Search query for filtering items + """ + query: String = "" + ): ProjectV2ItemConnection! + + """ + The project's number. + """ + number: Int! + + """ + The project's owner. Currently limited to organizations and users. + """ + owner: ProjectV2Owner! + + """ + Returns true if the project is public. + """ + public: Boolean! + + """ + The project's readme. + """ + readme: String + + """ + The repositories the project is linked to. + """ + repositories( + """ + 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 repositories returned from the connection + """ + orderBy: RepositoryOrder = {field: CREATED_AT, direction: DESC} + ): RepositoryConnection! + + """ + The HTTP path for this project + """ + resourcePath: URI! + + """ + The project's short description. + """ + shortDescription: String + + """ + List of the status updates in the project. + """ + statusUpdates( + """ + 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 + + """ + Order for connection + """ + orderBy: ProjectV2StatusOrder = {field: CREATED_AT, direction: DESC} + ): ProjectV2StatusUpdateConnection! + + """ + The teams the project is linked to. + """ + teams( + """ + 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 teams returned from this connection. + """ + orderBy: TeamOrder = {field: NAME, direction: ASC} + ): TeamConnection! + + """ + Returns true if this project is a template. + """ + template: Boolean! + + """ + The project's name. + """ + title: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this project + """ + url: URI! + + """ + A view of the project + """ + view( + """ + The number of a view belonging to the project + """ + number: Int! + ): ProjectV2View + + """ + Indicates if the object can be closed by the viewer. + """ + viewerCanClose: Boolean! + + """ + Indicates if the object can be reopened by the viewer. + """ + viewerCanReopen: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + List of views in the project + """ + views( + """ + 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 project v2 views returned from the connection + """ + orderBy: ProjectV2ViewOrder = {field: POSITION, direction: ASC} + ): ProjectV2ViewConnection! + + """ + A workflow of the project + """ + workflow( + """ + The number of a workflow belonging to the project + """ + number: Int! + ): ProjectV2Workflow + + """ + List of the workflows in the project + """ + workflows( + """ + 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 project v2 workflows returned from the connection + """ + orderBy: ProjectV2WorkflowOrder = {field: NAME, direction: ASC} + ): ProjectV2WorkflowConnection! +} + +""" +Possible collaborators for a project. +""" +union ProjectV2Actor = Team | User + +""" +The connection type for ProjectV2Actor. +""" +type ProjectV2ActorConnection { + """ + A list of edges. + """ + edges: [ProjectV2ActorEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2Actor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2ActorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2Actor +} + +""" +A collaborator to update on a project. Only one of the userId or teamId should be provided. +""" +input ProjectV2Collaborator { + """ + The role to grant the collaborator + """ + role: ProjectV2Roles! + + """ + The ID of the team as a collaborator. + """ + teamId: ID + + """ + The ID of the user as a collaborator. + """ + userId: ID +} + +""" +The connection type for ProjectV2. +""" +type ProjectV2Connection { + """ + A list of edges. + """ + edges: [ProjectV2Edge] + + """ + A list of nodes. + """ + nodes: [ProjectV2] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +The type of a project field. +""" +enum ProjectV2CustomFieldType { + """ + Date + """ + DATE + + """ + Iteration + """ + ITERATION + + """ + Multi Select + """ + MULTI_SELECT + + """ + Number + """ + NUMBER + + """ + Single Select + """ + SINGLE_SELECT + + """ + Text + """ + TEXT +} + +""" +An edge in a connection. +""" +type ProjectV2Edge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2 +} + +""" +Represents an event related to a project on the timeline of an issue or pull request. +""" +interface ProjectV2Event { + """ + Project referenced by event. + """ + project: ProjectV2 + + """ + Did this event result from workflow automation? + """ + wasAutomated: Boolean! +} + +""" +A field inside a project. +""" +type ProjectV2Field implements Node & ProjectV2FieldCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The field's type. + """ + dataType: ProjectV2FieldType! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the ProjectV2Field object + """ + id: ID! + + """ + Returns true if this field is associated with an organization issue field + """ + isIssueField: Boolean! + + """ + The organization issue field associated with this project field, if any + """ + issueField: IssueFields + + """ + The project field's name. + """ + name: String! + + """ + The project that contains this field. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +Common fields across different project field types +""" +interface ProjectV2FieldCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The field's type. + """ + dataType: ProjectV2FieldType! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the ProjectV2FieldCommon object + """ + id: ID! + + """ + Returns true if this field is associated with an organization issue field + """ + isIssueField: Boolean! + + """ + The project field's name. + """ + name: String! + + """ + The project that contains this field. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +Configurations for project fields. +""" +union ProjectV2FieldConfiguration = ProjectV2Field | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField + +""" +The connection type for ProjectV2FieldConfiguration. +""" +type ProjectV2FieldConfigurationConnection { + """ + A list of edges. + """ + edges: [ProjectV2FieldConfigurationEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2FieldConfiguration] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2FieldConfigurationEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2FieldConfiguration +} + +""" +The connection type for ProjectV2Field. +""" +type ProjectV2FieldConnection { + """ + A list of edges. + """ + edges: [ProjectV2FieldEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2Field] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2FieldEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2Field +} + +""" +Ordering options for project v2 field connections +""" +input ProjectV2FieldOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order the project v2 fields by. + """ + field: ProjectV2FieldOrderField! +} + +""" +Properties by which project v2 field connections can be ordered. +""" +enum ProjectV2FieldOrderField { + """ + Order project v2 fields by creation time + """ + CREATED_AT + + """ + Order project v2 fields by name + """ + NAME + + """ + Order project v2 fields by position + """ + POSITION +} + +""" +The type of a project field. +""" +enum ProjectV2FieldType { + """ + Assignees + """ + ASSIGNEES + + """ + Closed + """ + CLOSED + + """ + Created + """ + CREATED + + """ + Date + """ + DATE + + """ + Issue type + """ + ISSUE_TYPE + + """ + Iteration + """ + ITERATION + + """ + Labels + """ + LABELS + + """ + Linked Pull Requests + """ + LINKED_PULL_REQUESTS + + """ + Milestone + """ + MILESTONE + + """ + Multi Select + """ + MULTI_SELECT + + """ + Number + """ + NUMBER + + """ + Parent issue + """ + PARENT_ISSUE + + """ + Repository + """ + REPOSITORY + + """ + Reviewers + """ + REVIEWERS + + """ + Single Select + """ + SINGLE_SELECT + + """ + Sub-issues progress + """ + SUB_ISSUES_PROGRESS + + """ + Text + """ + TEXT + + """ + Title + """ + TITLE + + """ + Tracked by + """ + TRACKED_BY + + """ + Tracks + """ + TRACKS + + """ + Updated + """ + UPDATED +} + +""" +The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. +""" +input ProjectV2FieldValue { + """ + The ISO 8601 date to set on the field. + """ + date: Date + + """ + The id of the iteration to set on the field. + """ + iterationId: String + + """ + The ids of the multi select options to set on the field. + """ + multiSelectOptionIds: [String!] + + """ + The number to set on the field. + """ + number: Float + + """ + The id of the single select option to set on the field. + """ + singleSelectOptionId: String + + """ + The text to set on the field. + """ + text: String +} + +""" +Ways in which to filter lists of projects. +""" +input ProjectV2Filters { + """ + List project v2 filtered by the state given. + """ + state: ProjectV2State +} + +""" +Possible issue field values for a Project item. +""" +union ProjectV2IssueFieldValues = IssueFieldDateValue | IssueFieldMultiSelectValue | IssueFieldNumberValue | IssueFieldSingleSelectValue | IssueFieldTextValue + +""" +An item within a Project. +""" +type ProjectV2Item implements Node { + """ + The content of the referenced draft issue, issue, pull request + """ + content: ProjectV2ItemContent + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + 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. + """ + fieldValueByName( + """ + The name of the field to return the field value of + """ + name: String! + ): ProjectV2ItemFieldValue + + """ + The field values that are set on the item. + """ + fieldValues( + """ + 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 project v2 item field values returned from the connection + """ + orderBy: ProjectV2ItemFieldValueOrder = {field: POSITION, direction: ASC} + ): ProjectV2ItemFieldValueConnection! + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the ProjectV2Item object + """ + id: ID! + + """ + Whether the item is archived. + """ + isArchived: Boolean! + + """ + The project that contains this item. + """ + project: ProjectV2! + + """ + The type of the item. + """ + type: ProjectV2ItemType! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The possible archived states of a `ProjectV2Item`. +""" +enum ProjectV2ItemArchivedState { + """ + A project item that is archived + """ + ARCHIVED + + """ + A project item that is not archived + """ + NOT_ARCHIVED +} + +""" +The connection type for ProjectV2Item. +""" +type ProjectV2ItemConnection { + """ + A list of edges. + """ + edges: [ProjectV2ItemEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2Item] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Types that can be inside Project Items. +""" +union ProjectV2ItemContent = DraftIssue | Issue | PullRequest + +""" +An edge in a connection. +""" +type ProjectV2ItemEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2Item +} + +""" +The value of a date field in a Project item. +""" +type ProjectV2ItemFieldDateValue implements Node & ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + Date value for the field + """ + date: Date + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldDateValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The value of an iteration field in a Project item. +""" +type ProjectV2ItemFieldIterationValue implements Node & ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The duration of the iteration in days. + """ + duration: Int! + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldIterationValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + The ID of the iteration. + """ + iterationId: String! + + """ + The start date of the iteration. + """ + startDate: Date! + + """ + The title of the iteration. + """ + title: String! + + """ + The title of the iteration, with HTML. + """ + titleHTML: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The value of the labels field in a Project item. +""" +type ProjectV2ItemFieldLabelValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + Labels value of a field + """ + labels( + """ + 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 + ): LabelConnection +} + +""" +The value of a milestone field in a Project item. +""" +type ProjectV2ItemFieldMilestoneValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + Milestone value of a field + """ + milestone: Milestone +} + +""" +The value of a multi select field in a Project item. +""" +type ProjectV2ItemFieldMultiSelectValue implements Node & ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldMultiSelectValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + The selected multi select options. + """ + options: [ProjectV2MultiSelectFieldOption!] + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + Comma-separated names of the selected multi select options. + """ + value: String! +} + +""" +The value of a number field in a Project item. +""" +type ProjectV2ItemFieldNumberValue implements Node & ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldNumberValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + Number as a float(8) + """ + number: Float + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The value of a pull request field in a Project item. +""" +type ProjectV2ItemFieldPullRequestValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The pull requests for this field + """ + pullRequests( + """ + 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 pull requests. + """ + orderBy: PullRequestOrder = {field: CREATED_AT, direction: ASC} + ): PullRequestConnection +} + +""" +The value of a repository field in a Project item. +""" +type ProjectV2ItemFieldRepositoryValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The repository for this field. + """ + repository: Repository +} + +""" +The value of a reviewers field in a Project item. +""" +type ProjectV2ItemFieldReviewerValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The reviewers for this field. + """ + reviewers( + """ + 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 + ): RequestedReviewerConnection +} + +""" +The value of a single select field in a Project item. +""" +type ProjectV2ItemFieldSingleSelectValue implements Node & ProjectV2ItemFieldValueCommon { + """ + The color applied to the selected single-select option. + """ + color: ProjectV2SingleSelectFieldOptionColor! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + A plain-text description of the selected single-select option, such as what the option means. + """ + description: String + + """ + The description of the selected single-select option, including HTML tags. + """ + descriptionHTML: String + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldSingleSelectValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + The name of the selected single select option. + """ + name: String + + """ + The html name of the selected single select option. + """ + nameHTML: String + + """ + The id of the selected single select option. + """ + optionId: String + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The value of a text field in a Project item. +""" +type ProjectV2ItemFieldTextValue implements Node & ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldTextValue object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + Text value of a field + """ + text: String + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The value of a user field in a Project item. +""" +type ProjectV2ItemFieldUserValue { + """ + The field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The users for this field + """ + users( + """ + 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 + ): UserConnection +} + +""" +Project field values +""" +union ProjectV2ItemFieldValue = ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue | ProjectV2ItemFieldMultiSelectValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldPullRequestValue | ProjectV2ItemFieldRepositoryValue | ProjectV2ItemFieldReviewerValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemFieldUserValue | ProjectV2ItemIssueFieldValue + +""" +Common fields across different project field value types +""" +interface ProjectV2ItemFieldValueCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the item. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The project field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldValueCommon object + """ + id: ID! + + """ + The project item that contains this value. + """ + item: ProjectV2Item! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The connection type for ProjectV2ItemFieldValue. +""" +type ProjectV2ItemFieldValueConnection { + """ + A list of edges. + """ + edges: [ProjectV2ItemFieldValueEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2ItemFieldValue] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2ItemFieldValueEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2ItemFieldValue +} + +""" +Ordering options for project v2 item field value connections +""" +input ProjectV2ItemFieldValueOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order the project v2 item field values by. + """ + field: ProjectV2ItemFieldValueOrderField! +} + +""" +Properties by which project v2 item field value connections can be ordered. +""" +enum ProjectV2ItemFieldValueOrderField { + """ + Order project v2 item field values by the their position in the project + """ + POSITION +} + +""" +The value of an issue field in a Project item. +""" +type ProjectV2ItemIssueFieldValue { + """ + Field that contains this value. + """ + field: ProjectV2FieldConfiguration! + + """ + Value of the Issue Field + """ + issueFieldValue: ProjectV2IssueFieldValues +} + +""" +Ordering options for project v2 item connections +""" +input ProjectV2ItemOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order the project v2 items by. + """ + field: ProjectV2ItemOrderField! +} + +""" +Properties by which project v2 item connections can be ordered. +""" +enum ProjectV2ItemOrderField { + """ + Order project v2 items by the their position in the project + """ + POSITION +} + +""" +Represents a 'project_v2_item_status_changed' event on a given issue or pull request. +""" +type ProjectV2ItemStatusChangedEvent implements Node & ProjectV2Event { + """ + 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 ProjectV2ItemStatusChangedEvent object + """ + id: ID! + + """ + The previous status of the project item. + """ + previousStatus: String! + + """ + Project referenced by event. + """ + project: ProjectV2 + + """ + The new status of the project item. + """ + status: String! + + """ + Did this event result from workflow automation? + """ + wasAutomated: Boolean! +} + +""" +The type of a project item. +""" +enum ProjectV2ItemType { + """ + Draft Issue + """ + DRAFT_ISSUE + + """ + Issue + """ + ISSUE + + """ + Pull Request + """ + PULL_REQUEST + + """ + Redacted Item + """ + REDACTED +} + +""" +Represents an iteration +""" +input ProjectV2Iteration { + """ + The duration of the iteration, in days. + """ + duration: Int! + + """ + The ID of an existing iteration. Include this to preserve the iteration's identity during replacement updates. + """ + id: String + + """ + The start date for the iteration. + """ + startDate: Date! + + """ + The title for the iteration. + """ + title: String! +} + +""" +An iteration field inside a project. +""" +type ProjectV2IterationField implements Node & ProjectV2FieldCommon { + """ + Iteration configuration settings + """ + configuration: ProjectV2IterationFieldConfiguration! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The field's type. + """ + dataType: ProjectV2FieldType! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the ProjectV2IterationField object + """ + id: ID! + + """ + Returns true if this field is associated with an organization issue field + """ + isIssueField: Boolean! + + """ + The project field's name. + """ + name: String! + + """ + The project that contains this field. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +Iteration field configuration for a project. +""" +type ProjectV2IterationFieldConfiguration { + """ + The iteration's completed iterations + """ + completedIterations: [ProjectV2IterationFieldIteration!]! + + """ + The iteration's duration in days + """ + duration: Int! + + """ + The iteration's iterations + """ + iterations: [ProjectV2IterationFieldIteration!]! + + """ + The iteration's start day of the week + """ + startDay: Int! +} + +""" +Represents an iteration field configuration. +""" +input ProjectV2IterationFieldConfigurationInput { + """ + The duration of each iteration, in days. + """ + duration: Int! + + """ + Zero or more iterations for the field. + """ + iterations: [ProjectV2Iteration!]! + + """ + The start date for the first iteration. + """ + startDate: Date! +} + +""" +Iteration field iteration settings for a project. +""" +type ProjectV2IterationFieldIteration { + """ + The iteration's duration in days + """ + duration: Int! + + """ + The iteration's ID. + """ + id: String! + + """ + The iteration's start date + """ + startDate: Date! + + """ + The iteration's title. + """ + title: String! + + """ + The iteration's html title. + """ + titleHTML: String! +} + +""" +A multi select field inside a project. +""" +type ProjectV2MultiSelectField implements Node & ProjectV2FieldCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The field's type. + """ + dataType: ProjectV2FieldType! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the ProjectV2MultiSelectField object + """ + id: ID! + + """ + Returns true if this field is associated with an organization issue field + """ + isIssueField: Boolean! + + """ + The organization issue field associated with this project field, if any + """ + issueField: IssueFields + + """ + Options for the multi select field + """ + multiSelectOptions( + """ + Filter returned options to only those matching these names, case insensitive. + """ + names: [String!] + ): [ProjectV2MultiSelectFieldOption!]! + + """ + The project field's name. + """ + name: String! + + """ + The project that contains this field. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +Multi select field option for a configuration for a project. +""" +type ProjectV2MultiSelectFieldOption { + """ + The option's display color. + """ + color: ProjectV2SingleSelectFieldOptionColor! + + """ + The option's plain-text description. + """ + description: String! + + """ + The option's description, possibly containing HTML. + """ + descriptionHTML: String! + + """ + The option's ID. + """ + id: String! + + """ + The option's name. + """ + name: String! + + """ + The option's html name. + """ + nameHTML: String! +} + +""" +Represents a multi select field option +""" +input ProjectV2MultiSelectFieldOptionInput { + """ + The display color of the option + """ + color: ProjectV2SingleSelectFieldOptionColor! + + """ + The description text of the option + """ + description: String! + + """ + The ID of an existing multi select option. Include this to preserve the + option's identity during updates, preventing item field values from being cleared. + """ + id: String + + """ + The name of the option + """ + name: String! +} + +""" +Ways in which lists of projects can be ordered upon return. +""" +input ProjectV2Order { + """ + The direction in which to order projects by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order projects by. + """ + field: ProjectV2OrderField! +} + +""" +Properties by which projects can be ordered. +""" +enum ProjectV2OrderField { + """ + The project's date and time of creation + """ + CREATED_AT + + """ + The project's number + """ + NUMBER + + """ + The project's title + """ + TITLE + + """ + The project's date and time of update + """ + UPDATED_AT +} + +""" +Represents an owner of a project. +""" +interface ProjectV2Owner { + """ + The Node ID of the ProjectV2Owner object + """ + id: ID! + + """ + Find a project by number. + """ + projectV2( + """ + The project number. + """ + number: Int! + ): ProjectV2 + + """ + A list of projects under the owner. + """ + projectsV2( + """ + 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 + + """ + Filter projects based on user role. + """ + minPermissionLevel: ProjectV2PermissionLevel = READ + + """ + How to order the returned projects. + """ + orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + + """ + A project to search for under the owner. + """ + query: String + ): ProjectV2Connection! +} + +""" +The possible roles of a collaborator on a project. +""" +enum ProjectV2PermissionLevel { + """ + The collaborator can view, edit, and maange the settings of the project + """ + ADMIN + + """ + The collaborator can view the project + """ + READ + + """ + The collaborator can view and edit the project + """ + WRITE +} + +""" +Recent projects for the owner. +""" +interface ProjectV2Recent { + """ + Recent projects that this user has modified in the context of the owner. + """ + recentProjects( + """ + 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 + ): ProjectV2Connection! +} + +""" +The possible roles of a collaborator on a project. +""" +enum ProjectV2Roles { + """ + The collaborator can view, edit, and maange the settings of the project + """ + ADMIN + + """ + The collaborator has no direct access to the project + """ + NONE + + """ + The collaborator can view the project + """ + READER + + """ + The collaborator can view and edit the project + """ + WRITER +} + +""" +A single select field inside a project. +""" +type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The field's type. + """ + dataType: ProjectV2FieldType! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the ProjectV2SingleSelectField object + """ + id: ID! + + """ + Returns true if this field is associated with an organization issue field + """ + isIssueField: Boolean! + + """ + The organization issue field associated with this project field, if any + """ + issueField: IssueFields + + """ + The project field's name. + """ + name: String! + + """ + Options for the single select field + """ + options( + """ + Filter returned options to only those matching these names, case insensitive. + """ + names: [String!] + ): [ProjectV2SingleSelectFieldOption!]! + + """ + The project that contains this field. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +Single select field option for a configuration for a project. +""" +type ProjectV2SingleSelectFieldOption { + """ + The option's display color. + """ + color: ProjectV2SingleSelectFieldOptionColor! + + """ + The option's plain-text description. + """ + description: String! + + """ + The option's description, possibly containing HTML. + """ + descriptionHTML: String! + + """ + The option's ID. + """ + id: String! + + """ + The option's name. + """ + name: String! + + """ + The option's html name. + """ + nameHTML: String! +} + +""" +The display color of a single-select field option. +""" +enum ProjectV2SingleSelectFieldOptionColor { + """ + BLUE + """ + BLUE + + """ + GRAY + """ + GRAY + + """ + GREEN + """ + GREEN + + """ + ORANGE + """ + ORANGE + + """ + PINK + """ + PINK + + """ + PURPLE + """ + PURPLE + + """ + RED + """ + RED + + """ + YELLOW + """ + YELLOW +} + +""" +Represents a single select field option +""" +input ProjectV2SingleSelectFieldOptionInput { + """ + The display color of the option + """ + color: ProjectV2SingleSelectFieldOptionColor! + + """ + The description text of the option + """ + description: String! + + """ + The ID of an existing single select option. Include this to preserve the + option's identity during updates, preventing item field values from being cleared. + """ + id: String + + """ + The name of the option + """ + name: String! +} + +""" +Represents a sort by field and direction. +""" +type ProjectV2SortBy { + """ + The direction of the sorting. Possible values are ASC and DESC. + """ + direction: OrderDirection! + + """ + The field by which items are sorted. + """ + field: ProjectV2Field! +} + +""" +The connection type for ProjectV2SortBy. +""" +type ProjectV2SortByConnection { + """ + A list of edges. + """ + edges: [ProjectV2SortByEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2SortBy] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2SortByEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2SortBy +} + +""" +Represents a sort by field and direction. +""" +type ProjectV2SortByField { + """ + The direction of the sorting. Possible values are ASC and DESC. + """ + direction: OrderDirection! + + """ + The field by which items are sorted. + """ + field: ProjectV2FieldConfiguration! +} + +""" +The connection type for ProjectV2SortByField. +""" +type ProjectV2SortByFieldConnection { + """ + A list of edges. + """ + edges: [ProjectV2SortByFieldEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2SortByField] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2SortByFieldEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2SortByField +} + +""" +The possible states of a project v2. +""" +enum ProjectV2State { + """ + A project v2 that has been closed + """ + CLOSED + + """ + A project v2 that is still open + """ + OPEN +} + +""" +Ways in which project v2 status updates can be ordered. +""" +input ProjectV2StatusOrder { + """ + The direction in which to order nodes. + """ + direction: OrderDirection! + + """ + The field by which to order nodes. + """ + field: ProjectV2StatusUpdateOrderField! +} + +""" +A status update within a project. +""" +type ProjectV2StatusUpdate implements Node { + """ + The body of the status update. + """ + body: String + + """ + The body of the status update rendered to HTML. + """ + bodyHTML: HTML + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The actor who created the status update. + """ + creator: Actor + + """ + Identifies the primary key from the database. + """ + 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 + """ + id: ID! + + """ + The project that contains this status update. + """ + project: ProjectV2! + + """ + The start date of the status update. + """ + startDate: Date + + """ + The status of the status update. + """ + status: ProjectV2StatusUpdateStatus + + """ + The target date of the status update. + """ + targetDate: Date + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The connection type for ProjectV2StatusUpdate. +""" +type ProjectV2StatusUpdateConnection { + """ + A list of edges. + """ + edges: [ProjectV2StatusUpdateEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2StatusUpdate] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2StatusUpdateEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2StatusUpdate +} + +""" +Properties by which project v2 status updates can be ordered. +""" +enum ProjectV2StatusUpdateOrderField { + """ + Allows chronological ordering of project v2 status updates. + """ + CREATED_AT +} + +""" +The possible statuses of a project v2. +""" +enum ProjectV2StatusUpdateStatus { + """ + A project v2 that is at risk and encountering some challenges. + """ + AT_RISK + + """ + A project v2 that is complete. + """ + COMPLETE + + """ + A project v2 that is inactive. + """ + INACTIVE + + """ + A project v2 that is off track and needs attention. + """ + OFF_TRACK + + """ + A project v2 that is on track with no risks. + """ + ON_TRACK +} + +""" +A view within a ProjectV2. +""" +type ProjectV2View implements Node { + """ + The view's configuration. + """ + configuration: ProjectV2ViewConfiguration! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + 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. + """ + fields( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConfigurationConnection + + """ + The project view's filter. + """ + filter: String + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The view's group-by field. + """ + groupBy( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#order_by` API is deprecated in favour of the more capable `ProjectV2View#group_by_field` API. Check out the `ProjectV2View#group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + + """ + The view's group-by field. + """ + groupByFields( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConfigurationConnection + + """ + The Node ID of the ProjectV2View object + """ + id: ID! + + """ + The project view's layout. + """ + layout: ProjectV2ViewLayout! + + """ + The project view's name. + """ + name: String! + + """ + The project view's number. + """ + number: Int! + + """ + The project that contains this view. + """ + project: ProjectV2! + + """ + The view's sort-by config. + """ + sortBy( + """ + 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 + ): ProjectV2SortByConnection @deprecated(reason: "The `ProjectV2View#sort_by` API is deprecated in favour of the more capable `ProjectV2View#sort_by_fields` API. Check out the `ProjectV2View#sort_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + + """ + The view's sort-by config. + """ + sortByFields( + """ + 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 + ): ProjectV2SortByFieldConnection + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The view's vertical-group-by field. + """ + verticalGroupBy( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#vertical_group_by` API is deprecated in favour of the more capable `ProjectV2View#vertical_group_by_fields` API. Check out the `ProjectV2View#vertical_group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + + """ + The view's vertical-group-by field. + """ + verticalGroupByFields( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConfigurationConnection + + """ + The view's visible fields. + """ + visibleFields( + """ + 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 the project v2 fields returned from the connection. + """ + orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} + ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#visibleFields` API is deprecated in favour of the more capable `ProjectV2View#fields` API. Check out the `ProjectV2View#fields` API as an example for the more capable alternative. Removal on 2023-01-01 UTC.") +} + +""" +Configuration for a ProjectV2 view. +""" +type ProjectV2ViewConfiguration { + """ + The fields visible in the view, in configured order. + """ + visibleFields( + """ + 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 + ): ProjectV2FieldConfigurationConnection! +} + +""" +Configuration for a ProjectV2 view. +""" +input ProjectV2ViewConfigurationInput { + """ + The ordered IDs of the fields visible in the view. + """ + visibleFieldIds: [ID!] +} + +""" +The connection type for ProjectV2View. +""" +type ProjectV2ViewConnection { + """ + A list of edges. + """ + edges: [ProjectV2ViewEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2View] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2ViewEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2View +} + +""" +The layout of a project v2 view. +""" +enum ProjectV2ViewLayout { + """ + Board layout + """ + BOARD_LAYOUT + + """ + Roadmap layout + """ + ROADMAP_LAYOUT + + """ + Table layout + """ + TABLE_LAYOUT +} + +""" +Ordering options for project v2 view connections +""" +input ProjectV2ViewOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order the project v2 views by. + """ + field: ProjectV2ViewOrderField! +} + +""" +Properties by which project v2 view connections can be ordered. +""" +enum ProjectV2ViewOrderField { + """ + Order project v2 views by creation time + """ + CREATED_AT + + """ + Order project v2 views by name + """ + NAME + + """ + Order project v2 views by position + """ + POSITION +} + +""" +A workflow inside a project. +""" +type ProjectV2Workflow implements Node { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + 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 + """ + id: ID! + + """ + The name of the workflow. + """ + name: String! + + """ + The number of the workflow. + """ + number: Int! + + """ + The project that contains this workflow. + """ + project: ProjectV2! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The connection type for ProjectV2Workflow. +""" +type ProjectV2WorkflowConnection { + """ + A list of edges. + """ + edges: [ProjectV2WorkflowEdge] + + """ + A list of nodes. + """ + nodes: [ProjectV2Workflow] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ProjectV2WorkflowEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ProjectV2Workflow +} + +""" +Ordering options for project v2 workflows connections +""" +input ProjectV2WorkflowOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order the project v2 workflows by. + """ + field: ProjectV2WorkflowsOrderField! +} + +""" +Properties by which project workflows can be ordered. +""" +enum ProjectV2WorkflowsOrderField { + """ + The date and time of the workflow creation + """ + CREATED_AT + + """ + The name of the workflow + """ + NAME + + """ + The number of the workflow + """ + NUMBER + + """ + The date and time of the workflow update + """ + UPDATED_AT +} + +""" +Autogenerated input type of PromoteRepositoryCustomProperty +""" +input PromoteRepositoryCustomPropertyInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the repository custom property to be promoted. + """ + repositoryCustomPropertyId: ID! +} + +""" +Autogenerated return type of PromoteRepositoryCustomProperty. +""" +type PromoteRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The repository custom property that has been promoted. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + +""" +A property that must match +""" +type PropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! + + """ + The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified + """ + source: String +} + +""" +A property that must match +""" +input PropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! + + """ + The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified + """ + source: String +} + +""" +A user's public key. +""" +type PublicKey implements Node { + """ + The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. + """ + accessedAt: DateTime + + """ + Identifies the date and time when the key was created. Keys created before + March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. + """ + createdAt: DateTime + + """ + The fingerprint for this PublicKey. + """ + fingerprint: String! + + """ + The Node ID of the PublicKey object + """ + id: ID! + + """ + Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. + """ + isReadOnly: Boolean + + """ + The public key string. + """ + key: String! + + """ + Identifies the date and time when the key was updated. Keys created before + March 5th, 2014 may have inaccurate values. Values will be null for keys not + owned by the user. + """ + updatedAt: DateTime +} + +""" +The connection type for PublicKey. +""" +type PublicKeyConnection { + """ + A list of edges. + """ + edges: [PublicKeyEdge] + + """ + A list of nodes. + """ + nodes: [PublicKey] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PublicKeyEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PublicKey +} + +""" +Autogenerated input type of PublishSponsorsTier +""" +input PublishSponsorsTierInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the draft tier to publish. + """ + tierId: ID! +} + +""" +Autogenerated return type of PublishSponsorsTier. +""" +type PublishSponsorsTierPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The tier that was published. + """ + sponsorsTier: SponsorsTier +} + +""" +A repository pull request. +""" +type PullRequest implements Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { + """ + Reason that the conversation was locked. + """ + activeLockReason: LockReason + + """ + The number of additions in this pull request. + """ + additions: Int! + + """ + A list of actors assigned to this object. + """ + assignedActors( + """ + 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 + ): AssigneeConnection! + + """ + A list of Users assigned to this object. + """ + assignees( + """ + 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 + ): UserConnection! + + """ + The actor who authored the comment. + """ + author: Actor + + """ + Author's association with the subject of the comment. + """ + authorAssociation: CommentAuthorAssociation! + + """ + Returns the auto-merge request object if one exists for this pull request. + """ + autoMergeRequest: AutoMergeRequest + + """ + Identifies the base Ref associated with the pull request. + """ + baseRef: Ref + + """ + Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted. + """ + baseRefName: String! + + """ + Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted. + """ + baseRefOid: GitObjectID! + + """ + The repository associated with this pull request's base Ref. + """ + baseRepository: Repository + + """ + The body as Markdown. + """ + body: String! + + """ + The body rendered to HTML. + """ + bodyHTML: HTML! + + """ + The body rendered to text. + """ + bodyText: String! + + """ + Whether or not the pull request is rebaseable. + """ + canBeRebased: Boolean! + + """ + The number of changed files in this pull request. + """ + changedFiles: Int! + + """ + The HTTP path for the checks of this pull request. + """ + checksResourcePath: URI! + + """ + The HTTP URL for the checks of this pull request. + """ + checksUrl: URI! + + """ + `true` if the pull request is closed + """ + closed: Boolean! + + """ + Identifies the date and time when the object was closed. + """ + closedAt: DateTime + + """ + List of issues that may be closed by this pull request + """ + closingIssuesReferences( + """ + 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 + + """ + Exclude manually linked Issues + """ + excludeUserLinked: Boolean = false + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection + """ + orderBy: IssueOrder + + """ + Return only manually linked Issues + """ + userLinkedOnly: Boolean = false + ): IssueConnection + + """ + A list of comments associated with the pull request. + """ + comments( + """ + 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 issue comments returned from the connection. + """ + orderBy: IssueCommentOrder + ): IssueCommentConnection! + + """ + A list of commits present in this pull request's head branch not present in the base branch. + """ + commits( + """ + 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 + ): PullRequestCommitConnection! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Check if this comment was created via an email reply. + """ + createdViaEmail: Boolean! + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + + """ + The number of deletions in this pull request. + """ + deletions: Int! + + """ + The actor who edited this pull request's body. + """ + editor: Actor + + """ + Lists the files changed within this pull request. + """ + files( + """ + 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 + ): PullRequestChangedFileConnection + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + Identifies the head Ref associated with the pull request. + """ + headRef: Ref + + """ + Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. + """ + headRefName: String! + + """ + Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted. + """ + headRefOid: GitObjectID! + + """ + The repository associated with this pull request's head Ref. + """ + headRepository: Repository + + """ + The owner of the repository associated with this pull request's head Ref. + """ + headRepositoryOwner: RepositoryOwner + + """ + The hovercard information for this issue + """ + hovercard( + """ + Whether or not to include notification contexts + """ + includeNotificationContexts: Boolean = true + ): Hovercard! + + """ + The Node ID of the PullRequest object + """ + id: ID! + + """ + Check if this comment was edited and includes an edit with the creation data + """ + includesCreatedEdit: Boolean! + + """ + The head and base repositories are different. + """ + isCrossRepository: Boolean! + + """ + Identifies if the pull request is a draft. + """ + isDraft: Boolean! + + """ + Indicates whether the pull request is in a merge queue + """ + isInMergeQueue: Boolean! + + """ + Indicates whether the pull request's base ref has a merge queue enabled. + """ + isMergeQueueEnabled: Boolean! + + """ + Is this pull request read by the viewer + """ + isReadByViewer: Boolean + + """ + A list of labels associated with the object. + """ + labels( + """ + 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 labels returned from the connection. + """ + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} + ): LabelConnection + + """ + The moment the editor made the last edit + """ + lastEditedAt: DateTime + + """ + A list of latest reviews per user associated with the pull request. + """ + latestOpinionatedReviews( + """ + 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 + + """ + Only return reviews from user who have write access to the repository + """ + writersOnly: Boolean = false + ): PullRequestReviewConnection + + """ + A list of latest reviews per user associated with the pull request that are not also pending review. + """ + latestReviews( + """ + 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 + ): PullRequestReviewConnection + + """ + `true` if the pull request is locked + """ + locked: Boolean! + + """ + Indicates whether maintainers can modify the pull request. + """ + maintainerCanModify: Boolean! + + """ + The commit that was created when this pull request was merged. + """ + mergeCommit: Commit + + """ + The merge queue for the pull request's base branch + """ + mergeQueue: MergeQueue + + """ + The merge queue entry of the pull request in the base branch's merge queue + """ + mergeQueueEntry: MergeQueueEntry + + """ + Detailed information about the current pull request merge state status. + """ + mergeStateStatus: MergeStateStatus! + + """ + Whether or not the pull request can be merged based on the existence of merge conflicts. + """ + mergeable: MergeableState! + + """ + Whether or not the pull request was merged. + """ + merged: Boolean! + + """ + The date and time that the pull request was merged. + """ + mergedAt: DateTime + + """ + The actor who merged the pull request. + """ + mergedBy: Actor + + """ + Identifies the milestone associated with the pull request. + """ + milestone: Milestone + + """ + Identifies the pull request number. + """ + number: Int! + + """ + A list of Users that are participating in the Pull Request conversation. + """ + participants( + """ + 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 + ): UserConnection! + + """ + The permalink to the pull request. + """ + permalink: URI! + + """ + The commit that GitHub automatically generated to test if this pull request + could be merged. This field will not return a value if the pull request is + merged, or if the test merge commit is still being generated. See the + `mergeable` field for more details on the mergeability of the pull request. + """ + potentialMergeCommit: Commit + + """ + List of project cards associated with this pull request. + """ + projectCards( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + A list of archived states to filter the cards by + """ + archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] + + """ + 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 + ): ProjectCardConnection! @deprecated(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.") + + """ + List of project items associated with this pull request. + """ + projectItems( + """ + 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 archived items. + """ + includeArchived: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectV2ItemConnection + + """ + Find a project by number. + """ + projectV2( + """ + The project number. + """ + number: Int! + ): ProjectV2 + + """ + A list of projects under the owner. + """ + projectsV2( + """ + 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 + + """ + Filter projects based on user role. + """ + minPermissionLevel: ProjectV2PermissionLevel = READ + + """ + How to order the returned projects. + """ + orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + + """ + A project to search for under the owner. + """ + query: String + ): ProjectV2Connection! + + """ + Identifies when the comment was published at. + """ + publishedAt: DateTime + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + 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 + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + The HTTP path for this pull request. + """ + resourcePath: URI! + + """ + The HTTP path for reverting this pull request. + """ + revertResourcePath: URI! + + """ + The HTTP URL for reverting this pull request. + """ + revertUrl: URI! + + """ + The current status of this pull request with respect to code review. + """ + reviewDecision: PullRequestReviewDecision + + """ + A list of review requests associated with the pull request. + """ + reviewRequests( + """ + 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 + ): ReviewRequestConnection + + """ + The list of all review threads for this pull request. + """ + reviewThreads( + """ + 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 + ): PullRequestReviewThreadConnection! + + """ + A list of reviews associated with the pull request. + """ + reviews( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Filter by author of the review. + """ + author: 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 + + """ + A list of states to filter the reviews. + """ + states: [PullRequestReviewState!] + ): PullRequestReviewConnection + + """ + The stack this Pull Request belongs to, or null if it is not part of a stack + """ + stack: PullRequestStack + + """ + The stack entry for this Pull Request, or null if it is not part of a stack + """ + stackEntry: PullRequestStackEntry + + """ + Identifies the state of the pull request. + """ + state: PullRequestState! + + """ + Check and Status rollup information for the PR's head ref. + """ + statusCheckRollup: StatusCheckRollup + + """ + A list of suggested actors to assign to this object + """ + suggestedActors( + """ + 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 + + """ + If provided, searches users by login or profile name + """ + query: String + ): AssigneeConnection! + + """ + Reviewer actor suggestions based on commit history, past review comments, and integrations. + """ + suggestedReviewerActors( + """ + 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 + + """ + Search actors with query on user name and login. + """ + query: String + ): SuggestedReviewerActorConnection! + + """ + A list of reviewer suggestions based on commit history and past review comments. + """ + suggestedReviewers: [SuggestedReviewer]! + + """ + A list of events, comments, commits, etc. associated with the pull request. + """ + timeline( + """ + 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 + + """ + Allows filtering timeline events by a `since` timestamp. + """ + since: DateTime + ): PullRequestTimelineConnection! @deprecated(reason: "`timeline` will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.") + + """ + A list of events, comments, commits, etc. associated with the pull request. + """ + timelineItems( + """ + 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 + + """ + Filter timeline items by type. + """ + itemTypes: [PullRequestTimelineItemsItemType!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Filter timeline items by a `since` timestamp. + """ + since: DateTime + + """ + Skips the first _n_ elements in the list. + """ + skip: Int + ): PullRequestTimelineItemsConnection! + + """ + Identifies the pull request title. + """ + title: String! + + """ + Identifies the pull request title rendered to HTML. + """ + titleHTML: HTML! + + """ + Returns a count of how many comments this pull request has received. + """ + totalCommentsCount: Int + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this pull request. + """ + url: URI! + + """ + A list of edits to this content. + """ + userContentEdits( + """ + 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 + ): UserContentEditConnection + + """ + Whether or not the viewer can apply suggestion. + """ + viewerCanApplySuggestion: Boolean! + + """ + Indicates if the viewer can edit assignees for this object. + """ + viewerCanAssign: Boolean! + + """ + Indicates if the object can be closed by the viewer. + """ + viewerCanClose: Boolean! + + """ + Check if the viewer can restore the deleted head ref. + """ + viewerCanDeleteHeadRef: Boolean! + + """ + Whether or not the viewer can disable auto-merge + """ + viewerCanDisableAutoMerge: Boolean! + + """ + Can the viewer edit files within this pull request. + """ + viewerCanEditFiles: Boolean! + + """ + Whether or not the viewer can enable auto-merge + """ + 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 + """ + viewerCanMergeAsAdmin: Boolean! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! + + """ + Indicates if the object can be reopened by the viewer. + """ + viewerCanReopen: Boolean! + + """ + Check if the viewer is able to change their subscription status for the repository. + """ + viewerCanSubscribe: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. + If the head ref is up to date or unable to be updated by this user, this will return false. + """ + viewerCanUpdateBranch: Boolean! + + """ + Reasons why the current viewer can not update this comment. + """ + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + + """ + Did the viewer author this comment. + """ + viewerDidAuthor: Boolean! + + """ + The latest review given from the viewer. + """ + viewerLatestReview: PullRequestReview + + """ + The person who has requested the viewer for review on this pull request. + """ + viewerLatestReviewRequest: ReviewRequest + + """ + The merge body text for the viewer and method. + """ + viewerMergeBodyText( + """ + The merge method for the message. + """ + mergeType: PullRequestMergeMethod + ): String! + + """ + The merge headline text for the viewer and method. + """ + viewerMergeHeadlineText( + """ + The merge method for the message. + """ + mergeType: PullRequestMergeMethod + ): String! + + """ + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + """ + viewerSubscription: SubscriptionState +} + +""" +Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. +""" +enum PullRequestAllowedMergeMethods { + """ + Add all commits from the head branch to the base branch with a merge commit. + """ + MERGE + + """ + Add all commits from the head branch onto the base branch individually. + """ + REBASE + + """ + Combine all commits from the head branch into a single commit in the base branch. + """ + SQUASH +} + +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """ + Update branch via merge + """ + MERGE + + """ + Update branch via rebase + """ + REBASE +} + +""" +A file changed in a pull request. +""" +type PullRequestChangedFile { + """ + The number of additions to the file. + """ + additions: Int! + + """ + How the file was changed in this PullRequest + """ + changeType: PatchStatus! + + """ + The number of deletions to the file. + """ + deletions: Int! + + """ + The path of the file. + """ + path: String! + + """ + The state of the file for the viewer. + """ + viewerViewedState: FileViewedState! +} + +""" +The connection type for PullRequestChangedFile. +""" +type PullRequestChangedFileConnection { + """ + A list of edges. + """ + edges: [PullRequestChangedFileEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestChangedFile] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestChangedFileEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestChangedFile +} + +""" +Represents a Git commit part of a pull request. +""" +type PullRequestCommit implements Node & UniformResourceLocatable { + """ + The Git commit object + """ + commit: Commit! + + """ + The Node ID of the PullRequestCommit object + """ + id: ID! + + """ + The pull request this commit belongs to + """ + pullRequest: PullRequest! + + """ + The HTTP path for this pull request commit + """ + resourcePath: URI! + + """ + The HTTP URL for this pull request commit + """ + url: URI! +} + +""" +Represents a commit comment thread part of a pull request. +""" +type PullRequestCommitCommentThread implements Node & RepositoryNode { + """ + The comments that exist in this thread. + """ + comments( + """ + 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 + ): CommitCommentConnection! + + """ + The commit the comments were made on. + """ + commit: Commit! + + """ + The Node ID of the PullRequestCommitCommentThread object + """ + id: ID! + + """ + The file the comments were made on. + """ + path: String + + """ + The position in the diff for the commit that the comment was made on. + """ + position: Int + + """ + The pull request this commit comment thread belongs to + """ + pullRequest: PullRequest! + + """ + The repository associated with this node. + """ + repository: Repository! +} + +""" +The connection type for PullRequestCommit. +""" +type PullRequestCommitConnection { + """ + A list of edges. + """ + edges: [PullRequestCommitEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestCommit] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestCommitEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestCommit +} + +""" +The connection type for PullRequest. +""" +type PullRequestConnection { + """ + A list of edges. + """ + edges: [PullRequestEdge] + + """ + A list of nodes. + """ + nodes: [PullRequest] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +This aggregates pull requests opened by a user within one repository. +""" +type PullRequestContributionsByRepository { + """ + The pull request contributions. + """ + contributions( + """ + 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 contributions returned from the connection. + """ + orderBy: ContributionOrder = {direction: DESC} + ): CreatedPullRequestContributionConnection! + + """ + The repository in which the pull requests were opened. + """ + repository: Repository! +} + +""" +Users who are exempt from the pull request creation cap on a repository. +""" +type PullRequestCreationCapConfig { + """ + Users who are exempt from the pull request creation cap. + """ + bypassedUsers( + """ + 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 + ): UserConnection! +} + +""" +The policy controlling who can create pull requests in a repository. +""" +enum PullRequestCreationPolicy { + """ + Anyone can create pull requests. + """ + ALL + + """ + Only collaborators can create pull requests. + """ + COLLABORATORS_ONLY +} + +""" +An edge in a connection. +""" +type PullRequestEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequest +} + +""" +Represents available types of methods to use when merging a pull request. +""" +enum PullRequestMergeMethod { + """ + Add all commits from the head branch to the base branch with a merge commit. + """ + MERGE + + """ + Add all commits from the head branch onto the base branch individually. + """ + REBASE + + """ + Combine all commits from the head branch into a single commit in the base branch. + """ + SQUASH +} + +""" +Ways in which lists of issues can be ordered upon return. +""" +input PullRequestOrder { + """ + The direction in which to order pull requests by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order pull requests by. + """ + field: PullRequestOrderField! +} + +""" +Properties by which pull_requests connections can be ordered. +""" +enum PullRequestOrderField { + """ + Order pull_requests by creation time + """ + CREATED_AT + + """ + Order pull_requests by update time + """ + UPDATED_AT +} + +""" +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. +""" +type PullRequestParameters { + """ + Array of allowed merge methods. Allowed values include `merge`, `squash`, and + `rebase`. At least one option must be enabled. + """ + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + New, reviewable commits pushed will dismiss previous pull request review approvals. + """ + dismissStaleReviewsOnPush: Boolean! + + """ + Specify people, teams, or apps allowed to dismiss pull request reviews. + """ + dismissalRestriction: DismissalRestriction + + """ + Require an approving review in pull requests that modify files that have a designated code owner. + """ + requireCodeOwnerReview: Boolean! + + """ + Whether the most recent reviewable push must be approved by someone other than the person who pushed it. + """ + requireLastPushApproval: Boolean! + + """ + The number of approving reviews that are required before a pull request can be merged. + """ + requiredApprovingReviewCount: Int! + + """ + All conversations on code must be resolved before a pull request can be merged. + """ + requiredReviewThreadResolution: Boolean! + + """ + This field is in beta and subject to change. A collection of reviewers and + associated file patterns. Each reviewer has a list of file patterns which + determine the files that reviewer is required to review. + """ + requiredReviewers: [RequiredReviewerConfiguration!] +} + +""" +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. +""" +input PullRequestParametersInput { + """ + Array of allowed merge methods. Allowed values include `merge`, `squash`, and + `rebase`. At least one option must be enabled. + """ + allowedMergeMethods: [PullRequestAllowedMergeMethods!] + + """ + New, reviewable commits pushed will dismiss previous pull request review approvals. + """ + dismissStaleReviewsOnPush: Boolean! + + """ + Specify people, teams, or apps allowed to dismiss pull request reviews. + """ + dismissalRestriction: DismissalRestrictionInput + + """ + Require an approving review in pull requests that modify files that have a designated code owner. + """ + requireCodeOwnerReview: Boolean! + + """ + Whether the most recent reviewable push must be approved by someone other than the person who pushed it. + """ + requireLastPushApproval: Boolean! + + """ + The number of approving reviews that are required before a pull request can be merged. + """ + requiredApprovingReviewCount: Int! + + """ + All conversations on code must be resolved before a pull request can be merged. + """ + requiredReviewThreadResolution: Boolean! + + """ + This argument is in beta and subject to change. A collection of reviewers and + associated file patterns. Each reviewer has a list of file patterns which + determine the files that reviewer is required to review. + """ + requiredReviewers: [RequiredReviewerConfigurationInput!] +} + +""" +A review object for a given pull request. +""" +type PullRequestReview implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { + """ + The actor who authored the comment. + """ + author: Actor + + """ + Author's association with the subject of the comment. + """ + authorAssociation: CommentAuthorAssociation! + + """ + Indicates whether the author of this review has push access to the repository. + """ + authorCanPushToRepository: Boolean! + + """ + Identifies the pull request review body. + """ + body: String! + + """ + The body rendered to HTML. + """ + bodyHTML: HTML! + + """ + The body of this review rendered as plain text. + """ + bodyText: String! + + """ + A list of review comments for the current pull request review. + """ + comments( + """ + 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 + ): PullRequestReviewCommentConnection! + + """ + Identifies the commit associated with this pull request review. + """ + commit: Commit + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Check if this comment was created via an email reply. + """ + createdViaEmail: Boolean! + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + + """ + The actor who edited the comment. + """ + editor: Actor + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the PullRequestReview object + """ + id: ID! + + """ + Check if this comment was edited and includes an edit with the creation data + """ + includesCreatedEdit: Boolean! + + """ + Returns whether or not a comment has been minimized. + """ + isMinimized: Boolean! + + """ + The moment the editor made the last edit + """ + lastEditedAt: DateTime + + """ + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. + """ + minimizedReason: String + + """ + A list of teams that this review was made on behalf of. + """ + onBehalfOf( + """ + 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 + ): TeamConnection! + + """ + Identifies when the comment was published at. + """ + publishedAt: DateTime + + """ + Identifies the pull request associated with this pull request review. + """ + pullRequest: PullRequest! + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + 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 + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + The HTTP path permalink for this PullRequestReview. + """ + resourcePath: URI! + + """ + Identifies the current state of the pull request review. + """ + state: PullRequestReviewState! + + """ + Identifies when the Pull Request Review was submitted + """ + submittedAt: DateTime + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL permalink for this PullRequestReview. + """ + url: URI! + + """ + A list of edits to this content. + """ + userContentEdits( + """ + 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 + ): UserContentEditConnection + + """ + Check if the current viewer can delete this object. + """ + viewerCanDelete: Boolean! + + """ + Check if the current viewer can minimize this object. + """ + viewerCanMinimize: Boolean! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! + + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + Reasons why the current viewer can not update this comment. + """ + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + + """ + Did the viewer author this comment. + """ + viewerDidAuthor: Boolean! +} + +""" +A review comment associated with a given repository pull request. +""" +type PullRequestReviewComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { + """ + The actor who authored the comment. + """ + author: Actor + + """ + Author's association with the subject of the comment. + """ + authorAssociation: CommentAuthorAssociation! + + """ + The comment body of this review comment. + """ + body: String! + + """ + The body rendered to HTML. + """ + bodyHTML: HTML! + + """ + The comment body of this review comment rendered as plain text. + """ + bodyText: String! + + """ + Identifies the commit associated with the comment. + """ + commit: Commit + + """ + Identifies when the comment was created. + """ + createdAt: DateTime! + + """ + Check if this comment was created via an email reply. + """ + createdViaEmail: Boolean! + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + + """ + The diff hunk to which the comment applies. + """ + diffHunk: String! + + """ + Identifies when the comment was created in a draft state. + """ + draftedAt: DateTime! + + """ + The actor who edited the comment. + """ + editor: Actor + + """ + Identifies the primary key from the database as a BigInt. + """ + fullDatabaseId: BigInt + + """ + The Node ID of the PullRequestReviewComment object + """ + id: ID! + + """ + Check if this comment was edited and includes an edit with the creation data + """ + includesCreatedEdit: Boolean! + + """ + Returns whether or not a comment has been minimized. + """ + isMinimized: Boolean! + + """ + The moment the editor made the last edit + """ + lastEditedAt: DateTime + + """ + The end line number on the file to which the comment applies + """ + line: Int + + """ + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate`, `spam`, and `low-quality`. Note that the + case and formatting of these values differs from the inputs to the + `MinimizeComment` mutation. + """ + minimizedReason: String + + """ + Identifies the original commit associated with the comment. + """ + originalCommit: Commit + + """ + The end line number on the file to which the comment applied when it was first created + """ + originalLine: Int + + """ + The original line index in the diff to which the comment applies. + """ + originalPosition: Int! @deprecated(reason: "We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC.") + + """ + The start line number on the file to which the comment applied when it was first created + """ + originalStartLine: Int + + """ + Identifies when the comment body is outdated + """ + outdated: Boolean! + + """ + The path to which the comment applies. + """ + path: String! + + """ + The line index in the diff to which the comment applies. + """ + position: Int @deprecated(reason: "We are phasing out diff-relative positioning for PR comments Use the `line` and `startLine` fields instead, which are file line numbers instead of diff line numbers Removal on 2023-10-01 UTC.") + + """ + Identifies when the comment was published at. + """ + publishedAt: DateTime + + """ + The pull request associated with this review comment. + """ + pullRequest: PullRequest! + + """ + The pull request review associated with this review comment. + """ + pullRequestReview: PullRequestReview + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + 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 + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + The comment this is a reply to. + """ + replyTo: PullRequestReviewComment + + """ + The repository associated with this node. + """ + repository: Repository! + + """ + The HTTP path permalink for this review comment. + """ + resourcePath: URI! + + """ + The start line number on the file to which the comment applies + """ + startLine: Int + + """ + Identifies the state of the comment. + """ + state: PullRequestReviewCommentState! + + """ + The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + """ + subjectType: PullRequestReviewThreadSubjectType! + + """ + Identifies when the comment was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL permalink for this review comment. + """ + url: URI! + + """ + A list of edits to this content. + """ + userContentEdits( + """ + 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 + ): UserContentEditConnection + + """ + Check if the current viewer can delete this object. + """ + viewerCanDelete: Boolean! + + """ + Check if the current viewer can minimize this object. + """ + viewerCanMinimize: Boolean! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! + + """ + Check if the current viewer can unminimize this object. + """ + viewerCanUnminimize: Boolean! + + """ + Check if the current viewer can update this object. + """ + viewerCanUpdate: Boolean! + + """ + Reasons why the current viewer can not update this comment. + """ + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + + """ + Did the viewer author this comment. + """ + viewerDidAuthor: Boolean! +} + +""" +The connection type for PullRequestReviewComment. +""" +type PullRequestReviewCommentConnection { + """ + A list of edges. + """ + edges: [PullRequestReviewCommentEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestReviewComment] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestReviewCommentEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestReviewComment +} + +""" +The possible states of a pull request review comment. +""" +enum PullRequestReviewCommentState { + """ + A comment that is part of a pending review + """ + PENDING + + """ + A comment that is part of a submitted review + """ + SUBMITTED +} + +""" +The connection type for PullRequestReview. +""" +type PullRequestReviewConnection { + """ + A list of edges. + """ + edges: [PullRequestReviewEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestReview] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +This aggregates pull request reviews made by a user within one repository. +""" +type PullRequestReviewContributionsByRepository { + """ + The pull request review contributions. + """ + contributions( + """ + 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 contributions returned from the connection. + """ + orderBy: ContributionOrder = {direction: DESC} + ): CreatedPullRequestReviewContributionConnection! + + """ + The repository in which the pull request reviews were made. + """ + repository: Repository! +} + +""" +The review status of a pull request. +""" +enum PullRequestReviewDecision { + """ + The pull request has received an approving review. + """ + APPROVED + + """ + Changes have been requested on the pull request. + """ + CHANGES_REQUESTED + + """ + A review is required before the pull request can be merged. + """ + REVIEW_REQUIRED +} + +""" +An edge in a connection. +""" +type PullRequestReviewEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestReview +} + +""" +The possible events to perform on a pull request review. +""" +enum PullRequestReviewEvent { + """ + Submit feedback and approve merging these changes. + """ + APPROVE + + """ + Submit general feedback without explicit approval. + """ + COMMENT + + """ + Dismiss review so it now longer effects merging. + """ + DISMISS + + """ + Submit feedback that must be addressed before merging. + """ + REQUEST_CHANGES +} + +""" +The possible states of a pull request review. +""" +enum PullRequestReviewState { + """ + A review allowing the pull request to merge. + """ + APPROVED + + """ + A review blocking the pull request from merging. + """ + CHANGES_REQUESTED + + """ + An informational review. + """ + COMMENTED + + """ + A review that has been dismissed. + """ + DISMISSED + + """ + A review that has not yet been submitted. + """ + PENDING +} + +""" +A threaded list of comments for a given pull request. +""" +type PullRequestReviewThread implements Node { + """ + A list of pull request comments associated with the thread. + """ + comments( + """ + 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 + + """ + Skips the first _n_ elements in the list. + """ + skip: Int + ): PullRequestReviewCommentConnection! + + """ + The side of the diff on which this thread was placed. + """ + diffSide: DiffSide! + + """ + The Node ID of the PullRequestReviewThread object + """ + id: ID! + + """ + Whether or not the thread has been collapsed (resolved) + """ + isCollapsed: Boolean! + + """ + Indicates whether this thread was outdated by newer changes. + """ + isOutdated: Boolean! + + """ + Whether this thread has been resolved + """ + isResolved: Boolean! + + """ + The line in the file to which this thread refers + """ + line: Int + + """ + The original line in the file to which this thread refers. + """ + originalLine: Int + + """ + The original start line in the file to which this thread refers (multi-line only). + """ + originalStartLine: Int + + """ + Identifies the file path of this thread. + """ + path: String! + + """ + Identifies the pull request associated with this thread. + """ + pullRequest: PullRequest! + + """ + Identifies the repository associated with this thread. + """ + repository: Repository! + + """ + The user who resolved this thread + """ + resolvedBy: User + + """ + The side of the diff that the first line of the thread starts on (multi-line only) + """ + startDiffSide: DiffSide + + """ + The start line in the file to which this thread refers (multi-line only) + """ + startLine: Int + + """ + The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + """ + subjectType: PullRequestReviewThreadSubjectType! + + """ + Indicates whether the current viewer can reply to this thread. + """ + viewerCanReply: Boolean! + + """ + Whether or not the viewer can resolve this thread + """ + viewerCanResolve: Boolean! + + """ + Whether or not the viewer can unresolve this thread + """ + viewerCanUnresolve: Boolean! +} + +""" +Review comment threads for a pull request review. +""" +type PullRequestReviewThreadConnection { + """ + A list of edges. + """ + edges: [PullRequestReviewThreadEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestReviewThread] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestReviewThreadEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestReviewThread +} + +""" +The possible reasons a pull request review thread was resolved. +""" +enum PullRequestReviewThreadResolutionReason { + """ + The review comment was addressed. + """ + ADDRESSED + + """ + The review comment is invalid. + """ + INVALID + + """ + The review comment will not be addressed. + """ + WONT_FIX +} + +""" +The possible subject types of a pull request review comment. +""" +enum PullRequestReviewThreadSubjectType { + """ + A comment that has been made against the file of a pull request + """ + FILE + + """ + A comment that has been made against the line of a pull request + """ + LINE +} + +""" +Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. +""" +type PullRequestRevisionMarker { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The last commit the viewer has seen. + """ + lastSeenCommit: Commit! + + """ + The pull request to which the marker belongs. + """ + pullRequest: PullRequest! +} + +""" +A stack of PullRequests +""" +type PullRequestStack implements Node { + """ + The branch that the stack's pull requests target + """ + baseRefName: String! + + """ + The entries in the stack + """ + entries( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): PullRequestStackEntryConnection! + + """ + The Node ID of the PullRequestStack object + """ + id: ID! + + """ + A number uniquely identifying the stack within its repository + """ + number: Int! + + """ + The total number of pull requests in the stack + """ + size: Int! +} + +""" +A member of a PullRequestStack +""" +type PullRequestStackEntry implements Node { + """ + The Node ID of the PullRequestStackEntry object + """ + id: ID! + + """ + This entry's position in the stack, where 1 is the closest to the base branch, 2 is stacked on top of 1, etc. + """ + position: Int! + + """ + The pull request that occupies this position in the stack + """ + pullRequest: PullRequest + + """ + The stack that this entry is a part of + """ + stack: PullRequestStack +} + +""" +Entries in a pull request stack +""" +type PullRequestStackEntryConnection { + """ + A list of edges. + """ + edges: [PullRequestStackEntryEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestStackEntry] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PullRequestStackEntryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestStackEntry +} + +""" +The possible states of a pull request. +""" +enum PullRequestState { + """ + A pull request that has been closed without being merged. + """ + CLOSED + + """ + A pull request that has been closed by being merged. + """ + MERGED + + """ + A pull request that is still open. + """ + OPEN +} + +""" +A repository pull request template. +""" +type PullRequestTemplate { + """ + The body of the template + """ + body: String + + """ + The filename of the template + """ + filename: String + + """ + The repository the template belongs to + """ + repository: Repository! +} + +""" +A threaded list of comments for a given pull request. +""" +type PullRequestThread implements Node { + """ + A list of pull request comments associated with the thread. + """ + comments( + """ + 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 + + """ + Skips the first _n_ elements in the list. + """ + skip: Int + ): PullRequestReviewCommentConnection! + + """ + The side of the diff on which this thread was placed. + """ + diffSide: DiffSide! + + """ + The Node ID of the PullRequestThread object + """ + id: ID! + + """ + Whether or not the thread has been collapsed (resolved) + """ + isCollapsed: Boolean! + + """ + Indicates whether this thread was outdated by newer changes. + """ + isOutdated: Boolean! + + """ + Whether this thread has been resolved + """ + isResolved: Boolean! + + """ + The line in the file to which this thread refers + """ + line: Int + + """ + Identifies the file path of this thread. + """ + path: String! + + """ + Identifies the pull request associated with this thread. + """ + pullRequest: PullRequest! + + """ + Identifies the repository associated with this thread. + """ + repository: Repository! + + """ + The user who resolved this thread + """ + resolvedBy: User + + """ + The side of the diff that the first line of the thread starts on (multi-line only) + """ + startDiffSide: DiffSide + + """ + The line of the first file diff in the thread. + """ + startLine: Int + + """ + The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + """ + subjectType: PullRequestReviewThreadSubjectType! + + """ + Indicates whether the current viewer can reply to this thread. + """ + viewerCanReply: Boolean! + + """ + Whether or not the viewer can resolve this thread + """ + viewerCanResolve: Boolean! + + """ + Whether or not the viewer can unresolve this thread + """ + viewerCanUnresolve: Boolean! +} + +""" +The connection type for PullRequestTimelineItem. +""" +type PullRequestTimelineConnection { + """ + A list of edges. + """ + edges: [PullRequestTimelineItemEdge] + + """ + A list of nodes. + """ + nodes: [PullRequestTimelineItem] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An item in a pull request timeline +""" +union PullRequestTimelineItem = AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | Commit | CommitCommentThread | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MergedEvent | MilestonedEvent | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent + +""" +An edge in a connection. +""" +type PullRequestTimelineItemEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestTimelineItem +} + +""" +An item in a pull request timeline +""" +union PullRequestTimelineItems = AddedToMergeQueueEvent | AddedToProjectEvent | AddedToProjectV2Event | AddedToStackEvent | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | ClosedEvent | CommentDeletedEvent | ConnectedEvent | ConvertToDraftEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | DisconnectedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueFieldAddedEvent | IssueFieldChangedEvent | IssueFieldRemovedEvent | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | LabeledEvent | LockedEvent | MarkedAsDuplicateEvent | MentionedEvent | MergedEvent | MilestonedEvent | MovedColumnsInProjectEvent | ParentIssueAddedEvent | ParentIssueRemovedEvent | PinnedEvent | ProjectV2ItemStatusChangedEvent | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | ReadyForReviewEvent | ReferencedEvent | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RemovedFromStackEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | UserBlockedEvent + +""" +The connection type for PullRequestTimelineItems. +""" +type PullRequestTimelineItemsConnection { + """ + A list of edges. + """ + edges: [PullRequestTimelineItemsEdge] + + """ + Identifies the count of items after applying `before` and `after` filters. + """ + filteredCount: Int! + + """ + A list of nodes. + """ + nodes: [PullRequestTimelineItems] + + """ + Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. + """ + pageCount: Int! + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! + + """ + Identifies the date and time when the timeline was last updated. + """ + updatedAt: DateTime! +} + +""" +An edge in a connection. +""" +type PullRequestTimelineItemsEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PullRequestTimelineItems +} + +""" +The possible item types found in a timeline. +""" +enum PullRequestTimelineItemsItemType { + """ + Represents an 'added_to_merge_queue' event on a given pull request. + """ + ADDED_TO_MERGE_QUEUE_EVENT + + """ + Represents a 'added_to_project' event on a given issue or pull request. + """ + ADDED_TO_PROJECT_EVENT + + """ + Represents a 'added_to_project_v2' event on a given issue or pull request. + """ + ADDED_TO_PROJECT_V2_EVENT + + """ + Represents an 'added_to_stack' event on a given pull request. + """ + ADDED_TO_STACK_EVENT + + """ + Represents an 'archived' event on a given pull request. + """ + ARCHIVED_EVENT + + """ + Represents an 'assigned' event on any assignable object. + """ + ASSIGNED_EVENT + + """ + Represents a 'automatic_base_change_failed' event on a given pull request. + """ + AUTOMATIC_BASE_CHANGE_FAILED_EVENT + + """ + Represents a 'automatic_base_change_succeeded' event on a given pull request. + """ + AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT + + """ + Represents a 'auto_merge_disabled' event on a given pull request. + """ + AUTO_MERGE_DISABLED_EVENT + + """ + Represents a 'auto_merge_enabled' event on a given pull request. + """ + AUTO_MERGE_ENABLED_EVENT + + """ + Represents a 'auto_rebase_enabled' event on a given pull request. + """ + AUTO_REBASE_ENABLED_EVENT + + """ + Represents a 'auto_squash_enabled' event on a given pull request. + """ + AUTO_SQUASH_ENABLED_EVENT + + """ + Represents a 'base_ref_changed' event on a given issue or pull request. + """ + BASE_REF_CHANGED_EVENT + + """ + Represents a 'base_ref_deleted' event on a given pull request. + """ + BASE_REF_DELETED_EVENT + + """ + Represents a 'base_ref_force_pushed' event on a given pull request. + """ + 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`. + """ + CLOSED_EVENT + + """ + Represents a 'comment_deleted' event on a given issue or pull request. + """ + COMMENT_DELETED_EVENT + + """ + Represents a 'connected' event on a given issue or pull request. + """ + CONNECTED_EVENT + + """ + Represents a 'converted_from_draft' event on a given issue or pull request. + """ + CONVERTED_FROM_DRAFT_EVENT + + """ + Represents a 'converted_note_to_issue' event on a given issue or pull request. + """ + CONVERTED_NOTE_TO_ISSUE_EVENT + + """ + Represents a 'converted_to_discussion' event on a given issue. + """ + CONVERTED_TO_DISCUSSION_EVENT + + """ + Represents a 'convert_to_draft' event on a given pull request. + """ + CONVERT_TO_DRAFT_EVENT + + """ + Represents a mention made by one issue or pull request to another. + """ + CROSS_REFERENCED_EVENT + + """ + Represents a 'demilestoned' event on a given issue or pull request. + """ + DEMILESTONED_EVENT + + """ + Represents a 'deployed' event on a given pull request. + """ + DEPLOYED_EVENT + + """ + Represents a 'deployment_environment_changed' event on a given pull request. + """ + DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT + + """ + Represents a 'disconnected' event on a given issue or pull request. + """ + DISCONNECTED_EVENT + + """ + Represents a 'head_ref_deleted' event on a given pull request. + """ + HEAD_REF_DELETED_EVENT + + """ + Represents a 'head_ref_force_pushed' event on a given pull request. + """ + HEAD_REF_FORCE_PUSHED_EVENT + + """ + Represents a 'head_ref_restored' event on a given pull request. + """ + HEAD_REF_RESTORED_EVENT + + """ + Represents a comment on an Issue. + """ + ISSUE_COMMENT + + """ + Represents a 'issue_comment_pinned' event on a given issue. + """ + ISSUE_COMMENT_PINNED_EVENT + + """ + Represents a 'issue_comment_unpinned' event on a given issue. + """ + ISSUE_COMMENT_UNPINNED_EVENT + + """ + Represents a 'issue_field_added' event on a given issue. + """ + ISSUE_FIELD_ADDED_EVENT + + """ + Represents a 'issue_field_changed' event on a given issue. + """ + ISSUE_FIELD_CHANGED_EVENT + + """ + Represents a 'issue_field_removed' event on a given issue. + """ + ISSUE_FIELD_REMOVED_EVENT + + """ + Represents a 'issue_type_added' event on a given issue. + """ + ISSUE_TYPE_ADDED_EVENT + + """ + Represents a 'issue_type_changed' event on a given issue. + """ + ISSUE_TYPE_CHANGED_EVENT + + """ + Represents a 'issue_type_removed' event on a given issue. + """ + ISSUE_TYPE_REMOVED_EVENT + + """ + Represents a 'labeled' event on a given issue or pull request. + """ + LABELED_EVENT + + """ + Represents a 'locked' event on a given issue or pull request. + """ + LOCKED_EVENT + + """ + Represents a 'marked_as_duplicate' event on a given issue or pull request. + """ + MARKED_AS_DUPLICATE_EVENT + + """ + Represents a 'mentioned' event on a given issue or pull request. + """ + MENTIONED_EVENT + + """ + Represents a 'merged' event on a given pull request. + """ + MERGED_EVENT + + """ + Represents a 'milestoned' event on a given issue or pull request. + """ + MILESTONED_EVENT + + """ + Represents a 'moved_columns_in_project' event on a given issue or pull request. + """ + 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. + """ + PINNED_EVENT + + """ + Represents a 'project_v2_item_status_changed' event on a given issue or pull request. + """ + PROJECT_V2_ITEM_STATUS_CHANGED_EVENT + + """ + Represents a Git commit part of a pull request. + """ + PULL_REQUEST_COMMIT + + """ + Represents a commit comment thread part of a pull request. + """ + PULL_REQUEST_COMMIT_COMMENT_THREAD + + """ + A review object for a given pull request. + """ + PULL_REQUEST_REVIEW + + """ + A threaded list of comments for a given pull request. + """ + PULL_REQUEST_REVIEW_THREAD + + """ + Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. + """ + PULL_REQUEST_REVISION_MARKER + + """ + Represents a 'ready_for_review' event on a given pull request. + """ + READY_FOR_REVIEW_EVENT + + """ + Represents a 'referenced' event on a given `ReferencedSubject`. + """ + REFERENCED_EVENT + + """ + Represents a 'removed_from_merge_queue' event on a given pull request. + """ + REMOVED_FROM_MERGE_QUEUE_EVENT + + """ + Represents a 'removed_from_project' event on a given issue or pull request. + """ + REMOVED_FROM_PROJECT_EVENT + + """ + Represents a 'removed_from_project_v2' event on a given issue or pull request. + """ + REMOVED_FROM_PROJECT_V2_EVENT + + """ + Represents a 'removed_from_stack' event on a given pull request. + """ + REMOVED_FROM_STACK_EVENT + + """ + Represents a 'renamed' event on a given issue or pull request + """ + RENAMED_TITLE_EVENT + + """ + Represents a 'reopened' event on any `Closable`. + """ + REOPENED_EVENT + + """ + Represents a 'review_dismissed' event on a given issue or pull request. + """ + REVIEW_DISMISSED_EVENT + + """ + Represents an 'review_requested' event on a given pull request. + """ + REVIEW_REQUESTED_EVENT + + """ + Represents an 'review_request_removed' event on a given pull request. + """ + REVIEW_REQUEST_REMOVED_EVENT + + """ + Represents a 'subscribed' event on a given `Subscribable`. + """ + 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. + """ + TRANSFERRED_EVENT + + """ + Represents an 'unarchived' event on a given pull request. + """ + UNARCHIVED_EVENT + + """ + Represents an 'unassigned' event on any assignable object. + """ + UNASSIGNED_EVENT + + """ + Represents an 'unlabeled' event on a given issue or pull request. + """ + UNLABELED_EVENT + + """ + Represents an 'unlocked' event on a given issue or pull request. + """ + UNLOCKED_EVENT + + """ + Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + """ + UNMARKED_AS_DUPLICATE_EVENT + + """ + Represents an 'unpinned' event on a given issue or pull request. + """ + UNPINNED_EVENT + + """ + Represents an 'unsubscribed' event on a given `Subscribable`. + """ + UNSUBSCRIBED_EVENT + + """ + Represents a 'user_blocked' event on a given user. + """ + USER_BLOCKED_EVENT +} + +""" +The possible target states when updating a pull request. +""" +enum PullRequestUpdateState { + """ + A pull request that has been closed without being merged. + """ + CLOSED + + """ + A pull request that is still open. + """ + OPEN +} + +""" +A Git push. +""" +type Push implements Node { + """ + The Node ID of the Push object + """ + id: ID! + + """ + The SHA after the push + """ + nextSha: GitObjectID + + """ + The permalink for this push. + """ + permalink: URI! + + """ + The SHA before the push + """ + previousSha: GitObjectID + + """ + The actor who pushed + """ + pusher: Actor! + + """ + The repository that was pushed to + """ + repository: Repository! +} + +""" +A team, user, or app who has the ability to push to a protected branch. +""" +type PushAllowance implements Node { + """ + The actor that can push. + """ + actor: PushAllowanceActor + + """ + Identifies the branch protection rule associated with the allowed user, team, or app. + """ + branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the PushAllowance object + """ + id: ID! +} + +""" +Types that can be an actor. +""" +union PushAllowanceActor = App | Team | User + +""" +The connection type for PushAllowance. +""" +type PushAllowanceConnection { + """ + A list of edges. + """ + edges: [PushAllowanceEdge] + + """ + A list of nodes. + """ + nodes: [PushAllowance] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type PushAllowanceEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: PushAllowance +} + +""" +The query root of GitHub's GraphQL interface. +""" +type Query implements Node { + _entities(representations: [_Any!]!): [_Entity]! + + """ + Look up a code of conduct by its key + """ + codeOfConduct( + """ + The code of conduct's key + """ + key: String! + ): CodeOfConduct + + """ + Look up a code of conduct by its key + """ + codesOfConduct: [CodeOfConduct] + + """ + Look up an enterprise by URL slug. + """ + enterprise( + """ + The enterprise invitation token. + """ + invitationToken: String + + """ + The enterprise URL slug. + """ + slug: String! + ): Enterprise + + """ + Look up a pending enterprise administrator invitation by invitee, enterprise and role. + """ + enterpriseAdministratorInvitation( + """ + The slug of the enterprise the user was invited to join. + """ + enterpriseSlug: String! + + """ + The role for the enterprise member invitation. + """ + role: EnterpriseAdministratorRole! + + """ + The login of the user invited to join the enterprise. + """ + userLogin: String! + ): EnterpriseAdministratorInvitation + + """ + Look up a pending enterprise administrator invitation by invitation token. If + the invitation was sent to an email address, the viewer must have verified + that email address, or otherwise be an administrator of the enterprise. + """ + enterpriseAdministratorInvitationByToken( + """ + The invitation token sent with the invitation email. + """ + invitationToken: String! + ): EnterpriseAdministratorInvitation + + """ + Look up a pending enterprise unaffiliated member invitation by invitee and enterprise. + """ + enterpriseMemberInvitation( + """ + The slug of the enterprise the user was invited to join. + """ + enterpriseSlug: String! + + """ + The login of the user invited to join the enterprise. + """ + userLogin: String! + ): EnterpriseMemberInvitation + + """ + Look up a pending enterprise unaffiliated member invitation by invitation + token. If the invitation was sent to an email address, the viewer must have + verified that email address, or otherwise be an administrator of the enterprise. + """ + enterpriseMemberInvitationByToken( + """ + The invitation token sent with the invitation email. + """ + invitationToken: String! + ): EnterpriseMemberInvitation + + """ + ID of the object. + """ + id: ID! + + """ + Look up an open source license by its key + """ + license( + """ + The license's downcased SPDX ID + """ + key: String! + ): License + + """ + Return a list of known open source licenses + """ + licenses: [License]! + + """ + Get alphabetically sorted list of Marketplace categories + """ + marketplaceCategories( + """ + Exclude categories with no listings. + """ + excludeEmpty: Boolean + + """ + Returns top level categories only, excluding any subcategories. + """ + excludeSubcategories: Boolean + + """ + Return only the specified categories. + """ + includeCategories: [String!] + ): [MarketplaceCategory!]! + + """ + Look up a Marketplace category by its slug. + """ + marketplaceCategory( + """ + The URL slug of the category. + """ + slug: String! + + """ + Also check topic aliases for the category slug + """ + useTopicAliases: Boolean + ): MarketplaceCategory + + """ + Look up a single Marketplace listing + """ + marketplaceListing( + """ + Select the listing that matches this slug. It's the short name of the listing used in its URL. + """ + slug: String! + ): MarketplaceListing + + """ + Look up Marketplace listings + """ + marketplaceListings( + """ + Select listings that can be administered by the specified user. + """ + adminId: ID + + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Select listings visible to the viewer even if they are not approved. If omitted or + false, only approved listings will be returned. + """ + allStates: Boolean + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Select only listings with the given category. + """ + categorySlug: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Select listings for products owned by the specified organization. + """ + organizationId: ID + + """ + Select only listings where the primary category matches the given category slug. + """ + primaryCategoryOnly: Boolean = false + + """ + Select the listings with these slugs, if they are visible to the viewer. + """ + slugs: [String] + + """ + Also check topic aliases for the category slug + """ + useTopicAliases: Boolean + + """ + Select listings to which user has admin access. If omitted, listings visible to the + viewer are returned. + """ + viewerCanAdmin: Boolean + + """ + Select only listings that offer a free trial. + """ + withFreeTrialsOnly: Boolean = false + ): MarketplaceListingConnection! + + """ + Return information about the GitHub instance + """ + meta: GitHubMetadata! + + """ + Fetches an object given its ID. + """ + node( + """ + ID of the object. + """ + id: ID! + ): Node + + """ + Lookup nodes by a list of IDs. + """ + nodes( + """ + The list of node IDs. + """ + ids: [ID!]! + ): [Node]! + + """ + Lookup a organization by login. + """ + organization( + """ + The organization's login. + """ + login: String! + ): Organization + + """ + The client's rate limit information. + """ + rateLimit( + """ + If true, calculate the cost for the query without evaluating it + """ + dryRun: Boolean = false + ): RateLimit + + """ + Workaround for re-exposing the root query object. (Refer to + https://github.com/facebook/relay/issues/112 for more information.) + """ + relay: Query! + + """ + Lookup a given repository by the owner and repository name. + """ + repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + + """ + The name of the repository + """ + name: String! + + """ + The login field of a user or organization + """ + owner: String! + ): Repository + + """ + Lookup a repository owner (ie. either a User or an Organization) by login. + """ + repositoryOwner( + """ + The username to lookup the owner by. + """ + login: String! + ): RepositoryOwner + + """ + Lookup resource by a URL. + """ + resource( + """ + The URL. + """ + url: URI! + ): UniformResourceLocatable + + """ + Perform a search across resources, returning a maximum of 1,000 results. + """ + search( + """ + 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 + + """ + The search string to look for. GitHub search syntax is supported. For more + information, see "[Searching on + GitHub](https://docs.github.com/search-github/searching-on-github)," + "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)," + and "[Sorting search results](https://docs.github.com/search-github/getting-started-with-searching-on-github/sorting-search-results)." + """ + query: String! + + """ + The types of search items to search within. + """ + type: SearchType! + ): SearchResultItemConnection! + + """ + GitHub Security Advisories + """ + securityAdvisories( + """ + 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 + + """ + A list of classifications to filter advisories by. + """ + 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. + """ + first: Int + + """ + Filter advisories by identifier, e.g. GHSA or CVE. + """ + identifier: SecurityAdvisoryIdentifierFilter + + """ + Filter advisories by withdrawn status. True returns only withdrawn advisories. False excludes withdrawn advisories. + """ + isWithdrawn: Boolean + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the returned topics. + """ + orderBy: SecurityAdvisoryOrder = {field: UPDATED_AT, direction: DESC} + + """ + Filter advisories to those published since a time in the past. + """ + publishedSince: DateTime + + """ + A list of advisory severities to filter advisories by. + """ + severities: [SecurityAdvisorySeverity!] + + """ + Filter advisories to those updated since a time in the past. + """ + updatedSince: DateTime + ): SecurityAdvisoryConnection! + + """ + Fetch a Security Advisory by its GHSA ID + """ + securityAdvisory( + """ + GitHub Security Advisory ID. + """ + ghsaId: String! + ): SecurityAdvisory + + """ + Software Vulnerabilities documented by GitHub Security Advisories + """ + securityVulnerabilities( + """ + 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 + + """ + A list of advisory classifications to filter vulnerabilities by. + """ + classifications: [SecurityAdvisoryClassification!] + + """ + An ecosystem to filter vulnerabilities by. + """ + ecosystem: SecurityAdvisoryEcosystem + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for the returned topics. + """ + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} + + """ + A package name to filter vulnerabilities by. + """ + package: String + + """ + A list of severities to filter vulnerabilities by. + """ + severities: [SecurityAdvisorySeverity!] + ): SecurityVulnerabilityConnection! + + """ + Users and organizations who can be sponsored via GitHub Sponsors. + """ + sponsorables( + """ + 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 + + """ + Optional filter for which dependencies should be checked for sponsorable + owners. Only sponsorable owners of dependencies in this ecosystem will be + included. Used when onlyDependencies = true. + + **Upcoming Change on 2022-07-01 UTC** + **Description:** `dependencyEcosystem` will be removed. Use the ecosystem argument instead. + **Reason:** The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem. + """ + dependencyEcosystem: SecurityAdvisoryEcosystem + + """ + Optional filter for which dependencies should be checked for sponsorable + owners. Only sponsorable owners of dependencies in this ecosystem will be + included. Used when onlyDependencies = true. + """ + ecosystem: DependencyGraphEcosystem + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Whether only sponsorables who own the viewer's dependencies will be + returned. Must be authenticated to use. Can check an organization instead + for their dependencies owned by sponsorables by passing + orgLoginForDependencies. + """ + onlyDependencies: Boolean = false + + """ + Ordering options for users and organizations returned from the connection. + """ + orderBy: SponsorableOrder = {field: LOGIN, direction: ASC} + + """ + Optional organization username for whose dependencies should be checked. + Used when onlyDependencies = true. Omit to check your own dependencies. If + you are not an administrator of the organization, only dependencies from its + public repositories will be considered. + """ + orgLoginForDependencies: String + ): SponsorableItemConnection! + + """ + Look up a topic by name. + """ + topic( + """ + The topic's name. + """ + name: String! + ): Topic + + """ + Lookup a user by login. + """ + user( + """ + The user's login. + """ + login: String! + ): User + + """ + The currently authenticated user. + """ + viewer: User! +} + +""" +Represents the client's rate limit. +""" +type RateLimit { + """ + The point cost for the current query counting against the rate limit. + """ + cost: Int! + + """ + The maximum number of points the client is permitted to consume in a 60 minute window. + """ + limit: Int! + + """ + The maximum number of nodes this query may return + """ + nodeCount: Int! + + """ + The number of points remaining in the current rate limit window. + """ + remaining: Int! + + """ + The time at which the current rate limit window resets in UTC epoch seconds. + """ + resetAt: DateTime! + + """ + The number of points used in the current rate limit window. + """ + used: Int! +} + +""" +Represents a subject that can be reacted on. +""" +interface Reactable { + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the Reactable object + """ + id: ID! + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + 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 + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! +} + +""" +The connection type for User. +""" +type ReactingUserConnection { + """ + A list of edges. + """ + edges: [ReactingUserEdge] + + """ + A list of nodes. + """ + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a user that's made a reaction. +""" +type ReactingUserEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: User! + + """ + The moment when the user made the reaction. + """ + reactedAt: DateTime! +} + +""" +An emoji reaction to a particular piece of content. +""" +type Reaction implements Node { + """ + Identifies the emoji reaction. + """ + content: ReactionContent! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The Node ID of the Reaction object + """ + id: ID! + + """ + The reactable piece of content + """ + reactable: Reactable! + + """ + Identifies the user who created this reaction. + """ + user: User +} + +""" +A list of reactions that have been left on the subject. +""" +type ReactionConnection { + """ + A list of edges. + """ + edges: [ReactionEdge] + + """ + A list of nodes. + """ + nodes: [Reaction] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! + + """ + Whether or not the authenticated user has left a reaction on the subject. + """ + viewerHasReacted: Boolean! +} + +""" +Emojis that can be attached to Issues, Pull Requests and Comments. +""" +enum ReactionContent { + """ + Represents the `:confused:` emoji. + """ + CONFUSED + + """ + Represents the `:eyes:` emoji. + """ + EYES + + """ + Represents the `:heart:` emoji. + """ + HEART + + """ + Represents the `:hooray:` emoji. + """ + HOORAY + + """ + Represents the `:laugh:` emoji. + """ + LAUGH + + """ + Represents the `:rocket:` emoji. + """ + ROCKET + + """ + Represents the `:-1:` emoji. + """ + THUMBS_DOWN + + """ + Represents the `:+1:` emoji. + """ + THUMBS_UP +} + +""" +An edge in a connection. +""" +type ReactionEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Reaction +} + +""" +A group of emoji reactions to a particular piece of content. +""" +type ReactionGroup { + """ + Identifies the emoji reaction. + """ + content: ReactionContent! + + """ + Identifies when the reaction was created. + """ + createdAt: DateTime + + """ + Reactors to the reaction subject with the emotion represented by this reaction group. + """ + reactors( + """ + 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 + ): ReactorConnection! + + """ + The subject that was reacted to. + """ + subject: Reactable! + + """ + Users who have reacted to the reaction subject with the emotion represented by this reaction group + """ + users( + """ + 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 + ): ReactingUserConnection! @deprecated(reason: "Reactors can now be mannequins, bots, and organizations. Use the `reactors` field instead. Removal on 2021-10-01 UTC.") + + """ + Whether or not the authenticated user has left a reaction on the subject. + """ + viewerHasReacted: Boolean! +} + +""" +Ways in which lists of reactions can be ordered upon return. +""" +input ReactionOrder { + """ + The direction in which to order reactions by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order reactions by. + """ + field: ReactionOrderField! +} + +""" +A list of fields that reactions can be ordered by. +""" +enum ReactionOrderField { + """ + Allows ordering a list of reactions by when they were created. + """ + CREATED_AT +} + +""" +Types that can be assigned to reactions. +""" +union Reactor = Bot | Mannequin | Organization | User + +""" +The connection type for Reactor. +""" +type ReactorConnection { + """ + A list of edges. + """ + edges: [ReactorEdge] + + """ + A list of nodes. + """ + nodes: [Reactor] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents an author of a reaction. +""" +type ReactorEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The author of the reaction. + """ + node: Reactor! + + """ + The moment when the user made the reaction. + """ + reactedAt: DateTime! +} + +""" +Represents a 'ready_for_review' event on a given pull request. +""" +type ReadyForReviewEvent implements Node & UniformResourceLocatable { + """ + 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 ReadyForReviewEvent object + """ + id: ID! + + """ + PullRequest referenced by event. + """ + pullRequest: PullRequest! + + """ + The HTTP path for this ready for review event. + """ + resourcePath: URI! + + """ + The HTTP URL for this ready for review event. + """ + url: URI! +} + +""" +Represents a Git reference. +""" +type Ref implements Node { + """ + A list of pull requests with this ref as the head ref. + """ + associatedPullRequests( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + The base ref name to filter the pull requests by. + """ + baseRefName: 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 + + """ + The head ref name to filter the pull requests by. + """ + headRefName: String + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for pull requests returned from the connection. + """ + orderBy: IssueOrder + + """ + A list of states to filter the pull requests by. + """ + states: [PullRequestState!] + ): PullRequestConnection! + + """ + Branch protection rules for this ref + """ + branchProtectionRule: BranchProtectionRule + + """ + Compares the current ref as a base ref to another head ref, if the comparison can be made. + """ + compare( + """ + The head ref to compare against. + """ + headRef: String! + ): Comparison + + """ + The Node ID of the Ref object + """ + id: ID! + + """ + The ref name. + """ + name: String! + + """ + The ref's prefix, such as `refs/heads/` or `refs/tags/`. + """ + prefix: String! + + """ + Branch protection rules that are viewable by non-admins + """ + refUpdateRule: RefUpdateRule + + """ + The repository the ref belongs to. + """ + repository: Repository! + + """ + A list of rules from active Repository and Organization rulesets that apply to this ref. + """ + rules( + """ + 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 repository rules. + """ + orderBy: RepositoryRuleOrder = {field: UPDATED_AT, direction: DESC} + ): RepositoryRuleConnection + + """ + The object the ref points to. Returns null when object does not exist. + """ + target: GitObject +} + +""" +The connection type for Ref. +""" +type RefConnection { + """ + A list of edges. + """ + edges: [RefEdge] + + """ + A list of nodes. + """ + nodes: [Ref] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type RefEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Ref +} + +""" +Parameters to be used for the ref_name condition +""" +type RefNameConditionTarget { + """ + Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + """ + exclude: [String!]! + + """ + Array of ref names or patterns to include. One of these patterns must match + for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + default branch or `~ALL` to include all branches. + """ + include: [String!]! +} + +""" +Parameters to be used for the ref_name condition +""" +input RefNameConditionTargetInput { + """ + Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + """ + exclude: [String!]! + + """ + Array of ref names or patterns to include. One of these patterns must match + for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the + default branch or `~ALL` to include all branches. + """ + include: [String!]! +} + +""" +Ways in which lists of git refs can be ordered upon return. +""" +input RefOrder { + """ + The direction in which to order refs by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order refs by. + """ + field: RefOrderField! +} + +""" +Properties by which ref connections can be ordered. +""" +enum RefOrderField { + """ + Order refs by their alphanumeric name + """ + ALPHABETICAL + + """ + Order refs by underlying commit date if the ref prefix is refs/tags/ + """ + TAG_COMMIT_DATE +} + +""" +A ref update +""" +input RefUpdate { + """ + The value this ref should be updated to. + """ + afterOid: GitObjectID! + + """ + The value this ref needs to point to before the update. + """ + beforeOid: GitObjectID + + """ + Force a non fast-forward update. + """ + force: Boolean = false + + """ + The fully qualified name of the ref to be update. For example `refs/heads/branch-name` + """ + name: GitRefname! +} + +""" +Branch protection rules that are enforced on the viewer. +""" +type RefUpdateRule { + """ + Can this branch be deleted. + """ + allowsDeletions: Boolean! + + """ + Are force pushes allowed on this branch. + """ + allowsForcePushes: Boolean! + + """ + Can matching branches be created. + """ + blocksCreations: Boolean! + + """ + Identifies the protection rule pattern. + """ + pattern: String! + + """ + Number of approving reviews required to update matching branches. + """ + requiredApprovingReviewCount: Int + + """ + List of required status check contexts that must pass for commits to be accepted to matching branches. + """ + requiredStatusCheckContexts: [String] + + """ + Are reviews from code owners required to update matching branches. + """ + requiresCodeOwnerReviews: Boolean! + + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean! + + """ + Are merge commits prohibited from being pushed to this branch. + """ + requiresLinearHistory: Boolean! + + """ + Are commits required to be signed. + """ + requiresSignatures: Boolean! + + """ + Is the viewer allowed to dismiss reviews. + """ + viewerAllowedToDismissReviews: Boolean! + + """ + Can the viewer push to the branch + """ + viewerCanPush: Boolean! +} + +""" +Represents a 'referenced' event on a given `ReferencedSubject`. +""" +type ReferencedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the commit associated with the 'referenced' event. + """ + commit: Commit + + """ + Identifies the repository associated with the 'referenced' event. + """ + commitRepository: Repository! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ReferencedEvent object + """ + id: ID! + + """ + Reference originated in a different repository. + """ + isCrossRepository: Boolean! + + """ + Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. + """ + isDirectReference: Boolean! + + """ + Object referenced by event. + """ + subject: ReferencedSubject! +} + +""" +Any referencable object +""" +union ReferencedSubject = Issue | PullRequest + +""" +Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes +""" +input RegenerateEnterpriseIdentityProviderRecoveryCodesInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise on which to set an identity provider. + """ + enterpriseId: ID! +} + +""" +Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes. +""" +type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The identity provider for the enterprise. + """ + identityProvider: EnterpriseIdentityProvider +} + +""" +Autogenerated input type of RegenerateVerifiableDomainToken +""" +input RegenerateVerifiableDomainTokenInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the verifiable domain to regenerate the verification token of. + """ + id: ID! +} + +""" +Autogenerated return type of RegenerateVerifiableDomainToken. +""" +type RegenerateVerifiableDomainTokenPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The verification token that was generated. + """ + verificationToken: String +} + +""" +Autogenerated input type of RejectDeployments +""" +input RejectDeploymentsInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Optional comment for rejecting deployments + """ + comment: String = "" + + """ + The ids of environments to reject deployments + """ + environmentIds: [ID!]! + + """ + The node ID of the workflow run containing the pending deployments. + """ + workflowRunId: ID! +} + +""" +Autogenerated return type of RejectDeployments. +""" +type RejectDeploymentsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The affected deployments. + """ + deployments: [Deployment!] +} + +""" +Autogenerated input type of RejectPendingIssueSuggestions +""" +input RejectPendingIssueSuggestionsInput { + """ + The ID of the actor whose suggestions to reject. + """ + actorId: ID! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue the suggestions apply to. + """ + issueId: ID! + + """ + The pending suggestions to reject. All are rejected atomically; any failure rolls back the entire batch. + """ + suggestions: [PendingIssueSuggestionRef!]! +} + +""" +Autogenerated return type of RejectPendingIssueSuggestions. +""" +type RejectPendingIssueSuggestionsPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue the suggestions were rejected from. + """ + issue: Issue +} + +""" +A release contains the content for a release. +""" +type Release implements Node & Reactable & UniformResourceLocatable { + """ + The author of the release + """ + author: User + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int + + """ + The description of the release. + """ + description: String + + """ + The description of this release rendered to HTML. + """ + descriptionHTML: HTML + + """ + The Node ID of the Release object + """ + id: ID! + + """ + Whether or not the release is immutable + """ + immutable: Boolean! + + """ + Whether or not the release is a draft + """ + isDraft: Boolean! + + """ + Whether or not the release is the latest releast + """ + isLatest: Boolean! + + """ + Whether or not the release is a prerelease + """ + isPrerelease: Boolean! + + """ + A list of users mentioned in the release description + """ + mentions( + """ + 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 + ): UserConnection + + """ + The title of the release. + """ + name: String + + """ + Identifies the date and time when the release was created. + """ + publishedAt: DateTime + + """ + A list of reactions grouped by content left on the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + A list of Reactions left on the Issue. + """ + reactions( + """ + 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 + + """ + Allows filtering Reactions by emoji. + """ + content: ReactionContent + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Allows specifying the order in which reactions are returned. + """ + orderBy: ReactionOrder + ): ReactionConnection! + + """ + List of releases assets which are dependent on this release. + """ + releaseAssets( + """ + 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 + + """ + A name to filter the assets by. + """ + name: String + ): ReleaseAssetConnection! + + """ + The repository that the release belongs to. + """ + repository: Repository! + + """ + The HTTP path for this issue + """ + resourcePath: URI! + + """ + A description of the release, rendered to HTML without any links in it. + """ + shortDescriptionHTML( + """ + How many characters to return. + """ + limit: Int = 200 + ): HTML + + """ + The Git tag the release points to + """ + tag: Ref + + """ + The tag commit for this release. + """ + tagCommit: Commit + + """ + The name of the release's Git tag + """ + tagName: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The HTTP URL for this issue + """ + url: URI! + + """ + Can user react to this subject + """ + viewerCanReact: Boolean! +} + +""" +A release asset contains the content for a release asset. +""" +type ReleaseAsset implements Node { + """ + The asset's content-type + """ + contentType: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The SHA256 digest of the asset + """ + digest: String + + """ + The number of times this asset was downloaded + """ + downloadCount: Int! + + """ + Identifies the URL where you can download the release asset via the browser. + """ + downloadUrl: URI! + + """ + The Node ID of the ReleaseAsset object + """ + id: ID! + + """ + Identifies the title of the release asset. + """ + name: String! + + """ + Release that the asset is associated with + """ + release: Release + + """ + The size (in bytes) of the asset + """ + size: Int! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The user that performed the upload + """ + uploadedBy: User! + + """ + Identifies the URL of the release asset. + """ + url: URI! +} + +""" +The connection type for ReleaseAsset. +""" +type ReleaseAssetConnection { + """ + A list of edges. + """ + edges: [ReleaseAssetEdge] + + """ + A list of nodes. + """ + nodes: [ReleaseAsset] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ReleaseAssetEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: ReleaseAsset +} + +""" +The connection type for Release. +""" +type ReleaseConnection { + """ + A list of edges. + """ + edges: [ReleaseEdge] + + """ + A list of nodes. + """ + nodes: [Release] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type ReleaseEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Release +} + +""" +Ways in which lists of releases can be ordered upon return. +""" +input ReleaseOrder { + """ + The direction in which to order releases by the specified field. + """ + direction: OrderDirection! + + """ + The field in which to order releases by. + """ + field: ReleaseOrderField! +} + +""" +Properties by which release connections can be ordered. +""" +enum ReleaseOrderField { + """ + Order releases by creation time + """ + CREATED_AT + + """ + Order releases alphabetically by name + """ + NAME +} + +""" +Autogenerated input type of RemoveAssigneesFromAssignable +""" +input RemoveAssigneesFromAssignableInput { + """ + The id of the assignable object to remove assignees from. + """ + assignableId: ID! + + """ + The ids of actors to remove as assignees. + """ + assigneeIds: [ID!]! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated return type of RemoveAssigneesFromAssignable. +""" +type RemoveAssigneesFromAssignablePayload { + """ + The item that was unassigned. + """ + assignable: Assignable + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated input type of RemoveBlockedBy +""" +input RemoveBlockedByInput { + """ + The ID of the blocking issue. + """ + blockingIssueId: ID! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the blocked issue. + """ + issueId: ID! +} + +""" +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 RemoveCloseIssueReferences +""" +input RemoveCloseIssueReferencesInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the issue to remove closing references from. + """ + issueId: ID! + + """ + IDs of manually linked pull requests to remove. Auto-detected closing references are left unchanged. Limit: 10. + """ + pullRequestIds: [ID!]! +} + +""" +Autogenerated return type of RemoveCloseIssueReferences. +""" +type RemoveCloseIssueReferencesPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue the closing references were removed from. + """ + issue: Issue +} + +""" +Autogenerated input type of RemoveEnterpriseAdmin +""" +input RemoveEnterpriseAdminInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Enterprise ID from which to remove the administrator. + """ + enterpriseId: ID! + + """ + The login of the user to remove as an administrator. + """ + login: String! +} + +""" +Autogenerated return type of RemoveEnterpriseAdmin. +""" +type RemoveEnterpriseAdminPayload { + """ + The user who was removed as an administrator. + """ + admin: User + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated enterprise. + """ + enterprise: Enterprise + + """ + A message confirming the result of removing an administrator. + """ + message: String + + """ + The viewer performing the mutation. + """ + viewer: User +} + +""" +Autogenerated input type of RemoveEnterpriseIdentityProvider +""" +input RemoveEnterpriseIdentityProviderInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise from which to remove the identity provider. + """ + enterpriseId: ID! +} + +""" +Autogenerated return type of RemoveEnterpriseIdentityProvider. +""" +type RemoveEnterpriseIdentityProviderPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The identity provider that was removed from the enterprise. + """ + identityProvider: EnterpriseIdentityProvider +} + +""" +Autogenerated input type of RemoveEnterpriseMember +""" +input RemoveEnterpriseMemberInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise from which the user should be removed. + """ + enterpriseId: ID! + + """ + The ID of the user to remove from the enterprise. + """ + userId: ID! +} + +""" +Autogenerated return type of RemoveEnterpriseMember. +""" +type RemoveEnterpriseMemberPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated enterprise. + """ + enterprise: Enterprise + + """ + The user that was removed from the enterprise. + """ + user: User + + """ + The viewer performing the mutation. + """ + viewer: User +} + +""" +Autogenerated input type of RemoveEnterpriseOrganization +""" +input RemoveEnterpriseOrganizationInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the enterprise from which the organization should be removed. + """ + enterpriseId: ID! + + """ + The ID of the organization to remove from the enterprise. + """ + organizationId: ID! +} + +""" +Autogenerated return type of RemoveEnterpriseOrganization. +""" +type RemoveEnterpriseOrganizationPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated enterprise. + """ + enterprise: Enterprise + + """ + The organization that was removed from the enterprise. + """ + organization: Organization + + """ + The viewer performing the mutation. + """ + viewer: User +} + +""" +Autogenerated input type of RemoveEnterpriseSupportEntitlement +""" +input RemoveEnterpriseSupportEntitlementInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the Enterprise which the admin belongs to. + """ + enterpriseId: ID! + + """ + The login of a member who will lose the support entitlement. + """ + login: String! +} + +""" +Autogenerated return type of RemoveEnterpriseSupportEntitlement. +""" +type RemoveEnterpriseSupportEntitlementPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of removing the support entitlement. + """ + message: String +} + +""" +Autogenerated input type of RemoveLabelsFromLabelable +""" +input RemoveLabelsFromLabelableInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ids of labels to remove. + """ + labelIds: [ID!]! + + """ + The id of the Labelable to remove labels from. + """ + labelableId: ID! +} + +""" +Autogenerated return type of RemoveLabelsFromLabelable. +""" +type RemoveLabelsFromLabelablePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Labelable the labels were removed from. + """ + labelable: Labelable +} + +""" +Autogenerated input type of RemoveOutsideCollaborator +""" +input RemoveOutsideCollaboratorInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization to remove the outside collaborator from. + """ + organizationId: ID! + + """ + The ID of the outside collaborator to remove. + """ + userId: ID! +} + +""" +Autogenerated return type of RemoveOutsideCollaborator. +""" +type RemoveOutsideCollaboratorPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The user that was removed as an outside collaborator. + """ + removedUser: User +} + +""" +Autogenerated input type of RemovePullRequestCreationCapBypassUsers +""" +input RemovePullRequestCreationCapBypassUsersInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the repository. + """ + repositoryId: ID! + + """ + The Node IDs of the users to remove from the bypass list. + """ + userIds: [ID!]! +} + +""" +Autogenerated return type of RemovePullRequestCreationCapBypassUsers. +""" +type RemovePullRequestCreationCapBypassUsersPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The repository with the updated bypass list. + """ + repository: Repository +} + +""" +Autogenerated input type of RemoveReaction +""" +input RemoveReactionInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The name of the emoji reaction to remove. + """ + content: ReactionContent! + + """ + The Node ID of the subject to modify. + """ + subjectId: ID! +} + +""" +Autogenerated return type of RemoveReaction. +""" +type RemoveReactionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The reaction object. + """ + reaction: Reaction + + """ + The reaction groups for the subject. + """ + reactionGroups: [ReactionGroup!] + + """ + The reactable subject. + """ + subject: Reactable +} + +""" +Autogenerated input type of RemoveRelatesTo +""" +input RemoveRelatesToInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the issue. + """ + issueId: ID! + + """ + The ID of the previously related issue. + """ + relatedIssueId: ID! +} + +""" +Autogenerated return type of RemoveRelatesTo. +""" +type RemoveRelatesToPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The previously targeted issue. + """ + issue: Issue + + """ + The previously related issue. + """ + relatedIssue: Issue +} + +""" +Autogenerated input type of RemoveStar +""" +input RemoveStarInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Starrable ID to unstar. + """ + starrableId: ID! +} + +""" +Autogenerated return type of RemoveStar. +""" +type RemoveStarPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The starrable. + """ + 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 +""" +input RemoveUpvoteInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the discussion or comment to remove upvote. + """ + subjectId: ID! +} + +""" +Autogenerated return type of RemoveUpvote. +""" +type RemoveUpvotePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The votable subject. + """ + subject: Votable +} + +""" +Represents a 'removed_from_merge_queue' event on a given pull request. +""" +type RemovedFromMergeQueueEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the before commit SHA for the 'removed_from_merge_queue' event. + """ + beforeCommit: Commit + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The user who removed this Pull Request from the merge queue + """ + enqueuer: User + + """ + The Node ID of the RemovedFromMergeQueueEvent object + """ + id: ID! + + """ + The merge queue where this pull request was removed from. + """ + mergeQueue: MergeQueue + + """ + PullRequest referenced by event. + """ + pullRequest: PullRequest + + """ + The reason this pull request was removed from the queue. + """ + reason: String +} + +""" +Represents a 'removed_from_project' event on a given issue or pull request. +""" +type RemovedFromProjectEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the primary key from the database. + """ + databaseId: Int @deprecated(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.") + + """ + The Node ID of the RemovedFromProjectEvent object + """ + id: ID! + + """ + Project referenced by event. + """ + project: Project @deprecated(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.") + + """ + Column name referenced by this project event. + """ + projectColumnName: String! @deprecated(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.") +} + +""" +Represents a 'removed_from_project_v2' event on a given issue or pull request. +""" +type RemovedFromProjectV2Event implements Node & ProjectV2Event { + """ + 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 RemovedFromProjectV2Event object + """ + id: ID! + + """ + Project referenced by event. + """ + project: ProjectV2 + + """ + Did this event result from workflow automation? + """ + wasAutomated: Boolean! +} + +""" +Represents a 'removed_from_stack' event on a given pull request. +""" +type RemovedFromStackEvent 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 RemovedFromStackEvent object + """ + id: ID! + + """ + Pull request removed from the stack. + """ + pullRequest: PullRequest + + """ + Database ID of the stack. + """ + stackId: BigInt + + """ + Number of the stack in its repository. + """ + stackNumber: Int +} + +""" +Represents a 'renamed' event on a given issue or pull request +""" +type RenamedTitleEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + Identifies the current title of the issue or pull request. + """ + currentTitle: String! + + """ + The Node ID of the RenamedTitleEvent object + """ + id: ID! + + """ + Identifies the previous title of the issue or pull request. + """ + previousTitle: String! + + """ + Subject that was renamed. + """ + subject: RenamedTitleSubject! +} + +""" +An object which has a renamable title +""" +union RenamedTitleSubject = Issue | PullRequest + +""" +Autogenerated input type of ReopenDiscussion +""" +input ReopenDiscussionInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the discussion to be reopened. + """ + discussionId: ID! +} + +""" +Autogenerated return type of ReopenDiscussion. +""" +type ReopenDiscussionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The discussion that was reopened. + """ + discussion: Discussion +} + +""" +Autogenerated input type of ReopenIssue +""" +input ReopenIssueInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the issue to be opened. + """ + issueId: ID! +} + +""" +Autogenerated return type of ReopenIssue. +""" +type ReopenIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The issue that was opened. + """ + issue: Issue +} + +""" +Autogenerated input type of ReopenPullRequest +""" +input ReopenPullRequestInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + ID of the pull request to be reopened. + """ + pullRequestId: ID! +} + +""" +Autogenerated return type of ReopenPullRequest. +""" +type ReopenPullRequestPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The pull request that was reopened. + """ + pullRequest: PullRequest +} + +""" +Represents a 'reopened' event on any `Closable`. +""" +type ReopenedEvent implements Node { + """ + Identifies the actor who performed the event. + """ + actor: Actor + + """ + Object that was reopened. + """ + closable: Closable! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the ReopenedEvent object + """ + id: ID! + + """ + The reason the issue state was changed to open. + """ + stateReason: IssueStateReason +} + +""" +Autogenerated input type of ReorderEnvironment +""" +input ReorderEnvironmentInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the environment to modify + """ + environmentId: ID! + + """ + The desired position of the environment + """ + position: Int! +} + +""" +Autogenerated return type of ReorderEnvironment. +""" +type ReorderEnvironmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The environment that was reordered + """ + environment: Environment +} + +""" +Autogenerated input type of ReplaceActorsForAssignable +""" +input ReplaceActorsForAssignableInput { + """ + The ids of the actors to replace the existing assignees. May be used as an + alternative to or in conjunction with actorLogins. + """ + actorIds: [ID!] + + """ + The usernames of the actors to replace the existing assignees. May be used as + an alternative to or in conjunction with actorIds. For bots, use the login + format with [bot] suffix (e.g., 'my-app[bot]'). + """ + actorLogins: [String!] + + """ + Configuration for assigning an AI agent to this issue. + """ + agentAssignment: AgentAssignmentInput + + """ + The id of the assignable object to replace the assignees for. + """ + assignableId: ID! + + """ + An array of actors to set as assignees, each with optional rationale or + suggest flag. Mutually exclusive with `actorIds` and `actorLogins`. + """ + assignees: [AssigneeUpdateInput!] + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Autogenerated return type of ReplaceActorsForAssignable. +""" +type ReplaceActorsForAssignablePayload { + """ + The item that was assigned. + """ + assignable: Assignable + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String +} + +""" +Audit log entry for a repo.access event. +""" +type RepoAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoAccessAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The visibility of the repository + """ + visibility: RepoAccessAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The privacy of a repository +""" +enum RepoAccessAuditEntryVisibility { + """ + The repository is visible only to users in the same enterprise. + """ + INTERNAL + + """ + The repository is visible only to those with explicit access. + """ + PRIVATE + + """ + The repository is visible to everyone. + """ + PUBLIC +} + +""" +Audit log entry for a repo.add_member event. +""" +type RepoAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoAddMemberAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The visibility of the repository + """ + visibility: RepoAddMemberAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The privacy of a repository +""" +enum RepoAddMemberAuditEntryVisibility { + """ + The repository is visible only to users in the same enterprise. + """ + INTERNAL + + """ + The repository is visible only to those with explicit access. + """ + PRIVATE + + """ + The repository is visible to everyone. + """ + PUBLIC +} + +""" +Audit log entry for a repo.add_topic event. +""" +type RepoAddTopicAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TopicAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoAddTopicAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The name of the topic added to the repository + """ + topic: Topic + + """ + The name of the topic added to the repository + """ + topicName: String + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.archived event. +""" +type RepoArchivedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoArchivedAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The visibility of the repository + """ + visibility: RepoArchivedAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The privacy of a repository +""" +enum RepoArchivedAuditEntryVisibility { + """ + The repository is visible only to users in the same enterprise. + """ + INTERNAL + + """ + The repository is visible only to those with explicit access. + """ + PRIVATE + + """ + The repository is visible to everyone. + """ + PUBLIC +} + +""" +Audit log entry for a repo.change_merge_setting event. +""" +type RepoChangeMergeSettingAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoChangeMergeSettingAuditEntry object + """ + id: ID! + + """ + Whether the change was to enable (true) or disable (false) the merge type + """ + isEnabled: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The merge method affected by the change + """ + mergeType: RepoChangeMergeSettingAuditEntryMergeType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +The merge options available for pull requests to this repository. +""" +enum RepoChangeMergeSettingAuditEntryMergeType { + """ + The pull request is added to the base branch in a merge commit. + """ + MERGE + + """ + Commits from the pull request are added onto the base branch individually without a merge commit. + """ + REBASE + + """ + The pull request's commits are squashed into a single commit before they are merged to the base branch. + """ + SQUASH +} + +""" +Audit log entry for a repo.config.disable_anonymous_git_access event. +""" +type RepoConfigDisableAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.config.disable_collaborators_only event. +""" +type RepoConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.config.disable_contributors_only event. +""" +type RepoConfigDisableContributorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserConnection! + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of repositories and gists this profile owner can pin to their profile. + The username of the user who initiated the action """ - pinnableItems( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter the types of pinnable items that are returned. - """ - types: [PinnableItemType!] - ): PinnableItemConnection! + """ + The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object + """ + id: ID! """ - A list of repositories and gists this profile owner has pinned to their profile + The corresponding operation type for the action """ - pinnedItems( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter the types of pinned items that are returned. - """ - types: [PinnableItemType!] - ): PinnableItemConnection! + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Returns how many more items this profile owner can pin to their profile. + The repository associated with the action """ - pinnedItemsRemaining: Int! + repository: Repository """ - Find project by number. + The name of the repository """ - project( - """ - The project number to find. - """ - number: Int! - ): Project @deprecated(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.") + repositoryName: String """ - Find a project by number. + The HTTP path for the repository """ - projectV2( - """ - The project number. - """ - number: Int! - ): ProjectV2 + repositoryResourcePath: URI """ - A list of projects under the owner. + The HTTP URL for the repository """ - projects( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + repositoryUrl: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for projects returned from the connection - """ - orderBy: ProjectOrder + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} - """ - Query to search projects by, currently only searching by name. - """ - search: String +""" +Audit log entry for a repo.config.disable_sockpuppet_disallowed event. +""" +type RepoConfigDisableSockpuppetDisallowedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - A list of states to filter the projects by. - """ - states: [ProjectState!] - ): ProjectConnection! @deprecated(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.") + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path listing organization's projects + The IP address of the actor """ - projectsResourcePath: URI! + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL listing organization's projects + A readable representation of the actor's location """ - projectsUrl: URI! + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of projects under the owner. + The username of the user who initiated the action """ - projectsV2( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter projects based on user role. - """ - minPermissionLevel: ProjectV2PermissionLevel = READ + """ + The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object + """ + id: ID! - """ - How to order the returned projects. - """ - orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - A project to search for under the owner. - """ - query: String - ): ProjectV2Connection! + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Recent projects that this user has modified in the context of the owner. + The name of the Organization. """ - recentProjects( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectV2Connection! + """ + The repository associated with the action + """ + repository: Repository """ - A list of repositories that the user owns. + The name of the repository """ - repositories( - """ - Array of viewer's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - current viewer owns. - """ - affiliations: [RepositoryAffiliation] + repositoryName: String - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the repository + """ + repositoryUrl: URI - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to whether they have issues enabled - """ - hasIssuesEnabled: Boolean + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to whether they are archived and not maintained - """ - isArchived: Boolean + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.config.enable_anonymous_git_access event. +""" +type RepoConfigEnableAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.config.enable_collaborators_only event. +""" +type RepoConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The repository associated with the action + """ + repository: Repository + + """ + The name of the repository + """ + repositoryName: String + + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI + + """ + The HTTP URL for the repository + """ + repositoryUrl: URI + + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} + +""" +Audit log entry for a repo.config.enable_contributors_only event. +""" +type RepoConfigEnableContributorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to whether they are forks of another repository - """ - isFork: Boolean + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to whether they have been locked - """ - isLocked: Boolean + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for repositories returned from the connection - """ - orderBy: RepositoryOrder + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Array of owner's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - organization or user being viewed owns. - """ - ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to privacy. Internal - repositories are considered private; consider using the visibility argument - if only internal repositories are needed. Cannot be combined with the - visibility argument. - """ - privacy: RepositoryPrivacy + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. - """ - visibility: RepositoryVisibility - ): RepositoryConnection! + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Find Repository. + The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object """ - repository( - """ - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - """ - followRenames: Boolean = true + id: ID! - """ - Name of Repository to find. - """ - name: String! - ): Repository + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Discussion comments this user has authored. + The Organization associated with the Audit Entry. """ - repositoryDiscussionComments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter discussion comments to only those that were marked as the answer - """ - onlyAnswers: Boolean = false + """ + The repository associated with the action + """ + repository: Repository - """ - Filter discussion comments to only those in a specific repository. - """ - repositoryId: ID - ): DiscussionCommentConnection! + """ + The name of the repository + """ + repositoryName: String """ - Discussions this user has started. + The HTTP path for the repository """ - repositoryDiscussions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + repositoryResourcePath: URI - """ - Filter discussions to only those that have been answered or not. Defaults to - including both answered and unanswered discussions. - """ - answered: Boolean = null + """ + The HTTP URL for the repository + """ + repositoryUrl: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for discussions returned from the connection. - """ - orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} - """ - Filter discussions to only those in a specific repository. - """ - repositoryId: ID +""" +Audit log entry for a repo.config.enable_sockpuppet_disallowed event. +""" +type RepoConfigEnableSockpuppetDisallowedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - A list of states to filter the discussions by. - """ - states: [DiscussionState!] = [] - ): DiscussionConnection! + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of all repository migrations for this organization. + The IP address of the actor """ - repositoryMigrations( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for repository migrations returned. - """ - orderBy: RepositoryMigrationOrder = {field: CREATED_AT, direction: ASC} + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter repository migrations by repository name. - """ - repositoryName: String + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter repository migrations by state. - """ - state: MigrationState - ): RepositoryMigrationConnection! + """ + The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object + """ + id: ID! """ - When true the organization requires all members, billing managers, and outside - collaborators to enable two-factor authentication. + The corresponding operation type for the action """ - requiresTwoFactorAuthentication: Boolean + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for this organization. + The Organization associated with the Audit Entry. """ - resourcePath: URI! + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Returns a single ruleset from the current organization by ID. + The name of the Organization. """ - ruleset( - """ - The ID of the ruleset to be returned. - """ - databaseId: Int! + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Include rulesets configured at higher levels that apply to this organization. - """ - includeParents: Boolean = true - ): RepositoryRuleset + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of rulesets for this organization. + The HTTP URL for the organization """ - rulesets( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The repository associated with the action + """ + repository: Repository - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The name of the repository + """ + repositoryName: String - """ - Return rulesets configured at higher levels that apply to this organization - """ - includeParents: Boolean = true + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP URL for the repository + """ + repositoryUrl: URI - """ - Return rulesets that apply to the specified target - """ - targets: [RepositoryRulesetTarget!] = null - ): RepositoryRulesetConnection + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Organization's SAML identity provider. Visible to (1) organization owners, - (2) organization owners' personal access tokens (classic) with read:org or - admin:org scope, (3) GitHub App with an installation token with read or write - access to members. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - samlIdentityProvider: OrganizationIdentityProvider + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - List of users and organizations this entity is sponsoring. + The HTTP path for the user. """ - sponsoring( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Audit log entry for a repo.config.lock_anonymous_git_access event. +""" +type RepoConfigLockAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for the users and organizations returned from the connection. - """ - orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} - ): SponsorConnection! + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - List of sponsors for this user or organization. + A readable representation of the actor's location """ - sponsors( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for sponsors returned from the connection. - """ - orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If given, will filter for sponsors at the given tier. Will only return - sponsors whose tier the viewer is permitted to see. - """ - tierId: ID - ): SponsorConnection! + """ + The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object + """ + id: ID! """ - Events involving this sponsorable, such as new sponsorships. + The corresponding operation type for the action """ - sponsorsActivities( - """ - Filter activities to only the specified actions. - """ - actions: [SponsorsActivityAction!] = [] + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Whether to include those events where this sponsorable acted as the sponsor. - Defaults to only including events where this sponsorable was the recipient - of a sponsorship. - """ - includeAsSponsor: Boolean = false + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Whether or not to include private activities in the result set. Defaults to including public and private activities. - """ - includePrivate: Boolean = true + """ + The repository associated with the action + """ + repository: Repository - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The name of the repository + """ + repositoryName: String - """ - Ordering options for activity returned from the connection. - """ - orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI - """ - Filter activities returned to only those that occurred in the most recent - specified time period. Set to ALL to avoid filtering by when the activity - occurred. Will be ignored if `since` or `until` is given. - """ - period: SponsorsActivityPeriod = MONTH + """ + The HTTP URL for the repository + """ + repositoryUrl: URI - """ - Filter activities to those that occurred on or after this time. - """ - since: DateTime + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter activities to those that occurred before this time. - """ - until: DateTime - ): SponsorsActivityConnection! + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The GitHub Sponsors listing for this user or organization. + The HTTP path for the user. """ - sponsorsListing: SponsorsListing + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + The HTTP URL for the user. """ - sponsorshipForViewerAsSponsor( - """ - Whether to return the sponsorship only if it's still active. Pass false to - get the viewer's sponsorship back even if it has been cancelled. - """ - activeOnly: Boolean = true - ): Sponsorship + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +Audit log entry for a repo.config.unlock_anonymous_git_access event. +""" +type RepoConfigUnlockAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { """ - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + The action name """ - sponsorshipForViewerAsSponsorable( - """ - Whether to return the sponsorship only if it's still active. Pass false to - get the sponsorship back even if it has been cancelled. - """ - activeOnly: Boolean = true - ): Sponsorship + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - List of sponsorship updates sent from this sponsorable to sponsors. + The user who initiated the action """ - sponsorshipNewsletters( - """ - 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 + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for sponsorship updates returned from the connection. - """ - orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC} - ): SponsorshipNewsletterConnection! + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The sponsorships where this user or organization is the maintainer receiving the funds. + The username of the user who initiated the action """ - sponsorshipsAsMaintainer( - """ - Whether to include only sponsorships that are active right now, versus all - sponsorships this maintainer has ever received. - """ - activeOnly: Boolean = true + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Whether or not to include private sponsorships in the result set - """ - includePrivate: Boolean = false + """ + The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object + """ + id: ID! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The corresponding operation type for the action + """ + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for sponsorships returned from this connection. If left - blank, the sponsorships will be ordered based on relevancy to the viewer. - """ - orderBy: SponsorshipOrder - ): SponsorshipConnection! + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The sponsorships where this user or organization is the funder. + The name of the Organization. """ - sponsorshipsAsSponsor( - """ - Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. - """ - activeOnly: Boolean = true + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + The HTTP path for the organization + """ + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP URL for the organization + """ + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The repository associated with the action + """ + repository: Repository - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The name of the repository + """ + repositoryName: String - """ - Filter sponsorships returned to those for the specified maintainers. That - is, the recipient of the sponsorship is a user or organization with one of - the given logins. - """ - maintainerLogins: [String!] + """ + The HTTP path for the repository + """ + repositoryResourcePath: URI - """ - Ordering options for sponsorships returned from this connection. If left - blank, the sponsorships will be ordered based on relevancy to the viewer. - """ - orderBy: SponsorshipOrder - ): SponsorshipConnection! + """ + The HTTP URL for the repository + """ + repositoryUrl: URI """ - Find an organization's team by its slug. + The user affected by the action """ - team( - """ - The name or slug of the team to find. - """ - slug: String! - ): Team + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of teams in this organization. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - teams( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +Audit log entry for a repo.create event. +""" +type RepoCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If true, filters teams that are mapped to an LDAP Group (Enterprise only) - """ - ldapMapped: Boolean + """ + The user who initiated the action + """ + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters teams according to notification setting - """ - notificationSetting: TeamNotificationSetting + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Ordering options for teams returned from the connection - """ - orderBy: TeamOrder + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters teams according to privacy - """ - privacy: TeamPrivacy + """ + The username of the user who initiated the action + """ + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters teams with query on team name and team slug - """ - query: String + """ + The HTTP path for the actor. + """ + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If non-null, filters teams according to whether the viewer is an admin or member on team - """ - role: TeamRole + """ + The HTTP URL for the actor. + """ + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - If true, restrict to only root teams - """ - rootTeamsOnly: Boolean = false + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - User logins to filter by - """ - userLogins: [String!] - ): TeamConnection! + """ + The name of the parent repository for this forked repository. + """ + forkParentName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path listing organization's teams + The name of the root repository for this network. """ - teamsResourcePath: URI! + forkSourceName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL listing organization's teams + The Node ID of the RepoCreateAuditEntry object """ - teamsUrl: URI! + id: ID! """ - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has - spent on GitHub to fund sponsorships. Only returns a value when viewed by the - user themselves or by a user who can manage sponsorships for the requested organization. + The corresponding operation type for the action """ - totalSponsorshipAmountAsSponsorInCents( - """ - Filter payments to those that occurred on or after this time. - """ - since: DateTime + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter payments to those made to the users or organizations with the specified usernames. - """ - sponsorableLogins: [String!] = [] + """ + The Organization associated with the Audit Entry. + """ + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter payments to those that occurred before this time. - """ - until: DateTime - ): Int + """ + The name of the Organization. + """ + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The organization's Twitter username. + The HTTP path for the organization """ - twitterUsername: String + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the date and time when the object was last updated. + The HTTP URL for the organization """ - updatedAt: DateTime! + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for this organization. + The repository associated with the action """ - url: URI! + repository: Repository """ - Organization is adminable by the viewer. + The name of the repository """ - viewerCanAdminister: Boolean! + repositoryName: String """ - Can the viewer pin repositories and gists to the profile? + The HTTP path for the repository """ - viewerCanChangePinnedItems: Boolean! + repositoryResourcePath: URI """ - Can the current viewer create new projects on this owner. + The HTTP URL for the repository """ - viewerCanCreateProjects: Boolean! + repositoryUrl: URI """ - Viewer can create repositories on this organization + The user affected by the action """ - viewerCanCreateRepositories: Boolean! + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Viewer can create teams on this organization. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - viewerCanCreateTeams: Boolean! + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether or not the viewer is able to sponsor this user/organization. + The HTTP path for the user. """ - viewerCanSponsor: Boolean! + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Viewer is an active member of this organization. + The HTTP URL for the user. """ - viewerIsAMember: Boolean! + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether or not this Organization is followed by the viewer. + The visibility of the repository """ - viewerIsFollowing: Boolean! + visibility: RepoCreateAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +The privacy of a repository +""" +enum RepoCreateAuditEntryVisibility { """ - True if the viewer is sponsoring this user/organization. + The repository is visible only to users in the same enterprise. """ - viewerIsSponsoring: Boolean! + INTERNAL """ - Whether contributors are required to sign off on web-based commits for repositories in this organization. + The repository is visible only to those with explicit access. """ - webCommitSignoffRequired: Boolean! + PRIVATE """ - The organization's public profile URL. + The repository is visible to everyone. """ - websiteUrl: URI + PUBLIC } """ -An audit entry in an organization audit log. +Audit log entry for a repo.destroy event. """ -union OrganizationAuditEntry = MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | OauthApplicationCreateAuditEntry | OrgAddBillingManagerAuditEntry | OrgAddMemberAuditEntry | OrgBlockUserAuditEntry | OrgConfigDisableCollaboratorsOnlyAuditEntry | OrgConfigEnableCollaboratorsOnlyAuditEntry | OrgCreateAuditEntry | OrgDisableOauthAppRestrictionsAuditEntry | OrgDisableSamlAuditEntry | OrgDisableTwoFactorRequirementAuditEntry | OrgEnableOauthAppRestrictionsAuditEntry | OrgEnableSamlAuditEntry | OrgEnableTwoFactorRequirementAuditEntry | OrgInviteMemberAuditEntry | OrgInviteToBusinessAuditEntry | OrgOauthAppAccessApprovedAuditEntry | OrgOauthAppAccessBlockedAuditEntry | OrgOauthAppAccessDeniedAuditEntry | OrgOauthAppAccessRequestedAuditEntry | OrgOauthAppAccessUnblockedAuditEntry | OrgRemoveBillingManagerAuditEntry | OrgRemoveMemberAuditEntry | OrgRemoveOutsideCollaboratorAuditEntry | OrgRestoreMemberAuditEntry | OrgUnblockUserAuditEntry | OrgUpdateDefaultRepositoryPermissionAuditEntry | OrgUpdateMemberAuditEntry | OrgUpdateMemberRepositoryCreationPermissionAuditEntry | OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | PrivateRepositoryForkingDisableAuditEntry | PrivateRepositoryForkingEnableAuditEntry | RepoAccessAuditEntry | RepoAddMemberAuditEntry | RepoAddTopicAuditEntry | RepoArchivedAuditEntry | RepoChangeMergeSettingAuditEntry | RepoConfigDisableAnonymousGitAccessAuditEntry | RepoConfigDisableCollaboratorsOnlyAuditEntry | RepoConfigDisableContributorsOnlyAuditEntry | RepoConfigDisableSockpuppetDisallowedAuditEntry | RepoConfigEnableAnonymousGitAccessAuditEntry | RepoConfigEnableCollaboratorsOnlyAuditEntry | RepoConfigEnableContributorsOnlyAuditEntry | RepoConfigEnableSockpuppetDisallowedAuditEntry | RepoConfigLockAnonymousGitAccessAuditEntry | RepoConfigUnlockAnonymousGitAccessAuditEntry | RepoCreateAuditEntry | RepoDestroyAuditEntry | RepoRemoveMemberAuditEntry | RepoRemoveTopicAuditEntry | RepositoryVisibilityChangeDisableAuditEntry | RepositoryVisibilityChangeEnableAuditEntry | TeamAddMemberAuditEntry | TeamAddRepositoryAuditEntry | TeamChangeParentTeamAuditEntry | TeamRemoveMemberAuditEntry | TeamRemoveRepositoryAuditEntry +type RepoDestroyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { + """ + The action name + """ + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -The connection type for OrganizationAuditEntry. -""" -type OrganizationAuditEntryConnection { """ - A list of edges. + The user who initiated the action """ - edges: [OrganizationAuditEntryEdge] + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of nodes. + The IP address of the actor """ - nodes: [OrganizationAuditEntry] + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Information to aid in pagination. + A readable representation of the actor's location """ - pageInfo: PageInfo! + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the total count of items in the connection. + The username of the user who initiated the action """ - totalCount: Int! -} + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Metadata for an audit entry with action org.* -""" -interface OrganizationAuditEntryData { """ - The Organization associated with the Audit Entry. + The HTTP path for the actor. """ - organization: Organization + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the Organization. + The HTTP URL for the actor. """ - organizationName: String + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the organization + The time the action was initiated """ - organizationResourcePath: URI + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for the organization + The Node ID of the RepoDestroyAuditEntry object """ - organizationUrl: URI -} + id: ID! -""" -An edge in a connection. -""" -type OrganizationAuditEntryEdge { """ - A cursor for use in pagination. + The corresponding operation type for the action """ - cursor: String! + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The item at the end of the edge. + The Organization associated with the Audit Entry. """ - node: OrganizationAuditEntry -} + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -A list of organizations managed by an enterprise. -""" -type OrganizationConnection { """ - A list of edges. + The name of the Organization. """ - edges: [OrganizationEdge] + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of nodes. + The HTTP path for the organization """ - nodes: [Organization] + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Information to aid in pagination. + The HTTP URL for the organization """ - pageInfo: PageInfo! + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the total count of items in the connection. + The repository associated with the action """ - totalCount: Int! -} + repository: Repository -""" -An edge in a connection. -""" -type OrganizationEdge { """ - A cursor for use in pagination. + The name of the repository """ - cursor: String! + repositoryName: String """ - The item at the end of the edge. + The HTTP path for the repository """ - node: Organization -} + repositoryResourcePath: URI -""" -The connection type for User. -""" -type OrganizationEnterpriseOwnerConnection { """ - A list of edges. + The HTTP URL for the repository """ - edges: [OrganizationEnterpriseOwnerEdge] + repositoryUrl: URI """ - A list of nodes. + The user affected by the action """ - nodes: [User] + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Information to aid in pagination. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - pageInfo: PageInfo! + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the total count of items in the connection. + The HTTP path for the user. """ - totalCount: Int! + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The visibility of the repository + """ + visibility: RepoDestroyAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -An enterprise owner in the context of an organization that is part of the enterprise. +The privacy of a repository """ -type OrganizationEnterpriseOwnerEdge { +enum RepoDestroyAuditEntryVisibility { """ - A cursor for use in pagination. + The repository is visible only to users in the same enterprise. """ - cursor: String! + INTERNAL """ - The item at the end of the edge. + The repository is visible only to those with explicit access. """ - node: User + PRIVATE """ - The role of the owner with respect to the organization. + The repository is visible to everyone. """ - organizationRole: RoleInOrganization! + PUBLIC } """ -An Identity Provider configured to provision SAML and SCIM identities for -Organizations. Visible to (1) organization owners, (2) organization owners' -personal access tokens (classic) with read:org or admin:org scope, (3) GitHub -App with an installation token with read or write access to members. +Audit log entry for a repo.remove_member event. """ -type OrganizationIdentityProvider implements Node { +type RepoRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { """ - The digest algorithm used to sign SAML requests for the Identity Provider. + The action name """ - digestMethod: URI + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - External Identities provisioned by this Identity Provider + The user who initiated the action """ - externalIdentities( - """ - 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 - - """ - Filter to external identities with the users login - """ - login: String - - """ - Filter to external identities with valid org membership only - """ - membersOnly: Boolean + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter to external identities with the users userName/NameID attribute - """ - userName: String - ): ExternalIdentityConnection! + """ + The IP address of the actor + """ + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrganizationIdentityProvider object + A readable representation of the actor's location """ - id: ID! + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The x509 certificate used by the Identity Provider to sign assertions and responses. + The username of the user who initiated the action """ - idpCertificate: X509Certificate + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Issuer Entity ID for the SAML Identity Provider + The HTTP path for the actor. """ - issuer: String + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Organization this Identity Provider belongs to + The HTTP URL for the actor. """ - organization: Organization + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The signature algorithm used to sign SAML requests for the Identity Provider. + The time the action was initiated """ - signatureMethod: URI + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The URL endpoint for the Identity Provider's SAML SSO. + The Node ID of the RepoRemoveMemberAuditEntry object """ - ssoUrl: URI -} + id: ID! -""" -An Invitation for a user to an organization. -""" -type OrganizationInvitation implements Node { """ - Identifies the date and time when the object was created. + The corresponding operation type for the action """ - createdAt: DateTime! + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The email address of the user invited to the organization. + The Organization associated with the Audit Entry. """ - email: String + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the OrganizationInvitation object + The name of the Organization. """ - id: ID! + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The source of the invitation. + The HTTP path for the organization """ - invitationSource: OrganizationInvitationSource! + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The type of invitation that was sent (e.g. email, user). + The HTTP URL for the organization """ - invitationType: OrganizationInvitationType! + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user who was invited to the organization. + The repository associated with the action """ - invitee: User + repository: Repository """ - The user who created the invitation. + The name of the repository """ - inviter: User! @deprecated(reason: "`inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC.") + repositoryName: String """ - The user who created the invitation. + The HTTP path for the repository """ - inviterActor: User + repositoryResourcePath: URI """ - The organization the invite is for + The HTTP URL for the repository """ - organization: Organization! + repositoryUrl: URI """ - The user's pending role in the organization (e.g. member, owner). + The user affected by the action """ - role: OrganizationInvitationRole! -} + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -The connection type for OrganizationInvitation. -""" -type OrganizationInvitationConnection { """ - A list of edges. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - edges: [OrganizationInvitationEdge] + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of nodes. + The HTTP path for the user. """ - nodes: [OrganizationInvitation] + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Information to aid in pagination. + The HTTP URL for the user. """ - pageInfo: PageInfo! + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the total count of items in the connection. + The visibility of the repository """ - totalCount: Int! + visibility: RepoRemoveMemberAuditEntryVisibility @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -An edge in a connection. +The privacy of a repository """ -type OrganizationInvitationEdge { +enum RepoRemoveMemberAuditEntryVisibility { """ - A cursor for use in pagination. + The repository is visible only to users in the same enterprise. """ - cursor: String! + INTERNAL """ - The item at the end of the edge. + The repository is visible only to those with explicit access. """ - node: OrganizationInvitation + PRIVATE + + """ + The repository is visible to everyone. + """ + PUBLIC } """ -The possible organization invitation roles. +Audit log entry for a repo.remove_topic event. """ -enum OrganizationInvitationRole { +type RepoRemoveTopicAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TopicAuditEntryData { """ - The user is invited to be an admin of the organization. + The action name """ - ADMIN + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user is invited to be a billing manager of the organization. + The user who initiated the action """ - BILLING_MANAGER + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user is invited to be a direct member of the organization. + The IP address of the actor """ - DIRECT_MEMBER + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user's previous role will be reinstated. + A readable representation of the actor's location """ - REINSTATE -} + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -The possible organization invitation sources. -""" -enum OrganizationInvitationSource { """ - The invitation was created from the web interface or from API + The username of the user who initiated the action """ - MEMBER + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The invitation was created from SCIM + The HTTP path for the actor. """ - SCIM + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The invitation was sent before this feature was added + The HTTP URL for the actor. """ - UNKNOWN -} + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -The possible organization invitation types. -""" -enum OrganizationInvitationType { """ - The invitation was to an email address. + The time the action was initiated """ - EMAIL + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The invitation was to an existing user. + The Node ID of the RepoRemoveTopicAuditEntry object """ - USER -} + id: ID! -""" -A list of users who belong to the organization. -""" -type OrganizationMemberConnection { """ - A list of edges. + The corresponding operation type for the action """ - edges: [OrganizationMemberEdge] + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of nodes. + The Organization associated with the Audit Entry. """ - nodes: [User] + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Information to aid in pagination. + The name of the Organization. """ - pageInfo: PageInfo! + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the total count of items in the connection. + The HTTP path for the organization """ - totalCount: Int! -} + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Represents a user within an organization. -""" -type OrganizationMemberEdge { """ - A cursor for use in pagination. + The HTTP URL for the organization """ - cursor: String! + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. + The repository associated with the action """ - hasTwoFactorEnabled: Boolean + repository: Repository """ - The item at the end of the edge. + The name of the repository """ - node: User + repositoryName: String """ - The role this user has in the organization. + The HTTP path for the repository """ - role: OrganizationMemberRole -} + repositoryResourcePath: URI -""" -The possible roles within an organization for its members. -""" -enum OrganizationMemberRole { """ - The user is an administrator of the organization. + The HTTP URL for the repository """ - ADMIN + repositoryUrl: URI """ - The user is a member of the organization. + The name of the topic added to the repository """ - MEMBER -} + topic: Topic -""" -The possible values for the members can create repositories setting on an organization. -""" -enum OrganizationMembersCanCreateRepositoriesSettingValue { """ - Members will be able to create public and private repositories. + The name of the topic added to the repository """ - ALL + topicName: String """ - Members will not be able to create public or private repositories. + The user affected by the action """ - DISABLED + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Members will be able to create only internal repositories. + For actions involving two users, the actor is the initiator and the user is the affected user. """ - INTERNAL + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Members will be able to create only private repositories. + The HTTP path for the user. """ - PRIVATE + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -A GitHub Enterprise Importer (GEI) organization migration. +The reasons a piece of content can be reported or minimized. """ -type OrganizationMigration implements Node { +enum ReportedContentClassifiers { """ - Identifies the date and time when the object was created. + An abusive or harassing piece of content """ - createdAt: DateTime! + ABUSE """ - Identifies the primary key from the database. + A duplicated piece of content """ - databaseId: String + DUPLICATE """ - The reason the organization migration failed. + A low quality piece of content """ - failureReason: String + LOW_QUALITY """ - The Node ID of the OrganizationMigration object + An irrelevant piece of content """ - id: ID! + OFF_TOPIC """ - The remaining amount of repos to be migrated. + An outdated piece of content """ - remainingRepositoriesCount: Int + OUTDATED """ - The name of the source organization to be migrated. + The content has been resolved """ - sourceOrgName: String! + RESOLVED """ - The URL of the source organization to migrate. + A spammy piece of content """ - sourceOrgUrl: URI! + SPAM +} +""" +A repository contains the content for a project. +""" +type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent & RepositoryInfo & Starrable & Subscribable & UniformResourceLocatable { """ - The migration state. + Whether or not a pull request head branch that is behind its base branch can + always be updated even if it is not required to be up to date before merging. """ - state: OrganizationMigrationState! + allowUpdateBranch: Boolean! """ - The name of the target organization. + Identifies the date and time when the repository was archived. """ - targetOrgName: String! + archivedAt: DateTime """ - The total amount of repositories to be migrated. + A list of users that can be assigned to issues in this repository. """ - totalRepositoriesCount: Int -} + assignableUsers( + """ + 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 + + """ + Filters users with query on user name and login. + """ + query: String + ): UserConnection! -""" -The Octoshift Organization migration state. -""" -enum OrganizationMigrationState { """ - The Octoshift migration has failed. + Whether or not Auto-merge can be enabled on pull requests in this repository. """ - FAILED + autoMergeAllowed: Boolean! """ - The Octoshift migration has invalid credentials. + A list of branch protection rules for this repository. """ - FAILED_VALIDATION + branchProtectionRules( + """ + 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 + ): BranchProtectionRuleConnection! """ - The Octoshift migration is in progress. + Returns the code of conduct for this repository """ - IN_PROGRESS + codeOfConduct: CodeOfConduct """ - The Octoshift migration has not started. + Information extracted from the repository's `CODEOWNERS` file. """ - NOT_STARTED + codeowners( + """ + The ref name used to return the associated `CODEOWNERS` file. + """ + refName: String + ): RepositoryCodeowners """ - The Octoshift migration needs to have its credentials validated. + A list of collaborators associated with the repository. """ - PENDING_VALIDATION + collaborators( + """ + Collaborators affiliation level with a repository. + """ + affiliation: CollaboratorAffiliation + + """ + 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 + + """ + The login of one specific collaborator. + """ + login: String + + """ + Filters users with query on user name and login + """ + query: String + ): RepositoryCollaboratorConnection """ - The Octoshift migration is performing post repository migrations. + A list of commit comments associated with the repository. """ - POST_REPO_MIGRATION + commitComments( + """ + 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 + ): CommitCommentConnection! """ - The Octoshift migration is performing pre repository migrations. + Returns a list of contact links associated to the repository """ - PRE_REPO_MIGRATION + contactLinks: [RepositoryContactLink!] """ - The Octoshift migration has been queued. + Returns the contributing guidelines for this repository. """ - QUEUED + contributingGuidelines: ContributingGuidelines """ - The Octoshift org migration is performing repository migrations. + Identifies the date and time when the object was created. """ - REPO_MIGRATION + createdAt: DateTime! """ - The Octoshift migration has succeeded. + Identifies the primary key from the database. """ - SUCCEEDED -} + databaseId: Int -""" -Used for argument of CreateProjectV2 mutation. -""" -union OrganizationOrUser = Organization | User + """ + The Ref associated with the repository's default branch. + """ + defaultBranchRef: Ref -""" -Ordering options for organization connections. -""" -input OrganizationOrder { """ - The ordering direction. + Whether or not branches are automatically deleted when merged in this repository. """ - direction: OrderDirection! + deleteBranchOnMerge: Boolean! """ - The field to order organizations by. + A list of dependency manifests contained in the repository """ - field: OrganizationOrderField! -} + dependencyGraphManifests( + """ + 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 + + """ + Cursor to paginate dependencies + """ + dependenciesAfter: String + + """ + Number of dependencies to fetch + """ + dependenciesFirst: Int + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Flag to scope to only manifests with dependencies + """ + withDependencies: Boolean + ): DependencyGraphManifestConnection -""" -Properties by which organization connections can be ordered. -""" -enum OrganizationOrderField { """ - Order organizations by creation time + A list of deploy keys that are on this repository. """ - CREATED_AT + deployKeys( + """ + 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 + ): DeployKeyConnection! """ - Order organizations by login + Deployments associated with the repository """ - LOGIN -} + deployments( + """ + 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 + + """ + Environments to list deployments for + """ + environments: [String!] + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for deployments returned from the connection. + """ + orderBy: DeploymentOrder = {field: CREATED_AT, direction: ASC} + ): DeploymentConnection! + + """ + The description of the repository. + """ + description: String -""" -An organization teams hovercard context -""" -type OrganizationTeamsHovercardContext implements HovercardContext { """ - A string describing this context + The description of the repository rendered to HTML. """ - message: String! + descriptionHTML: HTML! """ - An octicon to accompany this context + Returns a single discussion from the current repository by number. """ - octicon: String! + discussion( + """ + The number for the discussion to be returned. + """ + number: Int! + ): Discussion """ - Teams in this organization the user is a member of that are relevant + A list of discussion categories that are available in the repository. """ - relevantTeams( + discussionCategories( """ Returns the elements in the list that come after the specified cursor. """ @@ -31360,6 +51042,11 @@ type OrganizationTeamsHovercardContext implements HovercardContext { """ before: String + """ + Filter by categories that are assignable by the viewer. + """ + filterByAssignable: Boolean = false + """ Returns the first _n_ elements from the list. """ @@ -31369,42 +51056,82 @@ type OrganizationTeamsHovercardContext implements HovercardContext { Returns the last _n_ elements from the list. """ last: Int - ): TeamConnection! + ): DiscussionCategoryConnection! """ - The path for the full team list for this user + A discussion category by slug. """ - teamsResourcePath: URI! + discussionCategory( + """ + The slug of the discussion category to be returned. + """ + slug: String! + ): DiscussionCategory """ - The URL for the full team list for this user + A list of discussions that have been opened in the repository. """ - teamsUrl: URI! + discussions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The total number of teams the user is on in the organization - """ - totalTeamCount: Int! -} + """ + Only show answered or unanswered discussions + """ + answered: Boolean = null + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Only include discussions that belong to the category with this ID. + """ + categoryId: ID = null + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for discussions returned from the connection. + """ + orderBy: DiscussionOrder = {field: UPDATED_AT, direction: DESC} + + """ + A list of states to filter the discussions by. + """ + states: [DiscussionState!] = [] + ): DiscussionConnection! -""" -An organization list hovercard context -""" -type OrganizationsHovercardContext implements HovercardContext { """ - A string describing this context + The number of kilobytes this repository occupies on disk. """ - message: String! + diskUsage: Int """ - An octicon to accompany this context + Returns a single active environment from the current repository by name. """ - octicon: String! + environment( + """ + The name of the environment to be returned. + """ + name: String! + ): Environment """ - Organizations this user is a member of that are relevant + A list of environments that are in this repository. """ - relevantOrganizations( + environments( """ Returns the elements in the list that come after the specified cursor. """ @@ -31426,65 +51153,42 @@ type OrganizationsHovercardContext implements HovercardContext { last: Int """ - Ordering options for the User's organizations. + The names of the environments to be returned. """ - orderBy: OrganizationOrder = null - ): OrganizationConnection! - - """ - The total number of organizations this user is in - """ - totalOrganizationCount: Int! -} - -""" -Information for an uploaded package. -""" -type Package implements Node { - """ - The Node ID of the Package object - """ - id: ID! - - """ - Find the latest version for the package. - """ - latestVersion: PackageVersion + names: [String!] = [] - """ - Identifies the name of the package. - """ - name: String! + """ + Ordering options for the environments + """ + orderBy: Environments = {field: NAME, direction: ASC} - """ - Identifies the type of the package. - """ - packageType: PackageType! + """ + Filter to control pinned environments return + """ + pinnedEnvironmentFilter: EnvironmentPinnedFilterField = ALL + ): EnvironmentConnection! """ - The repository this package belongs to. + Returns how many forks there are of this repository in the whole network. """ - repository: Repository + forkCount: Int! """ - Statistics about package activity. + Whether this repository allows forks. """ - statistics: PackageStatistics + forkingAllowed: Boolean! """ - Find package version by version string. + A list of direct forked repositories. """ - version( + forks( """ - The package version. + Array of viewer's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + current viewer owns. """ - version: String! - ): PackageVersion + affiliations: [RepositoryAffiliation] - """ - list of versions for this package - """ - versions( """ Returns the elements in the list that come after the specified cursor. """ @@ -31500,211 +51204,186 @@ type Package implements Node { """ first: Int + """ + If non-null, filters repositories according to whether they have issues enabled + """ + hasIssuesEnabled: Boolean + + """ + If non-null, filters repositories according to whether they have been locked + """ + isLocked: Boolean + """ Returns the last _n_ elements from the list. """ last: Int """ - Ordering of the returned packages. + Ordering options for repositories returned from the connection """ - orderBy: PackageVersionOrder = {field: CREATED_AT, direction: DESC} - ): PackageVersionConnection! -} + orderBy: RepositoryOrder -""" -The connection type for Package. -""" -type PackageConnection { - """ - A list of edges. - """ - edges: [PackageEdge] + """ + Array of owner's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + organization or user being viewed owns. + """ + ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] - """ - A list of nodes. - """ - nodes: [Package] + """ + If non-null, filters repositories according to privacy. Internal + repositories are considered private; consider using the visibility argument + if only internal repositories are needed. Cannot be combined with the + visibility argument. + """ + privacy: RepositoryPrivacy + + """ + If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. + """ + visibility: RepositoryVisibility + ): RepositoryConnection! """ - Information to aid in pagination. + Identifies the primary key from the database as a BigInt. """ - pageInfo: PageInfo! + fullDatabaseId: BigInt """ - Identifies the total count of items in the connection. + The funding links for this repository """ - totalCount: Int! -} + fundingLinks: [FundingLink!]! -""" -An edge in a connection. -""" -type PackageEdge { """ - A cursor for use in pagination. + Indicates if the repository has the Discussions feature enabled. """ - cursor: String! + hasDiscussionsEnabled: Boolean! """ - The item at the end of the edge. + Indicates if the repository has issues feature enabled. """ - node: Package -} + hasIssuesEnabled: Boolean! -""" -A file in a package version. -""" -type PackageFile implements Node { """ - The Node ID of the PackageFile object + Indicates if the repository has the Projects feature enabled. """ - id: ID! + hasProjectsEnabled: Boolean! """ - MD5 hash of the file. + Indicates if the repository has the pull requests feature enabled. """ - md5: String + hasPullRequestsEnabled: Boolean! """ - Name of the file. + Indicates if the repository displays a Sponsor button for financial contributions. """ - name: String! + hasSponsorshipsEnabled: Boolean! """ - The package version this file belongs to. + Whether vulnerability alerts are enabled for the repository. """ - packageVersion: PackageVersion + hasVulnerabilityAlertsEnabled: Boolean! """ - SHA1 hash of the file. + Indicates if the repository has wiki feature enabled. """ - sha1: String + hasWikiEnabled: Boolean! """ - SHA256 hash of the file. + The repository's URL. """ - sha256: String + homepageUrl: URI """ - Size of the file in bytes. + The Node ID of the Repository object """ - size: Int + id: ID! """ - Identifies the date and time when the object was last updated. + The interaction ability settings for this repository. """ - updatedAt: DateTime! + interactionAbility: RepositoryInteractionAbility """ - URL to download the asset. + Indicates if the repository is unmaintained. """ - url: URI -} + isArchived: Boolean! -""" -The connection type for PackageFile. -""" -type PackageFileConnection { """ - A list of edges. + Returns true if the viewer can create a blank issue in this repository """ - edges: [PackageFileEdge] + isBlankIssuesEnabled: Boolean! """ - A list of nodes. + Returns whether or not this repository disabled. """ - nodes: [PackageFile] + isDisabled: Boolean! """ - Information to aid in pagination. + Returns whether or not this repository is empty. """ - pageInfo: PageInfo! + isEmpty: Boolean! """ - Identifies the total count of items in the connection. + Identifies if the repository is a fork. """ - totalCount: Int! -} + isFork: Boolean! -""" -An edge in a connection. -""" -type PackageFileEdge { """ - A cursor for use in pagination. + Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. """ - cursor: String! + isInOrganization: Boolean! """ - The item at the end of the edge. + Indicates if the repository has been locked or not. """ - node: PackageFile -} + isLocked: Boolean! -""" -Ways in which lists of package files can be ordered upon return. -""" -input PackageFileOrder { """ - The direction in which to order package files by the specified field. + Identifies if the repository is a mirror. """ - direction: OrderDirection + isMirror: Boolean! """ - The field in which to order package files by. + Identifies if the repository is private or internal. """ - field: PackageFileOrderField -} + isPrivate: Boolean! -""" -Properties by which package file connections can be ordered. -""" -enum PackageFileOrderField { """ - Order package files by creation time + Returns true if this repository has a security policy """ - CREATED_AT -} + isSecurityPolicyEnabled: Boolean -""" -Ways in which lists of packages can be ordered upon return. -""" -input PackageOrder { """ - The direction in which to order packages by the specified field. + Identifies if the repository is a template that can be used to generate new repositories. """ - direction: OrderDirection + isTemplate: Boolean! """ - The field in which to order packages by. + Is this repository a user configuration repository? """ - field: PackageOrderField -} + isUserConfigurationRepository: Boolean! -""" -Properties by which package connections can be ordered. -""" -enum PackageOrderField { """ - Order packages by creation time + Returns a single issue from the current repository by number. """ - CREATED_AT -} + issue( + """ + The number for the issue to be returned. + """ + number: Int! + ): Issue -""" -Represents an owner of a package. -""" -interface PackageOwner { """ - The Node ID of the PackageOwner object + The policy controlling who can create issues in this repository. """ - id: ID! + issueCreationPolicy: IssueCreationPolicy """ - A list of packages under the owner. + A list of the repository's issue fields, inherited from the organization """ - packages( + issueFields( """ Returns the elements in the list that come after the specified cursor. """ @@ -31726,105 +51405,125 @@ interface PackageOwner { last: Int """ - Find packages by their names. - """ - names: [String] - - """ - Ordering of the returned packages. - """ - orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} - - """ - Filter registry package by type. + Ordering options for issue fields returned from the connection. """ - packageType: PackageType + orderBy: IssueFieldOrder = {field: CREATED_AT, direction: ASC} + ): IssueFieldsConnection + """ + Returns a single issue-like object from the current repository by number. + """ + issueOrPullRequest( """ - Find packages in a repository by ID. + The number for the issue to be returned. """ - repositoryId: ID - ): PackageConnection! -} + number: Int! + ): IssueOrPullRequest -""" -Represents a object that contains package activity statistics such as downloads. -""" -type PackageStatistics { """ - Number of times the package was downloaded since it was created. + Returns a list of issue templates associated to the repository """ - downloadsTotalCount: Int! -} + issueTemplates: [IssueTemplate!] -""" -A version tag contains the mapping between a tag name and a version. -""" -type PackageTag implements Node { """ - The Node ID of the PackageTag object + Returns a single issue type by name """ - id: ID! + issueType( + """ + Issue type name. + """ + name: String! + ): IssueType """ - Identifies the tag name of the version. + A list of the repository's issue types """ - name: String! + issueTypes( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Version that the tag is associated with. - """ - version: PackageVersion -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -The possible types of a package. -""" -enum PackageType { - """ - A debian package. - """ - DEBIAN + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - A docker image. - """ - DOCKER @deprecated(reason: "DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2021-06-21 UTC.") + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - A maven package. - """ - MAVEN @deprecated(reason: "MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2023-02-10 UTC.") + """ + Ordering options for issue types returned from the connection. + """ + orderBy: IssueTypeOrder = {field: CREATED_AT, direction: ASC} + ): IssueTypeConnection """ - An npm package. + A list of issues that have been opened in the repository. """ - NPM @deprecated(reason: "NPM will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC.") + issues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - A nuget package. - """ - NUGET @deprecated(reason: "NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-11-21 UTC.") + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - A python package. - """ - PYPI + """ + Filtering options for issues returned from the connection. + """ + filterBy: IssueFilters + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for issues returned from the connection. + """ + orderBy: IssueOrder + + """ + A list of states to filter the issues by. + """ + states: [IssueState!] + ): IssueConnection! """ - A rubygems package. + Returns a single label by name """ - RUBYGEMS @deprecated(reason: "RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API. Removal on 2022-12-28 UTC.") -} + label( + """ + Label name + """ + name: String! + ): Label -""" -Information about a specific package version. -""" -type PackageVersion implements Node { """ - List of files associated with this package version + A list of labels associated with the repository. """ - files( + labels( """ Returns the elements in the list that come after the specified cursor. """ @@ -31846,1073 +51545,1068 @@ type PackageVersion implements Node { last: Int """ - Ordering of the returned package files. + Ordering options for labels returned from the connection. """ - orderBy: PackageFileOrder = {field: CREATED_AT, direction: ASC} - ): PackageFileConnection! - - """ - The Node ID of the PackageVersion object - """ - id: ID! - - """ - The package associated with this version. - """ - package: Package - - """ - The platform this version was built for. - """ - platform: String - - """ - Whether or not this version is a pre-release. - """ - preRelease: Boolean! - - """ - The README of this package version. - """ - readme: String - - """ - The release associated with this package version. - """ - release: Release - - """ - Statistics about package activity. - """ - statistics: PackageVersionStatistics - - """ - The package version summary. - """ - summary: String - - """ - The version string. - """ - version: String! -} + orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} -""" -The connection type for PackageVersion. -""" -type PackageVersionConnection { - """ - A list of edges. - """ - edges: [PackageVersionEdge] + """ + If provided, searches labels by name and description. + """ + query: String + ): LabelConnection """ - A list of nodes. + A list containing a breakdown of the language composition of the repository. """ - nodes: [PackageVersion] + languages( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Returns the first _n_ elements from the list. + """ + first: Int -""" -An edge in a connection. -""" -type PackageVersionEdge { - """ - A cursor for use in pagination. - """ - cursor: String! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The item at the end of the edge. - """ - node: PackageVersion -} + """ + Order for connection + """ + orderBy: LanguageOrder + ): LanguageConnection -""" -Ways in which lists of package versions can be ordered upon return. -""" -input PackageVersionOrder { """ - The direction in which to order package versions by the specified field. + Get the latest release for the repository if one exists. """ - direction: OrderDirection + latestRelease: Release """ - The field in which to order package versions by. + The license associated with the repository """ - field: PackageVersionOrderField -} + licenseInfo: License -""" -Properties by which package version connections can be ordered. -""" -enum PackageVersionOrderField { """ - Order package versions by creation time + The reason the repository has been locked. """ - CREATED_AT -} + lockReason: RepositoryLockReason -""" -Represents a object that contains package version activity statistics such as downloads. -""" -type PackageVersionStatistics { """ - Number of times the package was downloaded since it was created. + A list of Users that can be mentioned in the context of the repository. """ - downloadsTotalCount: Int! -} + mentionableUsers( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String -""" -Information about pagination in a connection. -""" -type PageInfo { - """ - When paginating forwards, the cursor to continue. - """ - endCursor: String + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - When paginating forwards, are there more items? - """ - hasNextPage: Boolean! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - When paginating backwards, are there more items? - """ - hasPreviousPage: Boolean! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - When paginating backwards, the cursor to continue. - """ - startCursor: String -} + """ + Filters users with query on user name and login + """ + query: String + ): UserConnection! -""" -Represents a 'parent_issue_added' event on a given issue. -""" -type ParentIssueAddedEvent implements Node { """ - Identifies the actor who performed the event. + Whether or not PRs are merged with a merge commit on this repository. """ - actor: Actor + mergeCommitAllowed: Boolean! """ - Identifies the date and time when the object was created. + How the default commit message will be generated when merging a pull request. """ - createdAt: DateTime! + mergeCommitMessage: MergeCommitMessage! """ - The Node ID of the ParentIssueAddedEvent object + How the default commit title will be generated when merging a pull request. """ - id: ID! + mergeCommitTitle: MergeCommitTitle! """ - The parent issue added. + The merge queue for a specified branch, otherwise the default branch if not provided. """ - parent: Issue -} + mergeQueue( + """ + The name of the branch to get the merge queue for. Case sensitive. + """ + branch: String + ): MergeQueue -""" -Represents a 'parent_issue_removed' event on a given issue. -""" -type ParentIssueRemovedEvent implements Node { """ - Identifies the actor who performed the event. + Returns a single milestone from the current repository by number. """ - actor: Actor + milestone( + """ + The number for the milestone to be returned. + """ + number: Int! + ): Milestone """ - Identifies the date and time when the object was created. + A list of milestones associated with the repository. """ - createdAt: DateTime! + milestones( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The Node ID of the ParentIssueRemovedEvent object - """ - id: ID! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The parent issue removed. - """ - parent: Issue -} + """ + Returns the first _n_ elements from the list. + """ + first: Int -""" -The possible types of patch statuses. -""" -enum PatchStatus { - """ - The file was added. Git status 'A'. - """ - ADDED + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The file's type was changed. Git status 'T'. - """ - CHANGED + """ + Ordering options for milestones. + """ + orderBy: MilestoneOrder - """ - The file was copied. Git status 'C'. - """ - COPIED + """ + Filters milestones with a query on the title + """ + query: String - """ - The file was deleted. Git status 'D'. - """ - DELETED + """ + Filter by the state of the milestones. + """ + states: [MilestoneState!] + ): MilestoneConnection """ - The file's contents were changed. Git status 'M'. + The repository's original mirror URL. """ - MODIFIED + mirrorUrl: URI """ - The file was renamed. Git status 'R'. + The name of the repository. """ - RENAMED -} - -""" -Types that can grant permissions on a repository to a user -""" -union PermissionGranter = Organization | Repository | Team + name: String! -""" -A level of permission and source for a user's access to a repository. -""" -type PermissionSource { """ - The organization the repository belongs to. + The repository's name with owner. """ - organization: Organization! + nameWithOwner: String! """ - The level of access this source has granted to the user. + A Git object in the repository """ - permission: DefaultRepositoryPermissionField! + object( + """ + A Git revision expression suitable for rev-parse + """ + expression: String - """ - The name of the role this source has granted to the user. - """ - roleName: String + """ + The Git object ID + """ + oid: GitObjectID + ): GitObject """ - The source of this permission. + The image used to represent this repository in Open Graph data. """ - source: PermissionGranter! -} + openGraphImageUrl: URI! -""" -Autogenerated input type of PinEnvironment -""" -input PinEnvironmentInput { """ - A unique identifier for the client performing the mutation. + The User owner of the repository. """ - clientMutationId: String + owner: RepositoryOwner! """ - The ID of the environment to modify + A list of packages under the owner. """ - environmentId: ID! + packages( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The desired state of the environment. If true, environment will be pinned. If false, it will be unpinned. - """ - pinned: Boolean! -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -Autogenerated return type of PinEnvironment. -""" -type PinEnvironmentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The environment that was pinned - """ - environment: Environment + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The pinned environment if we pinned - """ - pinnedEnvironment: PinnedEnvironment -} + """ + Find packages by their names. + """ + names: [String] -""" -Autogenerated input type of PinIssue -""" -input PinIssueInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String + """ + Ordering of the returned packages. + """ + orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} - """ - The ID of the issue to be pinned - """ - issueId: ID! -} + """ + Filter registry package by type. + """ + packageType: PackageType -""" -Autogenerated return type of PinIssue. -""" -type PinIssuePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String + """ + Find packages in a repository by ID. + """ + repositoryId: ID + ): PackageConnection! """ - The issue that was pinned + The repository parent, if this is a fork. """ - issue: Issue -} - -""" -Types that can be pinned to a profile page. -""" -union PinnableItem = Gist | Repository + parent: Repository -""" -The connection type for PinnableItem. -""" -type PinnableItemConnection { """ - A list of edges. + A list of discussions that have been pinned in this repository. """ - edges: [PinnableItemEdge] + pinnedDiscussions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - A list of nodes. - """ - nodes: [PinnableItem] + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): PinnedDiscussionConnection! -""" -An edge in a connection. -""" -type PinnableItemEdge { """ - A cursor for use in pagination. + A list of pinned environments for this repository. """ - cursor: String! + pinnedEnvironments( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The item at the end of the edge. - """ - node: PinnableItem -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -Represents items that can be pinned to a profile page or dashboard. -""" -enum PinnableItemType { - """ - A gist. - """ - GIST + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - An issue. - """ - ISSUE + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - An organization. - """ - ORGANIZATION + """ + Ordering options for the environments + """ + orderBy: PinnedEnvironmentOrder = {field: POSITION, direction: ASC} + ): PinnedEnvironmentConnection """ - A project. + A list of pinned issues for this repository. """ - PROJECT + pinnedIssues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - A pull request. - """ - PULL_REQUEST + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - A repository. - """ - REPOSITORY + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - A team. - """ - TEAM + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): PinnedIssueConnection """ - A user. + Returns information about the availability of certain features and limits based on the repository's billing plan. """ - USER -} + planFeatures: RepositoryPlanFeatures! -""" -A Pinned Discussion is a discussion pinned to a repository's index page. -""" -type PinnedDiscussion implements Node & RepositoryNode { """ - Identifies the date and time when the object was created. + The primary language of the repository's code. """ - createdAt: DateTime! + primaryLanguage: Language """ - Identifies the primary key from the database. + Find project by number. """ - databaseId: Int + project( + """ + The project number to find. + """ + number: Int! + ): Project @deprecated(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.") """ - The discussion that was pinned. + Finds and returns the Project according to the provided Project number. """ - discussion: Discussion! + projectV2( + """ + The Project number. + """ + number: Int! + ): ProjectV2 """ - Color stops of the chosen gradient + A list of projects under the owner. """ - gradientStopColors: [String!]! + projects( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The Node ID of the PinnedDiscussion object - """ - id: ID! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - Background texture pattern - """ - pattern: PinnedDiscussionPattern! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The actor that pinned this discussion. - """ - pinnedBy: Actor! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - Preconfigured background gradient option - """ - preconfiguredGradient: PinnedDiscussionGradient + """ + Ordering options for projects returned from the connection + """ + orderBy: ProjectOrder - """ - The repository associated with this node. - """ - repository: Repository! + """ + Query to search projects by, currently only searching by name. + """ + search: String - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! -} + """ + A list of states to filter the projects by. + """ + states: [ProjectState!] + ): ProjectConnection! @deprecated(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.") -""" -The connection type for PinnedDiscussion. -""" -type PinnedDiscussionConnection { """ - A list of edges. + The HTTP path listing the repository's projects """ - edges: [PinnedDiscussionEdge] + projectsResourcePath: URI! """ - A list of nodes. + The HTTP URL listing the repository's projects """ - nodes: [PinnedDiscussion] + projectsUrl: URI! """ - Information to aid in pagination. + List of projects linked to this repository. """ - pageInfo: PageInfo! + projectsV2( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -An edge in a connection. -""" -type PinnedDiscussionEdge { - """ - A cursor for use in pagination. - """ - cursor: String! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The item at the end of the edge. - """ - node: PinnedDiscussion -} + """ + Returns the last _n_ elements from the list. + """ + last: Int -""" -Preconfigured gradients that may be used to style discussions pinned within a repository. -""" -enum PinnedDiscussionGradient { - """ - A gradient of blue to mint - """ - BLUE_MINT + """ + Filter projects based on user role. + """ + minPermissionLevel: ProjectV2PermissionLevel = READ - """ - A gradient of blue to purple - """ - BLUE_PURPLE + """ + How to order the returned projects. + """ + orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} - """ - A gradient of pink to blue - """ - PINK_BLUE + """ + A project to search for linked to the repo. + """ + query: String + ): ProjectV2Connection! """ - A gradient of purple to coral + Returns a single pull request from the current repository by number. """ - PURPLE_CORAL + pullRequest( + """ + The number for the pull request to be returned. + """ + number: Int! + ): PullRequest """ - A gradient of red to orange + The pull request creation cap configuration for this repository. Only visible + to repository maintainers and administrators. """ - RED_ORANGE -} + pullRequestCreationCapConfig: PullRequestCreationCapConfig -""" -Preconfigured background patterns that may be used to style discussions pinned within a repository. -""" -enum PinnedDiscussionPattern { """ - An upward-facing chevron pattern + The policy controlling who can create pull requests in this repository. """ - CHEVRON_UP + pullRequestCreationPolicy: PullRequestCreationPolicy """ - A hollow dot pattern + Returns a list of pull request templates associated to the repository """ - DOT + pullRequestTemplates: [PullRequestTemplate!] """ - A solid dot pattern + A list of pull requests that have been opened in the repository. """ - DOT_FILL + pullRequests( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - A heart pattern - """ - HEART_FILL + """ + The base ref name to filter the pull requests by. + """ + baseRefName: String - """ - A plus sign pattern - """ - PLUS + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - A lightning bolt pattern - """ - ZAP -} + """ + Returns the first _n_ elements from the list. + """ + first: Int -""" -Represents a pinned environment on a given repository -""" -type PinnedEnvironment implements Node { - """ - Identifies the date and time when the pinned environment was created - """ - createdAt: DateTime! + """ + The head ref name to filter the pull requests by. + """ + headRefName: String - """ - Identifies the primary key from the database. - """ - databaseId: Int + """ + A list of label names to filter the pull requests by. + """ + labels: [String!] - """ - Identifies the environment associated. - """ - environment: Environment! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The Node ID of the PinnedEnvironment object - """ - id: ID! + """ + Ordering options for pull requests returned from the connection. + """ + orderBy: IssueOrder - """ - Identifies the position of the pinned environment. - """ - position: Int! + """ + A list of states to filter the pull requests by. + """ + states: [PullRequestState!] + ): PullRequestConnection! """ - The repository that this environment was pinned to. + Identifies the date and time when the repository was last pushed to. """ - repository: Repository! -} + pushedAt: DateTime -""" -The connection type for PinnedEnvironment. -""" -type PinnedEnvironmentConnection { """ - A list of edges. + Whether or not rebase-merging is enabled on this repository. """ - edges: [PinnedEnvironmentEdge] + rebaseMergeAllowed: Boolean! """ - A list of nodes. + Recent projects that this user has modified in the context of the owner. """ - nodes: [PinnedEnvironment] + recentProjects( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Returns the first _n_ elements from the list. + """ + first: Int -""" -An edge in a connection. -""" -type PinnedEnvironmentEdge { - """ - A cursor for use in pagination. - """ - cursor: String! + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): ProjectV2Connection! """ - The item at the end of the edge. + Fetch a given ref from the repository """ - node: PinnedEnvironment -} + ref( + """ + The ref to retrieve. Fully qualified matches are checked in order + (`refs/heads/master`) before falling back onto checks for short name matches (`master`). + """ + qualifiedName: String! + ): Ref -""" -Ordering options for pinned environments -""" -input PinnedEnvironmentOrder { """ - The direction in which to order pinned environments by the specified field. + Fetch a list of refs from the repository """ - direction: OrderDirection! + refs( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The field to order pinned environments by. - """ - field: PinnedEnvironmentOrderField! -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -Properties by which pinned environments connections can be ordered -""" -enum PinnedEnvironmentOrderField { - """ - Order pinned environments by position - """ - POSITION -} + """ + DEPRECATED: use orderBy. The ordering direction. + """ + direction: OrderDirection -""" -Represents a 'pinned' event on a given issue or pull request. -""" -type PinnedEvent implements Node { - """ - Identifies the actor who performed the event. - """ - actor: Actor + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The Node ID of the PinnedEvent object - """ - id: ID! + """ + Ordering options for refs returned from the connection. + """ + orderBy: RefOrder - """ - Identifies the issue associated with the event. - """ - issue: Issue! -} + """ + Filters refs with query on name + """ + query: String -""" -A Pinned Issue is a issue pinned to a repository's index page. -""" -type PinnedIssue implements Node { - """ - Identifies the primary key from the database. - """ - databaseId: Int + """ + A ref name prefix like `refs/heads/`, `refs/tags/`, etc. + """ + refPrefix: String! + ): RefConnection """ - Identifies the primary key from the database as a BigInt. + Lookup a single release given various criteria. """ - fullDatabaseId: BigInt + release( + """ + The name of the Tag the Release was created from + """ + tagName: String! + ): Release """ - The Node ID of the PinnedIssue object + List of releases which are dependent on this repository. """ - id: ID! + releases( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The issue that was pinned. - """ - issue: Issue! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The actor that pinned this issue. - """ - pinnedBy: Actor! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The repository that this issue was pinned to. - """ - repository: Repository! -} + """ + Returns the last _n_ elements from the list. + """ + last: Int -""" -The connection type for PinnedIssue. -""" -type PinnedIssueConnection { - """ - A list of edges. - """ - edges: [PinnedIssueEdge] + """ + Order for connection + """ + orderBy: ReleaseOrder + ): ReleaseConnection! """ - A list of nodes. + A custom property value for the repository. """ - nodes: [PinnedIssue] + repositoryCustomPropertyValue( + """ + The name of the custom property to retrieve the value for. + """ + propertyName: String! + ): RepositoryCustomPropertyValue """ - Information to aid in pagination. + A list of custom properties and their associated values for a repository. """ - pageInfo: PageInfo! + repositoryCustomPropertyValues( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -An edge in a connection. -""" -type PinnedIssueEdge { - """ - A cursor for use in pagination. - """ - cursor: String! + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryCustomPropertyValueConnection """ - The item at the end of the edge. + A list of applied repository-topic associations for this repository. """ - node: PinnedIssue -} + repositoryTopics( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String -""" -An ISO-8601 encoded UTC date string with millisecond precision. -""" -scalar PreciseDateTime + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -Audit log entry for a private_repository_forking.disable event. -""" -type PrivateRepositoryForkingDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { - """ - The action name - """ - action: String! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The user who initiated the action - """ - actor: AuditEntryActor + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): RepositoryTopicConnection! """ - The IP address of the actor + The HTTP path for this repository """ - actorIp: String + resourcePath: URI! """ - A readable representation of the actor's location + Returns a single ruleset from the current repository by ID. """ - actorLocation: ActorLocation + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! - """ - The username of the user who initiated the action - """ - actorLogin: String + """ + Include rulesets configured at higher levels that apply to this repository + """ + includeParents: Boolean = true + ): RepositoryRuleset """ - The HTTP path for the actor. + A list of rulesets for this repository. """ - actorResourcePath: URI + rulesets( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The HTTP URL for the actor. - """ - actorUrl: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The HTTP path for this enterprise. - """ - enterpriseResourcePath: URI + """ + Return rulesets configured at higher levels that apply to this repository + """ + includeParents: Boolean = true - """ - The slug of the enterprise. - """ - enterpriseSlug: String + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The HTTP URL for this enterprise. - """ - enterpriseUrl: URI + """ + Return rulesets that apply to the specified target + """ + targets: [RepositoryRulesetTarget!] = null + ): RepositoryRulesetConnection """ - The Node ID of the PrivateRepositoryForkingDisableAuditEntry object + The security policy URL. """ - id: ID! + securityPolicyUrl: URI """ - The corresponding operation type for the action + A description of the repository, rendered to HTML without any links in it. """ - operationType: OperationType + shortDescriptionHTML( + """ + How many characters to return. + """ + limit: Int = 200 + ): HTML! """ - The Organization associated with the Audit Entry. + Whether or not squash-merging is enabled on this repository. """ - organization: Organization + squashMergeAllowed: Boolean! """ - The name of the Organization. + How the default commit message will be generated when squash merging a pull request. """ - organizationName: String + squashMergeCommitMessage: SquashMergeCommitMessage! """ - The HTTP path for the organization + How the default commit title will be generated when squash merging a pull request. """ - organizationResourcePath: URI + squashMergeCommitTitle: SquashMergeCommitTitle! """ - The HTTP URL for the organization + Whether a squash merge commit can use the pull request title as default. """ - organizationUrl: URI + squashPrTitleUsedAsDefault: Boolean! @deprecated(reason: "`squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC.") """ - The repository associated with the action + The SSH URL to clone this repository """ - repository: Repository + sshUrl: GitSSHRemote! """ - The name of the repository + Returns a count of how many stargazers there are on this object """ - repositoryName: String + stargazerCount: Int! """ - The HTTP path for the repository + A list of users who have starred this starrable. """ - repositoryResourcePath: URI + stargazers( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The HTTP URL for the repository - """ - repositoryUrl: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The user affected by the action - """ - user: User + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - userLogin: String + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The HTTP path for the user. - """ - userResourcePath: URI + """ + Order for connection + """ + orderBy: StarOrder + ): StargazerConnection! """ - The HTTP URL for the user. + Returns a list of all submodules in this repository parsed from the + .gitmodules file as of the default branch's HEAD commit. """ - userUrl: URI -} + submodules( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String -""" -Audit log entry for a private_repository_forking.enable event. -""" -type PrivateRepositoryForkingEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { - """ - The action name - """ - action: String! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The user who initiated the action - """ - actor: AuditEntryActor + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The IP address of the actor - """ - actorIp: String + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): SubmoduleConnection! """ - A readable representation of the actor's location + A list of suggested actors that can be attributed to content in this repository. """ - actorLocation: ActorLocation + suggestedActors( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The username of the user who initiated the action - """ - actorLogin: String + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + A list of capabilities to filter actors by. + """ + capabilities: [RepositorySuggestedActorFilter!]! + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + A comma separated list of login names to filter actors by. Only the first 10 logins will be used. + """ + loginNames: String + + """ + Search actors with query on user name and login. + """ + query: String + ): ActorConnection! """ - The HTTP path for the actor. + Temporary authentication token for cloning this repository. """ - actorResourcePath: URI + tempCloneToken: String """ - The HTTP URL for the actor. + The repository from which this repository was generated, if any. """ - actorUrl: URI + templateRepository: Repository """ - The time the action was initiated + Identifies the date and time when the object was last updated. """ - createdAt: PreciseDateTime! + updatedAt: DateTime! """ - The HTTP path for this enterprise. + The HTTP URL for this repository """ - enterpriseResourcePath: URI + url: URI! """ - The slug of the enterprise. + Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. """ - enterpriseSlug: String + usesCustomOpenGraphImage: Boolean! """ - The HTTP URL for this enterprise. + Indicates whether the viewer has admin permissions on this repository. """ - enterpriseUrl: URI + viewerCanAdminister: Boolean! """ - The Node ID of the PrivateRepositoryForkingEnableAuditEntry object + Indicates whether the current user can create issues in this repository. """ - id: ID! + viewerCanCreateIssues: Boolean! """ - The corresponding operation type for the action + Can the current viewer create new projects on this owner. """ - operationType: OperationType + viewerCanCreateProjects: Boolean! @deprecated(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.") """ - The Organization associated with the Audit Entry. + Indicates whether the current user can see issue fields in this repository """ - organization: Organization + viewerCanSeeIssueFields: Boolean! """ - The name of the Organization. + Check if the viewer is able to change their subscription status for the repository. """ - organizationName: String + viewerCanSubscribe: Boolean! """ - The HTTP path for the organization + Indicates whether the viewer can update the topics of this repository. """ - organizationResourcePath: URI + viewerCanUpdateTopics: Boolean! """ - The HTTP URL for the organization + The content warning for this repository for the viewer. """ - organizationUrl: URI + viewerContentWarning: ContentWarning """ - The repository associated with the action + The last commit email for the viewer. """ - repository: Repository + viewerDefaultCommitEmail: String """ - The name of the repository + The last used merge method by the viewer or the default for the repository. """ - repositoryName: String + viewerDefaultMergeMethod: PullRequestMergeMethod! """ - The HTTP path for the repository + Returns a boolean indicating whether the viewing user has starred this starrable. """ - repositoryResourcePath: URI + viewerHasStarred: Boolean! """ - The HTTP URL for the repository + The users permission level on the repository. Will return null if authenticated as an GitHub App. """ - repositoryUrl: URI + viewerPermission: RepositoryPermission """ - The user affected by the action + A list of emails this viewer can commit with. """ - user: User + viewerPossibleCommitEmails: [String!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. """ - userLogin: String + viewerSubscription: SubscriptionState """ - The HTTP path for the user. + Indicates the repository's visibility level. """ - userResourcePath: URI + visibility: RepositoryVisibility! """ - The HTTP URL for the user. + Returns a single vulnerability alert from the current repository by number. """ - userUrl: URI -} + vulnerabilityAlert( + """ + The number for the vulnerability alert to be returned. + """ + number: Int! + ): RepositoryVulnerabilityAlert -""" -A curatable list of repositories relating to a repository owner, which defaults -to showing the most popular repositories they own. -""" -type ProfileItemShowcase { """ - Whether or not the owner has pinned any repositories or gists. + A list of vulnerability alerts that are on this repository. """ - hasPinnedItems: Boolean! + vulnerabilityAlerts( + """ + 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 + + """ + Filter by the classification of the alert's associated security advisory + """ + classifications: [SecurityAdvisoryClassification!] + + """ + Filter by the scope of the alert's dependency + """ + dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!] + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Filter by the state of the alert + """ + states: [RepositoryVulnerabilityAlertState!] + ): RepositoryVulnerabilityAlertConnection """ - The repositories and gists in the showcase. If the profile owner has any - pinned items, those will be returned. Otherwise, the profile owner's popular - repositories will be returned. + A list of users watching the repository. """ - items( + watchers( """ Returns the elements in the list that come after the specified cursor. """ @@ -32932,386 +52626,365 @@ type ProfileItemShowcase { Returns the last _n_ elements from the list. """ last: Int - ): PinnableItemConnection! + ): UserConnection! + + """ + Whether contributors are required to sign off on web-based commits in this repository. + """ + webCommitSignoffRequired: Boolean! } """ -Represents any entity on GitHub that has a profile page. +The affiliation of a user to a repository """ -interface ProfileOwner { +enum RepositoryAffiliation { """ - Determine if this repository owner has any items that can be pinned to their profile. + Repositories that the user has been added to as a collaborator. """ - anyPinnableItems( - """ - Filter to only a particular kind of pinnable item. - """ - type: PinnableItemType - ): Boolean! + COLLABORATOR """ - The public profile email. + Repositories that the user has access to through being a member of an + organization. This includes every repository on every team that the user is on. """ - email: String + ORGANIZATION_MEMBER """ - The Node ID of the ProfileOwner object + Repositories that are owned by the authenticated user. """ - id: ID! + OWNER +} +""" +Metadata for an audit entry with action repo.* +""" +interface RepositoryAuditEntryData { """ - Showcases a selection of repositories and gists that the profile owner has - either curated or that have been selected automatically based on popularity. + The repository associated with the action """ - itemShowcase: ProfileItemShowcase! + repository: Repository """ - The public profile location. + The name of the repository """ - location: String + repositoryName: String """ - The username used to login. + The HTTP path for the repository """ - login: String! + repositoryResourcePath: URI """ - The public profile name. + The HTTP URL for the repository """ - name: String + repositoryUrl: URI +} +""" +Information extracted from a repository's `CODEOWNERS` file. +""" +type RepositoryCodeowners { """ - A list of repositories and gists this profile owner can pin to their profile. + Any problems that were encountered while parsing the `CODEOWNERS` file. """ - pinnableItems( - """ - 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 - - """ - Filter the types of pinnable items that are returned. - """ - types: [PinnableItemType!] - ): PinnableItemConnection! + errors: [RepositoryCodeownersError!]! +} +""" +An error in a `CODEOWNERS` file. +""" +type RepositoryCodeownersError { """ - A list of repositories and gists this profile owner has pinned to their profile + The column number where the error occurs. """ - pinnedItems( - """ - 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 + column: Int! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + A short string describing the type of error. + """ + kind: String! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The line number where the error occurs. + """ + line: Int! - """ - Filter the types of pinned items that are returned. - """ - types: [PinnableItemType!] - ): PinnableItemConnection! + """ + A complete description of the error, combining information from other fields. + """ + message: String! """ - Returns how many more items this profile owner can pin to their profile. + The path to the file when the error occurs. """ - pinnedItemsRemaining: Int! + path: String! """ - Can the viewer pin repositories and gists to the profile? + The content of the line where the error occurs. """ - viewerCanChangePinnedItems: Boolean! + source: String! """ - The public profile website URL. + A suggestion of how to fix the error. """ - websiteUrl: URI + suggestion: String } """ -Projects manage issues, pull requests and notes within a project owner. +The connection type for User. """ -type Project implements Closable & Node & Updatable { +type RepositoryCollaboratorConnection { """ - The project's description body. + A list of edges. """ - body: String @deprecated(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.") + edges: [RepositoryCollaboratorEdge] """ - The projects description body rendered to HTML. + A list of nodes. """ - bodyHTML: HTML! @deprecated(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.") + nodes: [User] """ - Indicates if the object is closed (definition of closed may depend on type) + Information to aid in pagination. """ - closed: Boolean! + pageInfo: PageInfo! """ - Identifies the date and time when the object was closed. + Identifies the total count of items in the connection. """ - closedAt: DateTime + totalCount: Int! +} +""" +Represents a user who is a collaborator of a repository. +""" +type RepositoryCollaboratorEdge { """ - List of columns in the project + A cursor for use in pagination. """ - columns( - """ - 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 - ): ProjectColumnConnection! @deprecated(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.") + cursor: String! + node: User! """ - Identifies the date and time when the object was created. + The permission the user has on the repository. """ - createdAt: DateTime! @deprecated(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.") + permission: RepositoryPermission! """ - The actor who originally created the project. + A list of sources for the user's access to the repository. """ - creator: Actor @deprecated(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.") + permissionSources: [PermissionSource!] +} +""" +A list of repositories owned by the subject. +""" +type RepositoryConnection { """ - Identifies the primary key from the database. + A list of edges. """ - databaseId: Int @deprecated(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.") + edges: [RepositoryEdge] """ - The Node ID of the Project object + A list of nodes. """ - id: ID! @deprecated(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.") + nodes: [Repository] """ - The project's name. + Information to aid in pagination. """ - name: String! @deprecated(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.") + pageInfo: PageInfo! """ - The project's number. + Identifies the total count of items in the connection. """ - number: Int! @deprecated(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.") + totalCount: Int! """ - The project's owner. Currently limited to repositories, organizations, and users. + The total size in kilobytes of all repositories in the connection. Value will + never be larger than max 32-bit signed integer. """ - owner: ProjectOwner! @deprecated(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.") + totalDiskUsage: Int! +} +""" +A repository contact link. +""" +type RepositoryContactLink { """ - List of pending cards in this project + The contact link purpose. """ - pendingCards( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - A list of archived states to filter the cards by - """ - archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] + about: String! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The contact link name. + """ + name: String! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The contact link URL. + """ + url: URI! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectCardConnection! @deprecated(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.") +""" +The reason a repository is listed as 'contributed'. +""" +enum RepositoryContributionType { + """ + Created a commit + """ + COMMIT """ - Project progress details. + Created an issue """ - progress: ProjectProgress! @deprecated(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.") + ISSUE """ - The HTTP path for this project + Created a pull request """ - resourcePath: URI! @deprecated(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.") + PULL_REQUEST """ - Whether the project is open or closed. + Reviewed a pull request """ - state: ProjectState! @deprecated(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.") + PULL_REQUEST_REVIEW """ - Identifies the date and time when the object was last updated. + Created the repository """ - updatedAt: DateTime! @deprecated(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.") + REPOSITORY +} +""" +A repository custom property. +""" +type RepositoryCustomProperty implements Node { """ - The HTTP URL for this project + The allowed values for the custom property. Required if `value_type` is `single_select` or `multi_select`. """ - url: URI! @deprecated(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.") + allowedValues: [String!] """ - Indicates if the object can be closed by the viewer. + The default value of the custom property, if the property is `required`. """ - viewerCanClose: Boolean! + defaultValue: CustomPropertyValue """ - Indicates if the object can be reopened by the viewer. + The description of the custom property. """ - viewerCanReopen: Boolean! + description: String """ - Check if the current viewer can update this object. + The Node ID of the RepositoryCustomProperty object """ - viewerCanUpdate: Boolean! -} + id: ID! -""" -A card in a project. -""" -type ProjectCard implements Node { """ - The project column this card is associated under. A card may only belong to one - project column at a time. The column field will be null if the card is created - in a pending state and has yet to be associated with a column. Once cards are - associated with a column, they will not become pending in the future. + The name of the custom property. """ - column: ProjectColumn @deprecated(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.") + propertyName: String! """ - The card content item + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. """ - content: ProjectCardItem @deprecated(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.") + regex: String """ - Identifies the date and time when the object was created. + Whether this repository custom property requires explicit values. """ - createdAt: DateTime! @deprecated(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.") + requireExplicitValues: Boolean """ - The actor who created this card + Whether the custom property is required. """ - creator: Actor @deprecated(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.") + required: Boolean """ - Identifies the primary key from the database. + The source type of the custom property. """ - databaseId: Int @deprecated(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.") + source: CustomPropertySource! """ - The Node ID of the ProjectCard object + The value type of the custom property. """ - id: ID! @deprecated(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.") + valueType: CustomPropertyValueType! """ - Whether the card is archived + Who can edit the values of this repository custom property. """ - isArchived: Boolean! @deprecated(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.") + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy! +} +""" +The connection type for RepositoryCustomProperty. +""" +type RepositoryCustomPropertyConnection { """ - The card note + A list of edges. """ - note: String @deprecated(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.") + edges: [RepositoryCustomPropertyEdge] """ - The project that contains this card. + A list of nodes. """ - project: Project! @deprecated(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.") + nodes: [RepositoryCustomProperty] """ - The HTTP path for this card + Information to aid in pagination. """ - resourcePath: URI! @deprecated(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.") + pageInfo: PageInfo! """ - The state of ProjectCard + Identifies the total count of items in the connection. """ - state: ProjectCardState @deprecated(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.") + totalCount: Int! +} +""" +An edge in a connection. +""" +type RepositoryCustomPropertyEdge { """ - Identifies the date and time when the object was last updated. + A cursor for use in pagination. """ - updatedAt: DateTime! @deprecated(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.") + cursor: String! """ - The HTTP URL for this card + The item at the end of the edge. """ - url: URI! @deprecated(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.") + node: RepositoryCustomProperty } """ -The possible archived states of a project card. +A value associated with a repository custom property. """ -enum ProjectCardArchivedState { +type RepositoryCustomPropertyValue { """ - A project card that is archived + The name of the custom property. """ - ARCHIVED + propertyName: String! """ - A project card that is not archived + The value of the custom property. """ - NOT_ARCHIVED + value: CustomPropertyValue! } """ -The connection type for ProjectCard. +The connection type for RepositoryCustomPropertyValue. """ -type ProjectCardConnection { +type RepositoryCustomPropertyValueConnection { """ A list of edges. """ - edges: [ProjectCardEdge] + edges: [RepositoryCustomPropertyValueEdge] """ A list of nodes. """ - nodes: [ProjectCard] + nodes: [RepositoryCustomPropertyValue] """ Information to aid in pagination. @@ -33327,7 +53000,7 @@ type ProjectCardConnection { """ An edge in a connection. """ -type ProjectCardEdge { +type RepositoryCustomPropertyValueEdge { """ A cursor for use in pagination. """ @@ -33336,67 +53009,88 @@ type ProjectCardEdge { """ The item at the end of the edge. """ - node: ProjectCard + node: RepositoryCustomPropertyValue } """ -An issue or PR and its owning repository to be used in a project card. +The allowed actors who can edit the values of a custom property. """ -input ProjectCardImport { +enum RepositoryCustomPropertyValuesEditableBy { """ - The issue or pull request number. + The organization actors. """ - number: Int! + ORG_ACTORS """ - Repository name with owner (owner/repository). + The organization and repository actors. """ - repository: String! + ORG_AND_REPO_ACTORS } """ -Types that can be inside Project Cards. -""" -union ProjectCardItem = Issue | PullRequest - -""" -Various content states of a ProjectCard +Represents an author of discussions in repositories. """ -enum ProjectCardState { +interface RepositoryDiscussionAuthor { """ - The card has content only. + Discussions this user has started. """ - CONTENT_ONLY + repositoryDiscussions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The card has a note only. - """ - NOTE_ONLY + """ + Filter discussions to only those that have been answered or not. Defaults to + including both answered and unanswered discussions. + """ + answered: Boolean = null - """ - The card is redacted. - """ - REDACTED + """ + 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 discussions returned from the connection. + """ + orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} + + """ + Filter discussions to only those in a specific repository. + """ + repositoryId: ID + + """ + A list of states to filter the discussions by. + """ + states: [DiscussionState!] = [] + ): DiscussionConnection! } """ -A column inside a project. +Represents an author of discussion comments in repositories. """ -type ProjectColumn implements Node { +interface RepositoryDiscussionCommentAuthor { """ - List of cards in the column + Discussion comments this user has authored. """ - cards( + repositoryDiscussionComments( """ Returns the elements in the list that come after the specified cursor. """ after: String - """ - A list of archived states to filter the cards by - """ - archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] - """ Returns the elements in the list that come before the specified cursor. """ @@ -33411,727 +53105,548 @@ type ProjectColumn implements Node { Returns the last _n_ elements from the list. """ last: Int - ): ProjectCardConnection! @deprecated(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.") + """ + Filter discussion comments to only those that were marked as the answer + """ + onlyAnswers: Boolean = false + + """ + Filter discussion comments to only those in a specific repository. + """ + repositoryId: ID + ): DiscussionCommentConnection! +} + +""" +An edge in a connection. +""" +type RepositoryEdge { """ - Identifies the date and time when the object was created. + A cursor for use in pagination. """ - createdAt: DateTime! @deprecated(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.") + cursor: String! """ - Identifies the primary key from the database. + The item at the end of the edge. """ - databaseId: Int @deprecated(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.") + node: Repository +} +""" +Parameters to be used for the repository_id condition +""" +type RepositoryIdConditionTarget { """ - The Node ID of the ProjectColumn object + One of these repo IDs must match the repo. """ - id: ID! @deprecated(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.") + repositoryIds: [ID!]! +} +""" +Parameters to be used for the repository_id condition +""" +input RepositoryIdConditionTargetInput { """ - The project column's name. + One of these repo IDs must match the repo. """ - name: String! @deprecated(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.") + repositoryIds: [ID!]! +} +""" +A subset of repository info. +""" +interface RepositoryInfo { """ - The project that contains this column. + Identifies the date and time when the repository was archived. """ - project: Project! @deprecated(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.") + archivedAt: DateTime """ - The semantic purpose of the column + Identifies the date and time when the object was created. """ - purpose: ProjectColumnPurpose @deprecated(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.") + createdAt: DateTime! """ - The HTTP path for this project column + The description of the repository. """ - resourcePath: URI! @deprecated(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.") + description: String """ - Identifies the date and time when the object was last updated. + The description of the repository rendered to HTML. """ - updatedAt: DateTime! @deprecated(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.") + descriptionHTML: HTML! """ - The HTTP URL for this project column + Returns how many forks there are of this repository in the whole network. """ - url: URI! @deprecated(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.") -} + forkCount: Int! -""" -The connection type for ProjectColumn. -""" -type ProjectColumnConnection { """ - A list of edges. + Indicates if the repository has the Discussions feature enabled. """ - edges: [ProjectColumnEdge] + hasDiscussionsEnabled: Boolean! """ - A list of nodes. + Indicates if the repository has issues feature enabled. """ - nodes: [ProjectColumn] + hasIssuesEnabled: Boolean! """ - Information to aid in pagination. + Indicates if the repository has the Projects feature enabled. """ - pageInfo: PageInfo! + hasProjectsEnabled: Boolean! """ - Identifies the total count of items in the connection. + Indicates if the repository has the pull requests feature enabled. """ - totalCount: Int! -} + hasPullRequestsEnabled: Boolean! -""" -An edge in a connection. -""" -type ProjectColumnEdge { """ - A cursor for use in pagination. + Indicates if the repository displays a Sponsor button for financial contributions. """ - cursor: String! + hasSponsorshipsEnabled: Boolean! """ - The item at the end of the edge. + Indicates if the repository has wiki feature enabled. """ - node: ProjectColumn -} + hasWikiEnabled: Boolean! -""" -A project column and a list of its issues and PRs. -""" -input ProjectColumnImport { """ - The name of the column. + The repository's URL. """ - columnName: String! + homepageUrl: URI """ - A list of issues and pull requests in the column. + Indicates if the repository is unmaintained. """ - issues: [ProjectCardImport!] + isArchived: Boolean! """ - The position of the column, starting from 0. + Identifies if the repository is a fork. """ - position: Int! -} + isFork: Boolean! -""" -The semantic purpose of the column - todo, in progress, or done. -""" -enum ProjectColumnPurpose { """ - The column contains cards which are complete + Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. """ - DONE + isInOrganization: Boolean! """ - The column contains cards which are currently being worked on + Indicates if the repository has been locked or not. """ - IN_PROGRESS + isLocked: Boolean! """ - The column contains cards still to be worked on + Identifies if the repository is a mirror. """ - TODO -} + isMirror: Boolean! -""" -A list of projects associated with the owner. -""" -type ProjectConnection { """ - A list of edges. + Identifies if the repository is private or internal. """ - edges: [ProjectEdge] + isPrivate: Boolean! """ - A list of nodes. + Identifies if the repository is a template that can be used to generate new repositories. """ - nodes: [Project] + isTemplate: Boolean! """ - Information to aid in pagination. + The policy controlling who can create issues in this repository. """ - pageInfo: PageInfo! + issueCreationPolicy: IssueCreationPolicy """ - Identifies the total count of items in the connection. + The license associated with the repository """ - totalCount: Int! -} + licenseInfo: License -""" -An edge in a connection. -""" -type ProjectEdge { """ - A cursor for use in pagination. + The reason the repository has been locked. """ - cursor: String! + lockReason: RepositoryLockReason """ - The item at the end of the edge. + The repository's original mirror URL. """ - node: Project -} + mirrorUrl: URI -""" -Ways in which lists of projects can be ordered upon return. -""" -input ProjectOrder { """ - The direction in which to order projects by the specified field. + The name of the repository. """ - direction: OrderDirection! + name: String! """ - The field in which to order projects by. + The repository's name with owner. """ - field: ProjectOrderField! -} + nameWithOwner: String! + + """ + The image used to represent this repository in Open Graph data. + """ + openGraphImageUrl: URI! -""" -Properties by which project connections can be ordered. -""" -enum ProjectOrderField { """ - Order projects by creation time + The User owner of the repository. """ - CREATED_AT + owner: RepositoryOwner! """ - Order projects by name + The policy controlling who can create pull requests in this repository. """ - NAME + pullRequestCreationPolicy: PullRequestCreationPolicy """ - Order projects by update time + Identifies the date and time when the repository was last pushed to. """ - UPDATED_AT -} + pushedAt: DateTime -""" -Represents an owner of a Project. -""" -interface ProjectOwner { """ - The Node ID of the ProjectOwner object + The HTTP path for this repository """ - id: ID! + resourcePath: URI! """ - Find project by number. + A description of the repository, rendered to HTML without any links in it. """ - project( + shortDescriptionHTML( """ - The project number to find. + How many characters to return. """ - number: Int! - ): Project @deprecated(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.") + limit: Int = 200 + ): HTML! """ - A list of projects under the owner. + Identifies the date and time when the object was last updated. """ - projects( - """ - 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 projects returned from the connection - """ - orderBy: ProjectOrder - - """ - Query to search projects by, currently only searching by name. - """ - search: String - - """ - A list of states to filter the projects by. - """ - states: [ProjectState!] - ): ProjectConnection! @deprecated(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.") + updatedAt: DateTime! """ - The HTTP path listing owners projects + The HTTP URL for this repository """ - projectsResourcePath: URI! + url: URI! """ - The HTTP URL listing owners projects + Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. """ - projectsUrl: URI! + usesCustomOpenGraphImage: Boolean! """ - Can the current viewer create new projects on this owner. + Indicates the repository's visibility level. """ - viewerCanCreateProjects: Boolean! + visibility: RepositoryVisibility! } """ -Project progress stats. +Repository interaction limit that applies to this object. """ -type ProjectProgress { +type RepositoryInteractionAbility { """ - The number of done cards. + The time the currently active limit expires. """ - doneCount: Int! @deprecated(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.") + expiresAt: DateTime """ - The percentage of done cards. + The current limit that is enabled on this object. """ - donePercentage: Float! @deprecated(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.") + limit: RepositoryInteractionLimit! """ - Whether progress tracking is enabled and cards with purpose exist for this project + The origin of the currently active interaction limit. """ - enabled: Boolean! @deprecated(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.") + origin: RepositoryInteractionLimitOrigin! +} +""" +A repository interaction limit. +""" +enum RepositoryInteractionLimit { """ - The number of in-progress cards. + Users that are not collaborators will not be able to interact with the repository. """ - inProgressCount: Int! @deprecated(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.") + COLLABORATORS_ONLY """ - The percentage of in-progress cards. + Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. """ - inProgressPercentage: Float! @deprecated(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.") + CONTRIBUTORS_ONLY """ - The number of to do cards. + Users that have recently created their account will be unable to interact with the repository. """ - todoCount: Int! @deprecated(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.") + EXISTING_USERS """ - The percentage of to do cards. + No interaction limits are enabled. """ - todoPercentage: Float! @deprecated(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.") + NO_LIMIT } """ -State of the project; either 'open' or 'closed' +The length for a repository interaction limit to be enabled for. """ -enum ProjectState { - """ - The project is closed. - """ - CLOSED - +enum RepositoryInteractionLimitExpiry { """ - The project is open. + The interaction limit will expire after 1 day. """ - OPEN -} + ONE_DAY -""" -GitHub-provided templates for Projects -""" -enum ProjectTemplate { """ - Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. + The interaction limit will expire after 1 month. """ - AUTOMATED_KANBAN_V2 + ONE_MONTH """ - Create a board with triggers to automatically move cards across columns with review automation. + The interaction limit will expire after 1 week. """ - AUTOMATED_REVIEWS_KANBAN + ONE_WEEK """ - Create a board with columns for To do, In progress and Done. + The interaction limit will expire after 6 months. """ - BASIC_KANBAN + SIX_MONTHS """ - Create a board to triage and prioritize bugs with To do, priority, and Done columns. + The interaction limit will expire after 3 days. """ - BUG_TRIAGE + THREE_DAYS } """ -New projects that manage issues, pull requests and drafts using tables and boards. +Indicates where an interaction limit is configured. """ -type ProjectV2 implements Closable & Node & Updatable { +enum RepositoryInteractionLimitOrigin { """ - Returns true if the project is closed. + A limit that is configured at the organization level. """ - closed: Boolean! + ORGANIZATION """ - Identifies the date and time when the object was closed. + A limit that is configured at the repository level. """ - closedAt: DateTime + REPOSITORY """ - Identifies the date and time when the object was created. + A limit that is configured at the user-wide level. """ - createdAt: DateTime! + USER +} +""" +An invitation for a user to be added to a repository. +""" +type RepositoryInvitation implements Node { """ - The actor who originally created the project. + The email address that received the invitation. """ - creator: Actor + email: String """ - Identifies the primary key from the database. + The Node ID of the RepositoryInvitation object """ - 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.") + id: ID! """ - A field of the project + The user who received the invitation. """ - field( - """ - The name of the field - """ - name: String! - ): ProjectV2FieldConfiguration + invitee: User """ - List of fields and their constraints in the project + The user who created the invitation. """ - fields( - """ - 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 project v2 fields returned from the connection - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConfigurationConnection! + inviter: User! """ - Identifies the primary key from the database as a BigInt. + The permalink for this repository invitation. """ - fullDatabaseId: BigInt + permalink: URI! """ - The Node ID of the ProjectV2 object + The permission granted on this repository by this invitation. """ - id: ID! + permission: RepositoryPermission! """ - List of items in the project + The Repository the user is invited to. """ - items( - """ - 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 project v2 items returned from the connection - """ - orderBy: ProjectV2ItemOrder = {field: POSITION, direction: ASC} - ): ProjectV2ItemConnection! + repository: RepositoryInfo +} +""" +A list of repository invitations. +""" +type RepositoryInvitationConnection { """ - The project's number. + A list of edges. """ - number: Int! + edges: [RepositoryInvitationEdge] """ - The project's owner. Currently limited to organizations and users. + A list of nodes. """ - owner: ProjectV2Owner! + nodes: [RepositoryInvitation] """ - Returns true if the project is public. + Information to aid in pagination. """ - public: Boolean! + pageInfo: PageInfo! """ - The project's readme. + Identifies the total count of items in the connection. """ - readme: String + totalCount: Int! +} +""" +An edge in a connection. +""" +type RepositoryInvitationEdge { """ - The repositories the project is linked to. + A cursor for use in pagination. """ - repositories( - """ - 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 repositories returned from the connection - """ - orderBy: RepositoryOrder = {field: CREATED_AT, direction: DESC} - ): RepositoryConnection! + cursor: String! """ - The HTTP path for this project + The item at the end of the edge. """ - resourcePath: URI! + node: RepositoryInvitation +} +""" +Ordering options for repository invitation connections. +""" +input RepositoryInvitationOrder { """ - The project's short description. + The ordering direction. """ - shortDescription: String + direction: OrderDirection! """ - List of the status updates in the project. + The field to order repository invitations by. """ - statusUpdates( - """ - 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 - - """ - Order for connection - """ - orderBy: ProjectV2StatusOrder = {field: CREATED_AT, direction: DESC} - ): ProjectV2StatusUpdateConnection! + field: RepositoryInvitationOrderField! +} +""" +Properties by which repository invitation connections can be ordered. +""" +enum RepositoryInvitationOrderField { """ - The teams the project is linked to. + Order repository invitations by creation time """ - teams( - """ - 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 teams returned from this connection. - """ - orderBy: TeamOrder = {field: NAME, direction: ASC} - ): TeamConnection! + CREATED_AT +} +""" +The possible reasons a given repository could be in a locked state. +""" +enum RepositoryLockReason { """ - Returns true if this project is a template. + The repository is locked due to a billing related reason. """ - template: Boolean! + BILLING """ - The project's name. + The repository is locked due to a migration. """ - title: String! + MIGRATING """ - Identifies the date and time when the object was last updated. + The repository is locked due to a move. """ - updatedAt: DateTime! + MOVING """ - The HTTP URL for this project + The repository is locked due to a rename. """ - url: URI! + RENAME """ - A view of the project + The repository is locked due to a trade controls related reason. """ - view( - """ - The number of a view belonging to the project - """ - number: Int! - ): ProjectV2View + TRADE_RESTRICTION """ - Indicates if the object can be closed by the viewer. + The repository is locked due to an ownership transfer. """ - viewerCanClose: Boolean! + TRANSFERRING_OWNERSHIP +} +""" +A GitHub Enterprise Importer (GEI) repository migration. +""" +type RepositoryMigration implements Migration & Node { """ - Indicates if the object can be reopened by the viewer. + The migration flag to continue on error. """ - viewerCanReopen: Boolean! + continueOnError: Boolean! """ - Check if the current viewer can update this object. + Identifies the date and time when the object was created. """ - viewerCanUpdate: Boolean! + createdAt: DateTime! """ - List of views in the project + Identifies the primary key from the database. """ - views( - """ - 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 + databaseId: String - """ - Ordering options for project v2 views returned from the connection - """ - orderBy: ProjectV2ViewOrder = {field: POSITION, direction: ASC} - ): ProjectV2ViewConnection! + """ + The reason the migration failed. + """ + failureReason: String """ - A workflow of the project + The Node ID of the RepositoryMigration object """ - workflow( - """ - The number of a workflow belonging to the project - """ - number: Int! - ): ProjectV2Workflow + id: ID! """ - List of the workflows in the project + The URL for the migration log (expires 1 day after migration completes). """ - workflows( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + migrationLogUrl: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The migration source. + """ + migrationSource: MigrationSource! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The target repository name. + """ + repositoryName: String! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + """ + sourceUrl: URI! - """ - Ordering options for project v2 workflows returned from the connection - """ - orderBy: ProjectV2WorkflowOrder = {field: NAME, direction: ASC} - ): ProjectV2WorkflowConnection! -} + """ + The migration state. + """ + state: MigrationState! -""" -Possible collaborators for a project. -""" -union ProjectV2Actor = Team | User + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! +} """ -The connection type for ProjectV2Actor. +A list of migrations. """ -type ProjectV2ActorConnection { +type RepositoryMigrationConnection { """ A list of edges. """ - edges: [ProjectV2ActorEdge] + edges: [RepositoryMigrationEdge] """ A list of nodes. """ - nodes: [ProjectV2Actor] + nodes: [RepositoryMigration] """ Information to aid in pagination. @@ -34145,9 +53660,9 @@ type ProjectV2ActorConnection { } """ -An edge in a connection. +Represents a repository migration. """ -type ProjectV2ActorEdge { +type RepositoryMigrationEdge { """ A cursor for use in pagination. """ @@ -34156,687 +53671,759 @@ type ProjectV2ActorEdge { """ The item at the end of the edge. """ - node: ProjectV2Actor + node: RepositoryMigration } """ -A collaborator to update on a project. Only one of the userId or teamId should be provided. +Ordering options for repository migrations. """ -input ProjectV2Collaborator { - """ - The role to grant the collaborator - """ - role: ProjectV2Roles! - +input RepositoryMigrationOrder { """ - The ID of the team as a collaborator. + The ordering direction. """ - teamId: ID + direction: RepositoryMigrationOrderDirection! """ - The ID of the user as a collaborator. + The field to order repository migrations by. """ - userId: ID + field: RepositoryMigrationOrderField! } """ -The connection type for ProjectV2. +Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. """ -type ProjectV2Connection { - """ - A list of edges. - """ - edges: [ProjectV2Edge] - +enum RepositoryMigrationOrderDirection { """ - A list of nodes. + Specifies an ascending order for a given `orderBy` argument. """ - nodes: [ProjectV2] + ASC """ - Information to aid in pagination. + Specifies a descending order for a given `orderBy` argument. """ - pageInfo: PageInfo! + DESC +} +""" +Properties by which repository migrations can be ordered. +""" +enum RepositoryMigrationOrderField { """ - Identifies the total count of items in the connection. + Order mannequins why when they were created. """ - totalCount: Int! + CREATED_AT } """ -The type of a project field. +Parameters to be used for the repository_name condition """ -enum ProjectV2CustomFieldType { +type RepositoryNameConditionTarget { """ - Date + Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. """ - DATE + exclude: [String!]! """ - Iteration + Array of repository names or patterns to include. One of these patterns must + match for the condition to pass. Also accepts `~ALL` to include all repositories. """ - ITERATION + include: [String!]! """ - Number + Target changes that match these patterns will be prevented except by those with bypass permissions. """ - NUMBER + protected: Boolean! +} +""" +Parameters to be used for the repository_name condition +""" +input RepositoryNameConditionTargetInput { """ - Single Select + Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. """ - SINGLE_SELECT + exclude: [String!]! """ - Text + Array of repository names or patterns to include. One of these patterns must + match for the condition to pass. Also accepts `~ALL` to include all repositories. """ - TEXT -} + include: [String!]! -""" -An edge in a connection. -""" -type ProjectV2Edge { """ - A cursor for use in pagination. + Target changes that match these patterns will be prevented except by those with bypass permissions. """ - cursor: String! + protected: Boolean +} +""" +Represents a object that belongs to a repository. +""" +interface RepositoryNode { """ - The item at the end of the edge. + The repository associated with this node. """ - node: ProjectV2 + repository: Repository! } """ -A field inside a project. +Ordering options for repository connections """ -type ProjectV2Field implements Node & ProjectV2FieldCommon { +input RepositoryOrder { """ - Identifies the date and time when the object was created. + The ordering direction. """ - createdAt: DateTime! + direction: OrderDirection! """ - The field's type. + The field to order repositories by. """ - dataType: ProjectV2FieldType! + field: RepositoryOrderField! +} +""" +Properties by which repository connections can be ordered. +""" +enum RepositoryOrderField { """ - Identifies the primary key from the database. + Order repositories by creation time """ - databaseId: Int + CREATED_AT """ - The Node ID of the ProjectV2Field object + Order repositories by name """ - id: ID! + NAME """ - The project field's name. + Order repositories by push time """ - name: String! + PUSHED_AT """ - The project that contains this field. + Order repositories by number of stargazers """ - project: ProjectV2! + STARGAZERS """ - Identifies the date and time when the object was last updated. + Order repositories by update time """ - updatedAt: DateTime! + UPDATED_AT } """ -Common fields across different project field types +Represents an owner of a Repository. """ -interface ProjectV2FieldCommon { +interface RepositoryOwner { """ - Identifies the date and time when the object was created. + A URL pointing to the owner's public avatar. """ - createdAt: DateTime! + avatarUrl( + """ + The size of the resulting square image. + """ + size: Int + ): URI! """ - The field's type. + The Node ID of the RepositoryOwner object """ - dataType: ProjectV2FieldType! + id: ID! """ - Identifies the primary key from the database. + The username used to login. """ - databaseId: Int + login: String! """ - The Node ID of the ProjectV2FieldCommon object + A list of repositories that the user owns. """ - id: ID! + repositories( + """ + Array of viewer's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + current viewer owns. + """ + affiliations: [RepositoryAffiliation] + + """ + 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 + + """ + If non-null, filters repositories according to whether they have issues enabled + """ + hasIssuesEnabled: Boolean + + """ + If non-null, filters repositories according to whether they are archived and not maintained + """ + isArchived: Boolean + + """ + If non-null, filters repositories according to whether they are forks of another repository + """ + isFork: Boolean + + """ + If non-null, filters repositories according to whether they have been locked + """ + isLocked: Boolean + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for repositories returned from the connection + """ + orderBy: RepositoryOrder + + """ + Array of owner's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + organization or user being viewed owns. + """ + ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + + """ + If non-null, filters repositories according to privacy. Internal + repositories are considered private; consider using the visibility argument + if only internal repositories are needed. Cannot be combined with the + visibility argument. + """ + privacy: RepositoryPrivacy + + """ + If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. + """ + visibility: RepositoryVisibility + ): RepositoryConnection! """ - The project field's name. + Find Repository. """ - name: String! + repository( + """ + Follow repository renames. If disabled, a repository referenced by its old name will return an error. + """ + followRenames: Boolean = true + + """ + Name of Repository to find. + """ + name: String! + ): Repository """ - The project that contains this field. + The HTTP URL for the owner. """ - project: ProjectV2! + resourcePath: URI! """ - Identifies the date and time when the object was last updated. + The HTTP URL for the owner. """ - updatedAt: DateTime! + url: URI! } """ -Configurations for project fields. -""" -union ProjectV2FieldConfiguration = ProjectV2Field | ProjectV2IterationField | ProjectV2SingleSelectField - -""" -The connection type for ProjectV2FieldConfiguration. +The access level to a repository """ -type ProjectV2FieldConfigurationConnection { +enum RepositoryPermission { """ - A list of edges. + Can read, clone, and push to this repository. Can also manage issues, pull + requests, and repository settings, including adding collaborators """ - edges: [ProjectV2FieldConfigurationEdge] + ADMIN """ - A list of nodes. + Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings """ - nodes: [ProjectV2FieldConfiguration] + MAINTAIN """ - Information to aid in pagination. + Can read and clone this repository. Can also open and comment on issues and pull requests """ - pageInfo: PageInfo! + READ """ - Identifies the total count of items in the connection. + Can read and clone this repository. Can also manage issues and pull requests """ - totalCount: Int! -} + TRIAGE -""" -An edge in a connection. -""" -type ProjectV2FieldConfigurationEdge { """ - A cursor for use in pagination. + Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities """ - cursor: String! + TRIAGE_PLUS """ - The item at the end of the edge. + Can read, clone, and push to this repository. Can also manage issues and pull requests """ - node: ProjectV2FieldConfiguration + WRITE } """ -The connection type for ProjectV2Field. +Information about the availability of features and limits for a repository based on its billing plan. """ -type ProjectV2FieldConnection { +type RepositoryPlanFeatures { """ - A list of edges. + Whether reviews can be automatically requested and enforced with a CODEOWNERS file """ - edges: [ProjectV2FieldEdge] + codeowners: Boolean! """ - A list of nodes. + Whether pull requests can be created as or converted to draft """ - nodes: [ProjectV2Field] + draftPullRequests: Boolean! """ - Information to aid in pagination. + Maximum number of users that can be assigned to an issue or pull request """ - pageInfo: PageInfo! + maximumAssignees: Int! """ - Identifies the total count of items in the connection. + Maximum number of manually-requested reviews on a pull request """ - totalCount: Int! + maximumManualReviewRequests: Int! + + """ + Whether teams can be requested to review pull requests + """ + teamReviewRequests: Boolean! } """ -An edge in a connection. +The privacy of a repository """ -type ProjectV2FieldEdge { +enum RepositoryPrivacy { """ - A cursor for use in pagination. + Private """ - cursor: String! + PRIVATE """ - The item at the end of the edge. + Public """ - node: ProjectV2Field + PUBLIC } """ -Ordering options for project v2 field connections +Parameters to be used for the repository_property condition """ -input ProjectV2FieldOrder { +type RepositoryPropertyConditionTarget { """ - The ordering direction. + Array of repository properties that must not match. """ - direction: OrderDirection! + exclude: [PropertyTargetDefinition!]! """ - The field to order the project v2 fields by. + Array of repository properties that must match """ - field: ProjectV2FieldOrderField! + include: [PropertyTargetDefinition!]! } """ -Properties by which project v2 field connections can be ordered. +Parameters to be used for the repository_property condition """ -enum ProjectV2FieldOrderField { - """ - Order project v2 fields by creation time - """ - CREATED_AT - +input RepositoryPropertyConditionTargetInput { """ - Order project v2 fields by name + Array of repository properties that must not match. """ - NAME + exclude: [PropertyTargetDefinitionInput!]! """ - Order project v2 fields by position + Array of repository properties that must match """ - POSITION + include: [PropertyTargetDefinitionInput!]! } """ -The type of a project field. +A repository rule. """ -enum ProjectV2FieldType { +type RepositoryRule implements Node { """ - Assignees + The Node ID of the RepositoryRule object """ - ASSIGNEES + id: ID! """ - Date + The parameters for this rule. """ - DATE + parameters: RuleParameters """ - Iteration + The repository ruleset associated with this rule configuration """ - ITERATION + repositoryRuleset: RepositoryRuleset """ - Labels + The type of rule. """ - LABELS + type: RepositoryRuleType! +} +""" +Set of conditions that determine if a ruleset will evaluate +""" +type RepositoryRuleConditions { """ - Linked Pull Requests + Configuration for the organization_property condition """ - LINKED_PULL_REQUESTS + organizationProperty: OrganizationPropertyConditionTarget """ - Milestone + Configuration for the ref_name condition """ - MILESTONE + refName: RefNameConditionTarget """ - Number + Configuration for the repository_id condition """ - NUMBER + repositoryId: RepositoryIdConditionTarget """ - Parent issue + Configuration for the repository_name condition """ - PARENT_ISSUE + repositoryName: RepositoryNameConditionTarget """ - Repository + Configuration for the repository_property condition """ - REPOSITORY + repositoryProperty: RepositoryPropertyConditionTarget +} +""" +Specifies the conditions required for a ruleset to evaluate +""" +input RepositoryRuleConditionsInput { """ - Reviewers + Configuration for the organization_property condition """ - REVIEWERS + organizationProperty: OrganizationPropertyConditionTargetInput """ - Single Select + Configuration for the ref_name condition """ - SINGLE_SELECT + refName: RefNameConditionTargetInput """ - Sub-issues progress + Configuration for the repository_id condition """ - SUB_ISSUES_PROGRESS + repositoryId: RepositoryIdConditionTargetInput """ - Text + Configuration for the repository_name condition """ - TEXT + repositoryName: RepositoryNameConditionTargetInput """ - Title + Configuration for the repository_property condition """ - TITLE + repositoryProperty: RepositoryPropertyConditionTargetInput +} + +""" +The connection type for RepositoryRule. +""" +type RepositoryRuleConnection { + """ + A list of edges. + """ + edges: [RepositoryRuleEdge] """ - Tracked by + A list of nodes. """ - TRACKED_BY + nodes: [RepositoryRule] """ - Tracks + Information to aid in pagination. """ - TRACKS + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! } """ -The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. +An edge in a connection. """ -input ProjectV2FieldValue { +type RepositoryRuleEdge { """ - The ISO 8601 date to set on the field. + A cursor for use in pagination. """ - date: Date + cursor: String! """ - The id of the iteration to set on the field. + The item at the end of the edge. """ - iterationId: String + node: RepositoryRule +} +""" +Specifies the attributes for a new or updated rule. +""" +input RepositoryRuleInput { """ - The number to set on the field. + Optional ID of this rule when updating """ - number: Float + id: ID """ - The id of the single select option to set on the field. + The parameters for the rule. """ - singleSelectOptionId: String + parameters: RuleParametersInput """ - The text to set on the field. + The type of rule to create. """ - text: String + type: RepositoryRuleType! } """ -Ways in which to filter lists of projects. +Ordering options for repository rules. """ -input ProjectV2Filters { +input RepositoryRuleOrder { """ - List project v2 filtered by the state given. + The ordering direction. """ - state: ProjectV2State -} + direction: OrderDirection! -""" -An item within a Project. -""" -type ProjectV2Item implements Node { """ - The content of the referenced draft issue, issue, or pull request + The field to order repository rules by. """ - content: ProjectV2ItemContent + field: RepositoryRuleOrderField! +} +""" +Properties by which repository rule connections can be ordered. +""" +enum RepositoryRuleOrderField { """ - Identifies the date and time when the object was created. + Order repository rules by created time """ - createdAt: DateTime! + CREATED_AT """ - The actor who created the item. + Order repository rules by type """ - creator: Actor + TYPE """ - Identifies the primary key from the database. + Order repository rules by updated time """ - 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.") + UPDATED_AT +} +""" +The rule types supported in rulesets +""" +enum RepositoryRuleType { """ - The field value of the first project field which matches the 'name' argument that is set on the item. + Authorization """ - fieldValueByName( - """ - The name of the field to return the field value of - """ - name: String! - ): ProjectV2ItemFieldValue + AUTHORIZATION """ - The field values that are set on the item. + Branch name pattern """ - fieldValues( - """ - 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 project v2 item field values returned from the connection - """ - orderBy: ProjectV2ItemFieldValueOrder = {field: POSITION, direction: ASC} - ): ProjectV2ItemFieldValueConnection! + BRANCH_NAME_PATTERN """ - Identifies the primary key from the database as a BigInt. + Enforce minimum line coverage thresholds on pull requests. This rule evaluates + uploaded coverage data but does not wait for coverage uploads. To ensure + coverage is evaluated before merging, make each status check associated with a + coverage upload a required status check. """ - fullDatabaseId: BigInt + CODE_COVERAGE """ - The Node ID of the ProjectV2Item object + Choose which severity levels of code quality results should block pull request + merges. When configured, a code quality analysis must be done on the pull + request before the changes can be merged. """ - id: ID! + CODE_QUALITY """ - Whether the item is archived. + Choose which tools must provide code scanning results before the reference is + updated. When configured, code scanning must be enabled and have results for + both the commit and the reference being updated. """ - isArchived: Boolean! + CODE_SCANNING """ - The project that contains this item. + Committer email pattern """ - project: ProjectV2! + COMMITTER_EMAIL_PATTERN """ - The type of the item. + Commit author email pattern """ - type: ProjectV2ItemType! + COMMIT_AUTHOR_EMAIL_PATTERN """ - Identifies the date and time when the object was last updated. + Commit message pattern """ - updatedAt: DateTime! -} + COMMIT_MESSAGE_PATTERN -""" -The connection type for ProjectV2Item. -""" -type ProjectV2ItemConnection { """ - A list of edges. + Request Copilot code review for new pull requests automatically if the author + has access to Copilot code review and AI credits. """ - edges: [ProjectV2ItemEdge] + COPILOT_CODE_REVIEW """ - A list of nodes. + Only allow users with bypass permission to create matching refs. """ - nodes: [ProjectV2Item] + CREATION """ - Information to aid in pagination. + Only allow users with bypass permissions to delete matching refs. """ - pageInfo: PageInfo! + DELETION """ - Identifies the total count of items in the connection. + Prevent commits that include files with specified file extensions from being pushed to the commit graph. """ - totalCount: Int! -} - -""" -Types that can be inside Project Items. -""" -union ProjectV2ItemContent = DraftIssue | Issue | PullRequest + FILE_EXTENSION_RESTRICTION -""" -An edge in a connection. -""" -type ProjectV2ItemEdge { """ - A cursor for use in pagination. + Prevent commits that include changes in specified file and folder paths from + being pushed to the commit graph. This includes absolute paths that contain file names. """ - cursor: String! + FILE_PATH_RESTRICTION """ - The item at the end of the edge. + Enforce any added or changed dependencies to comply with the organization's license policy. """ - node: ProjectV2Item -} + LICENSE_COMPLIANCE_SCANNING -""" -The value of a date field in a Project item. -""" -type ProjectV2ItemFieldDateValue implements Node & ProjectV2ItemFieldValueCommon { """ - Identifies the date and time when the object was created. + Branch is read-only. Users cannot push to the branch. """ - createdAt: DateTime! + LOCK_BRANCH """ - The actor who created the item. + Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. """ - creator: Actor + MAX_FILE_PATH_LENGTH """ - Identifies the primary key from the database. + Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. """ - databaseId: Int + MAX_FILE_SIZE """ - Date value for the field + Max ref updates """ - date: Date + MAX_REF_UPDATES """ - The project field that contains this value. + Merges must be performed via a merge queue. """ - field: ProjectV2FieldConfiguration! + MERGE_QUEUE """ - The Node ID of the ProjectV2ItemFieldDateValue object + Merge queue locked ref """ - id: ID! + MERGE_QUEUE_LOCKED_REF """ - The project item that contains this value. + Prevent users with push access from force pushing to refs. """ - item: ProjectV2Item! + NON_FAST_FORWARD """ - Identifies the date and time when the object was last updated. + Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ - updatedAt: DateTime! -} + PULL_REQUEST -""" -The value of an iteration field in a Project item. -""" -type ProjectV2ItemFieldIterationValue implements Node & ProjectV2ItemFieldValueCommon { """ - Identifies the date and time when the object was created. + Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. """ - createdAt: DateTime! + REQUIRED_DEPLOYMENTS """ - The actor who created the item. + Prevent merge commits from being pushed to matching refs. """ - creator: Actor + REQUIRED_LINEAR_HISTORY """ - Identifies the primary key from the database. + When enabled, all conversations on code must be resolved before a pull request + can be merged into a branch that matches this rule. """ - databaseId: Int + REQUIRED_REVIEW_THREAD_RESOLUTION """ - The duration of the iteration in days. + Commits pushed to matching refs must have verified signatures. """ - duration: Int! + REQUIRED_SIGNATURES """ - The project field that contains this value. + 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. """ - field: ProjectV2FieldConfiguration! + REQUIRED_STATUS_CHECKS """ - The Node ID of the ProjectV2ItemFieldIterationValue object + Require all commits be made to a non-target branch and submitted via a pull + request and required workflow checks to pass before they can be merged. """ - id: ID! + REQUIRED_WORKFLOW_STATUS_CHECKS """ - The project item that contains this value. + Secret scanning """ - item: ProjectV2Item! + SECRET_SCANNING """ - The ID of the iteration. + Tag """ - iterationId: String! + TAG """ - The start date of the iteration. + Tag name pattern """ - startDate: Date! + TAG_NAME_PATTERN """ - The title of the iteration. + Only allow users with bypass permission to update matching refs. """ - title: String! + UPDATE """ - The title of the iteration, with HTML. + Require all changes made to a targeted branch to pass the specified workflows before they can be merged. """ - titleHTML: String! + WORKFLOWS """ - Identifies the date and time when the object was last updated. + Workflow files cannot be modified. """ - updatedAt: DateTime! + WORKFLOW_UPDATES } """ -The value of the labels field in a Project item. +A repository ruleset. """ -type ProjectV2ItemFieldLabelValue { - """ - The field that contains this value. - """ - field: ProjectV2FieldConfiguration! - +type RepositoryRuleset implements Node { """ - Labels value of a field + The actors that can bypass this ruleset """ - labels( + bypassActors( """ Returns the elements in the list that come after the specified cursor. """ @@ -34856,82 +54443,42 @@ type ProjectV2ItemFieldLabelValue { Returns the last _n_ elements from the list. """ last: Int - ): LabelConnection -} - -""" -The value of a milestone field in a Project item. -""" -type ProjectV2ItemFieldMilestoneValue { - """ - The field that contains this value. - """ - field: ProjectV2FieldConfiguration! + ): RepositoryRulesetBypassActorConnection """ - Milestone value of a field + The set of conditions that must evaluate to true for this ruleset to apply """ - milestone: Milestone -} + conditions: RepositoryRuleConditions! -""" -The value of a number field in a Project item. -""" -type ProjectV2ItemFieldNumberValue implements Node & ProjectV2ItemFieldValueCommon { """ Identifies the date and time when the object was created. """ createdAt: DateTime! - """ - The actor who created the item. - """ - creator: Actor - """ Identifies the primary key from the database. """ databaseId: Int """ - The project field that contains this value. + The enforcement level of this ruleset """ - field: ProjectV2FieldConfiguration! + enforcement: RuleEnforcement! """ - The Node ID of the ProjectV2ItemFieldNumberValue object + The Node ID of the RepositoryRuleset object """ id: ID! """ - The project item that contains this value. - """ - item: ProjectV2Item! - - """ - Number as a float(8) - """ - number: Float - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! -} - -""" -The value of a pull request field in a Project item. -""" -type ProjectV2ItemFieldPullRequestValue { - """ - The field that contains this value. + Name of the ruleset. """ - field: ProjectV2FieldConfiguration! + name: String! """ - The pull requests for this field + List of rules. """ - pullRequests( + rules( """ Returns the elements in the list that come after the specified cursor. """ @@ -34953,270 +54500,312 @@ type ProjectV2ItemFieldPullRequestValue { last: Int """ - Ordering options for pull requests. + The type of rule. """ - orderBy: PullRequestOrder = {field: CREATED_AT, direction: ASC} - ): PullRequestConnection -} + type: RepositoryRuleType + ): RepositoryRuleConnection -""" -The value of a repository field in a Project item. -""" -type ProjectV2ItemFieldRepositoryValue { """ - The field that contains this value. + Source of ruleset. """ - field: ProjectV2FieldConfiguration! + source: RuleSource! """ - The repository for this field. + Target of the ruleset. """ - repository: Repository + target: RepositoryRulesetTarget + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! } """ -The value of a reviewers field in a Project item. +A team, app or user that has the ability to bypass rules defined on a ruleset """ -type ProjectV2ItemFieldReviewerValue { +type RepositoryRulesetBypassActor implements Node { """ - The field that contains this value. + The actor that can bypass rules. """ - field: ProjectV2FieldConfiguration! + actor: BypassActor """ - The reviewers for this field. + The mode for the bypass actor """ - reviewers( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + bypassMode: RepositoryRulesetBypassActorBypassMode - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + This actor represents the ability for a deploy key to bypass + """ + deployKey: Boolean! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + This actor represents the ability for an enterprise owner to bypass + """ + enterpriseOwner: Boolean! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RequestedReviewerConnection -} + """ + This actor represents the ability for an enterprise role to bypass + """ + enterpriseRole: Boolean! -""" -The value of a single select field in a Project item. -""" -type ProjectV2ItemFieldSingleSelectValue implements Node & ProjectV2ItemFieldValueCommon { """ - The color applied to the selected single-select option. + If the actor is an enterprise role, the enterprise role's ID that can bypass """ - color: ProjectV2SingleSelectFieldOptionColor! + enterpriseRoleDatabaseId: BigInt """ - Identifies the date and time when the object was created. + The Node ID of the RepositoryRulesetBypassActor object """ - createdAt: DateTime! + id: ID! """ - The actor who created the item. + This actor represents the ability for an organization owner to bypass """ - creator: Actor + organizationAdmin: Boolean! """ - Identifies the primary key from the database. + If the actor is a repository role, the repository role's ID that can bypass """ - databaseId: Int + repositoryRoleDatabaseId: Int """ - A plain-text description of the selected single-select option, such as what the option means. + If the actor is a repository role, the repository role's name that can bypass """ - description: String + repositoryRoleName: String """ - The description of the selected single-select option, including HTML tags. + Identifies the ruleset associated with the allowed actor """ - descriptionHTML: String + repositoryRuleset: RepositoryRuleset +} +""" +The bypass mode for a specific actor on a ruleset. +""" +enum RepositoryRulesetBypassActorBypassMode { """ - The project field that contains this value. + The actor can always bypass rules """ - field: ProjectV2FieldConfiguration! + ALWAYS """ - The Node ID of the ProjectV2ItemFieldSingleSelectValue object + The actor is exempt from rules without generating a pass / fail result """ - id: ID! + EXEMPT """ - The project item that contains this value. + The actor can only bypass rules via a pull request """ - item: ProjectV2Item! + PULL_REQUEST +} +""" +The connection type for RepositoryRulesetBypassActor. +""" +type RepositoryRulesetBypassActorConnection { """ - The name of the selected single select option. + A list of edges. """ - name: String + edges: [RepositoryRulesetBypassActorEdge] """ - The html name of the selected single select option. + A list of nodes. """ - nameHTML: String + nodes: [RepositoryRulesetBypassActor] """ - The id of the selected single select option. + Information to aid in pagination. """ - optionId: String + pageInfo: PageInfo! """ - Identifies the date and time when the object was last updated. + Identifies the total count of items in the connection. """ - updatedAt: DateTime! + totalCount: Int! } """ -The value of a text field in a Project item. +An edge in a connection. """ -type ProjectV2ItemFieldTextValue implements Node & ProjectV2ItemFieldValueCommon { +type RepositoryRulesetBypassActorEdge { """ - Identifies the date and time when the object was created. + A cursor for use in pagination. """ - createdAt: DateTime! + cursor: String! """ - The actor who created the item. + The item at the end of the edge. """ - creator: Actor + node: RepositoryRulesetBypassActor +} +""" +Specifies the attributes for a new or updated ruleset bypass actor. Exactly one +of `actor_id`, `repository_role_database_id`, `organization_admin`, +`enterprise_owner`, `enterprise_role_database_id`, or `deploy_key` should be specified. +""" +input RepositoryRulesetBypassActorInput { """ - Identifies the primary key from the database. + For Team, Integration and User bypasses, the Team, Integration, or User ID """ - databaseId: Int + actorId: ID """ - The project field that contains this value. + The bypass mode for this actor. """ - field: ProjectV2FieldConfiguration! + bypassMode: RepositoryRulesetBypassActorBypassMode! """ - The Node ID of the ProjectV2ItemFieldTextValue object + For deploy key bypasses, true. Can only use ALWAYS as the bypass mode """ - id: ID! + deployKey: Boolean """ - The project item that contains this value. + For enterprise owner bypasses, true """ - item: ProjectV2Item! + enterpriseOwner: Boolean """ - Text value of a field + For enterprise role bypasses, true. NOTE: This bypass actor is in beta. """ - text: String + enterpriseRole: Boolean @deprecated(reason: "Use enterpriseRoleDatabaseId.") """ - Identifies the date and time when the object was last updated. + For enterprise role bypasses, the enterprise role database ID. NOTE: This bypass actor is in beta. """ - updatedAt: DateTime! + enterpriseRoleDatabaseId: BigInt + + """ + For organization owner bypasses, true + """ + organizationAdmin: Boolean + + """ + For role bypasses, the role database ID + """ + repositoryRoleDatabaseId: Int } """ -The value of a user field in a Project item. +The connection type for RepositoryRuleset. """ -type ProjectV2ItemFieldUserValue { +type RepositoryRulesetConnection { """ - The field that contains this value. + A list of edges. """ - field: ProjectV2FieldConfiguration! + edges: [RepositoryRulesetEdge] """ - The users for this field + A list of nodes. """ - users( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + nodes: [RepositoryRuleset] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserConnection +""" +An edge in a connection. +""" +type RepositoryRulesetEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: RepositoryRuleset } """ -Project field values +The targets supported for rulesets. """ -union ProjectV2ItemFieldValue = ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldPullRequestValue | ProjectV2ItemFieldRepositoryValue | ProjectV2ItemFieldReviewerValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemFieldUserValue +enum RepositoryRulesetTarget { + """ + Branch + """ + BRANCH + + """ + Push + """ + PUSH -""" -Common fields across different project field value types -""" -interface ProjectV2ItemFieldValueCommon { """ - Identifies the date and time when the object was created. + repository """ - createdAt: DateTime! + REPOSITORY """ - The actor who created the item. + Tag """ - creator: Actor + TAG +} +""" +The possible filters for suggested actors in a repository +""" +enum RepositorySuggestedActorFilter { """ - Identifies the primary key from the database. + Actors that can be assigned to issues and pull requests """ - databaseId: Int + CAN_BE_ASSIGNED """ - The project field that contains this value. + Actors that can be the author of issues and pull requests """ - field: ProjectV2FieldConfiguration! + CAN_BE_AUTHOR +} +""" +A repository-topic connects a repository to a topic. +""" +type RepositoryTopic implements Node & UniformResourceLocatable { """ - The Node ID of the ProjectV2ItemFieldValueCommon object + The Node ID of the RepositoryTopic object """ id: ID! """ - The project item that contains this value. + The HTTP path for this repository-topic. """ - item: ProjectV2Item! + resourcePath: URI! """ - Identifies the date and time when the object was last updated. + The topic. """ - updatedAt: DateTime! + topic: Topic! + + """ + The HTTP URL for this repository-topic. + """ + url: URI! } """ -The connection type for ProjectV2ItemFieldValue. +The connection type for RepositoryTopic. """ -type ProjectV2ItemFieldValueConnection { +type RepositoryTopicConnection { """ A list of edges. """ - edges: [ProjectV2ItemFieldValueEdge] + edges: [RepositoryTopicEdge] """ A list of nodes. """ - nodes: [ProjectV2ItemFieldValue] + nodes: [RepositoryTopic] """ Information to aid in pagination. @@ -35232,7 +54821,7 @@ type ProjectV2ItemFieldValueConnection { """ An edge in a connection. """ -type ProjectV2ItemFieldValueEdge { +type RepositoryTopicEdge { """ A cursor for use in pagination. """ @@ -35241,767 +54830,667 @@ type ProjectV2ItemFieldValueEdge { """ The item at the end of the edge. """ - node: ProjectV2ItemFieldValue + node: RepositoryTopic } """ -Ordering options for project v2 item field value connections +The repository's visibility level. """ -input ProjectV2ItemFieldValueOrder { +enum RepositoryVisibility { """ - The ordering direction. + The repository is visible only to users in the same enterprise. """ - direction: OrderDirection! + INTERNAL """ - The field to order the project v2 item field values by. + The repository is visible only to those with explicit access. """ - field: ProjectV2ItemFieldValueOrderField! -} + PRIVATE -""" -Properties by which project v2 item field value connections can be ordered. -""" -enum ProjectV2ItemFieldValueOrderField { """ - Order project v2 item field values by the their position in the project + The repository is visible to everyone. """ - POSITION + PUBLIC } """ -Ordering options for project v2 item connections +Audit log entry for a repository_visibility_change.disable event. """ -input ProjectV2ItemOrder { - """ - The ordering direction. - """ - direction: OrderDirection! - +type RepositoryVisibilityChangeDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - The field to order the project v2 items by. + The action name """ - field: ProjectV2ItemOrderField! -} + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Properties by which project v2 item connections can be ordered. -""" -enum ProjectV2ItemOrderField { """ - Order project v2 items by the their position in the project + The user who initiated the action """ - POSITION -} + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -The type of a project item. -""" -enum ProjectV2ItemType { """ - Draft Issue + The IP address of the actor """ - DRAFT_ISSUE + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Issue + A readable representation of the actor's location """ - ISSUE + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Pull Request + The username of the user who initiated the action """ - PULL_REQUEST + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Redacted Item + The HTTP path for the actor. """ - REDACTED -} + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Represents an iteration -""" -input ProjectV2Iteration { """ - The duration of the iteration, in days. + The HTTP URL for the actor. """ - duration: Int! + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The start date for the iteration. + The time the action was initiated """ - startDate: Date! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The title for the iteration. + The HTTP path for this enterprise. """ - title: String! -} + enterpriseResourcePath: URI -""" -An iteration field inside a project. -""" -type ProjectV2IterationField implements Node & ProjectV2FieldCommon { """ - Iteration configuration settings + The slug of the enterprise. """ - configuration: ProjectV2IterationFieldConfiguration! + enterpriseSlug: String """ - Identifies the date and time when the object was created. + The HTTP URL for this enterprise. """ - createdAt: DateTime! + enterpriseUrl: URI """ - The field's type. + The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object """ - dataType: ProjectV2FieldType! + id: ID! """ - Identifies the primary key from the database. + The corresponding operation type for the action """ - databaseId: Int + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the ProjectV2IterationField object + The Organization associated with the Audit Entry. """ - id: ID! + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The project field's name. + The name of the Organization. """ - name: String! + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The project that contains this field. + The HTTP path for the organization """ - project: ProjectV2! + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Identifies the date and time when the object was last updated. + The HTTP URL for the organization """ - updatedAt: DateTime! -} + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Iteration field configuration for a project. -""" -type ProjectV2IterationFieldConfiguration { """ - The iteration's completed iterations + The user affected by the action """ - completedIterations: [ProjectV2IterationFieldIteration!]! + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's duration in days + For actions involving two users, the actor is the initiator and the user is the affected user. """ - duration: Int! + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's iterations + The HTTP path for the user. """ - iterations: [ProjectV2IterationFieldIteration!]! + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's start day of the week + The HTTP URL for the user. """ - startDay: Int! + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Represents an iteration field configuration. +Audit log entry for a repository_visibility_change.enable event. """ -input ProjectV2IterationFieldConfigurationInput { +type RepositoryVisibilityChangeEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - The duration of each iteration, in days. + The action name """ - duration: Int! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Zero or more iterations for the field. + The user who initiated the action """ - iterations: [ProjectV2Iteration!]! + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The start date for the first iteration. + The IP address of the actor """ - startDate: Date! -} + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Iteration field iteration settings for a project. -""" -type ProjectV2IterationFieldIteration { """ - The iteration's duration in days + A readable representation of the actor's location """ - duration: Int! + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's ID. + The username of the user who initiated the action """ - id: String! + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's start date + The HTTP path for the actor. """ - startDate: Date! + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's title. + The HTTP URL for the actor. """ - title: String! + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The iteration's html title. + The time the action was initiated """ - titleHTML: String! -} + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Ways in which lists of projects can be ordered upon return. -""" -input ProjectV2Order { """ - The direction in which to order projects by the specified field. + The HTTP path for this enterprise. """ - direction: OrderDirection! + enterpriseResourcePath: URI """ - The field in which to order projects by. + The slug of the enterprise. """ - field: ProjectV2OrderField! -} + enterpriseSlug: String -""" -Properties by which projects can be ordered. -""" -enum ProjectV2OrderField { """ - The project's date and time of creation + The HTTP URL for this enterprise. """ - CREATED_AT + enterpriseUrl: URI """ - The project's number + The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object """ - NUMBER + id: ID! """ - The project's title + The corresponding operation type for the action """ - TITLE + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The project's date and time of update + The Organization associated with the Audit Entry. """ - UPDATED_AT -} + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Represents an owner of a project. -""" -interface ProjectV2Owner { """ - The Node ID of the ProjectV2Owner object + The name of the Organization. """ - id: ID! + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - Find a project by number. + The HTTP path for the organization """ - projectV2( - """ - The project number. - """ - number: Int! - ): ProjectV2 + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A list of projects under the owner. + The HTTP URL for the organization """ - projectsV2( - """ - 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 + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The user affected by the action + """ + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - Filter projects based on user role. - """ - minPermissionLevel: ProjectV2PermissionLevel = READ + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - How to order the returned projects. - """ - orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + """ + The HTTP path for the user. + """ + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") - """ - A project to search for under the owner. - """ - query: String - ): ProjectV2Connection! + """ + The HTTP URL for the user. + """ + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -The possible roles of a collaborator on a project. +A Dependabot alert for a repository with a dependency affected by a security vulnerability. """ -enum ProjectV2PermissionLevel { +type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ - The collaborator can view, edit, and maange the settings of the project + When was the alert auto-dismissed? """ - ADMIN + autoDismissedAt: DateTime """ - The collaborator can view the project + When was the alert created? """ - READ + createdAt: DateTime! """ - The collaborator can view and edit the project + The associated Dependabot update """ - WRITE -} + dependabotUpdate: DependabotUpdate -""" -Recent projects for the owner. -""" -interface ProjectV2Recent { """ - Recent projects that this user has modified in the context of the owner. + The relationship of an alert's dependency. """ - recentProjects( - """ - 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 + dependencyRelationship: RepositoryVulnerabilityAlertDependencyRelationship - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectV2Connection! -} + """ + The scope of an alert's dependency + """ + dependencyScope: RepositoryVulnerabilityAlertDependencyScope -""" -The possible roles of a collaborator on a project. -""" -enum ProjectV2Roles { """ - The collaborator can view, edit, and maange the settings of the project + Comment explaining the reason the alert was dismissed """ - ADMIN + dismissComment: String """ - The collaborator has no direct access to the project + The reason the alert was dismissed """ - NONE + dismissReason: String """ - The collaborator can view the project + When was the alert dismissed? """ - READER + dismissedAt: DateTime """ - The collaborator can view and edit the project + The user who dismissed the alert """ - WRITER -} + dismisser: User -""" -A single select field inside a project. -""" -type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon { """ - Identifies the date and time when the object was created. + When was the alert fixed? """ - createdAt: DateTime! + fixedAt: DateTime """ - The field's type. + The Node ID of the RepositoryVulnerabilityAlert object """ - dataType: ProjectV2FieldType! + id: ID! """ - Identifies the primary key from the database. + Identifies the alert number. """ - databaseId: Int + number: Int! """ - The Node ID of the ProjectV2SingleSelectField object + The associated repository """ - id: ID! + repository: Repository! """ - The project field's name. + The associated security advisory """ - name: String! + securityAdvisory: SecurityAdvisory """ - Options for the single select field + The associated security vulnerability """ - options( - """ - Filter returned options to only those matching these names, case insensitive. - """ - names: [String!] - ): [ProjectV2SingleSelectFieldOption!]! + securityVulnerability: SecurityVulnerability """ - The project that contains this field. + Identifies the state of the alert. """ - project: ProjectV2! + state: RepositoryVulnerabilityAlertState! """ - Identifies the date and time when the object was last updated. + The vulnerable manifest filename """ - updatedAt: DateTime! -} + vulnerableManifestFilename: String! -""" -Single select field option for a configuration for a project. -""" -type ProjectV2SingleSelectFieldOption { """ - The option's display color. + The vulnerable manifest path """ - color: ProjectV2SingleSelectFieldOptionColor! + vulnerableManifestPath: String! """ - The option's plain-text description. + The vulnerable requirements """ - description: String! + vulnerableRequirements: String +} +""" +The connection type for RepositoryVulnerabilityAlert. +""" +type RepositoryVulnerabilityAlertConnection { """ - The option's description, possibly containing HTML. + A list of edges. """ - descriptionHTML: String! + edges: [RepositoryVulnerabilityAlertEdge] """ - The option's ID. + A list of nodes. """ - id: String! + nodes: [RepositoryVulnerabilityAlert] """ - The option's name. + Information to aid in pagination. """ - name: String! + pageInfo: PageInfo! """ - The option's html name. + Identifies the total count of items in the connection. """ - nameHTML: String! + totalCount: Int! } """ -The display color of a single-select field option. +The possible relationships of an alert's dependency. """ -enum ProjectV2SingleSelectFieldOptionColor { +enum RepositoryVulnerabilityAlertDependencyRelationship { """ - BLUE + A direct dependency of your project """ - BLUE + DIRECT """ - GRAY + The relationship could not be determined """ - GRAY + INCONCLUSIVE """ - GREEN + A transitive dependency of your project """ - GREEN + TRANSITIVE """ - ORANGE + The relationship is unknown """ - ORANGE + UNKNOWN +} +""" +The possible scopes of an alert's dependency. +""" +enum RepositoryVulnerabilityAlertDependencyScope { """ - PINK + A dependency that is only used in development """ - PINK + DEVELOPMENT """ - PURPLE + A dependency that is leveraged during application runtime """ - PURPLE + RUNTIME +} +""" +An edge in a connection. +""" +type RepositoryVulnerabilityAlertEdge { """ - RED + A cursor for use in pagination. """ - RED + cursor: String! """ - YELLOW + The item at the end of the edge. """ - YELLOW + node: RepositoryVulnerabilityAlert } """ -Represents a single select field option +The possible states of an alert """ -input ProjectV2SingleSelectFieldOptionInput { +enum RepositoryVulnerabilityAlertState { """ - The display color of the option + An alert that has been automatically closed by Dependabot. """ - color: ProjectV2SingleSelectFieldOptionColor! + AUTO_DISMISSED """ - The description text of the option + An alert that has been manually closed by a user. """ - description: String! + DISMISSED """ - The name of the option + An alert that has been resolved by a code change. """ - name: String! -} + FIXED -""" -Represents a sort by field and direction. -""" -type ProjectV2SortBy { """ - The direction of the sorting. Possible values are ASC and DESC. + An alert that is still open. """ - direction: OrderDirection! + OPEN +} +""" +Autogenerated input type of ReprioritizeSubIssue +""" +input ReprioritizeSubIssueInput { """ - The field by which items are sorted. + The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). """ - field: ProjectV2Field! -} + afterId: ID -""" -The connection type for ProjectV2SortBy. -""" -type ProjectV2SortByConnection { """ - A list of edges. + The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). """ - edges: [ProjectV2SortByEdge] + beforeId: ID """ - A list of nodes. + A unique identifier for the client performing the mutation. """ - nodes: [ProjectV2SortBy] + clientMutationId: String """ - Information to aid in pagination. + The id of the parent issue. """ - pageInfo: PageInfo! + issueId: ID! """ - Identifies the total count of items in the connection. + The id of the sub-issue to reprioritize. """ - totalCount: Int! + subIssueId: ID! } """ -An edge in a connection. +Autogenerated return type of ReprioritizeSubIssue. """ -type ProjectV2SortByEdge { +type ReprioritizeSubIssuePayload { """ - A cursor for use in pagination. + A unique identifier for the client performing the mutation. """ - cursor: String! + clientMutationId: String """ - The item at the end of the edge. + The parent issue that the sub-issue was reprioritized in. """ - node: ProjectV2SortBy + issue: Issue } """ -Represents a sort by field and direction. +Autogenerated input type of RequestReviewsByLogin """ -type ProjectV2SortByField { +input RequestReviewsByLoginInput { """ - The direction of the sorting. Possible values are ASC and DESC. + The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]'). """ - direction: OrderDirection! + botLogins: [String!] """ - The field by which items are sorted. + A unique identifier for the client performing the mutation. """ - field: ProjectV2FieldConfiguration! -} + clientMutationId: String -""" -The connection type for ProjectV2SortByField. -""" -type ProjectV2SortByFieldConnection { """ - A list of edges. + The Node ID of the pull request to modify. """ - edges: [ProjectV2SortByFieldEdge] + pullRequestId: ID! """ - A list of nodes. + The slugs of the teams to request reviews from (format: 'org/team-slug'). """ - nodes: [ProjectV2SortByField] + teamSlugs: [String!] """ - Information to aid in pagination. + Add users to the set rather than replace. """ - pageInfo: PageInfo! + union: Boolean = false """ - Identifies the total count of items in the connection. + The login strings of the users to request reviews from. """ - totalCount: Int! + userLogins: [String!] } """ -An edge in a connection. +Autogenerated return type of RequestReviewsByLogin. """ -type ProjectV2SortByFieldEdge { +type RequestReviewsByLoginPayload { """ - A cursor for use in pagination. + Identifies the actor who performed the event. """ - cursor: String! + actor: Actor """ - The item at the end of the edge. + A unique identifier for the client performing the mutation. """ - node: ProjectV2SortByField -} + clientMutationId: String -""" -The possible states of a project v2. -""" -enum ProjectV2State { """ - A project v2 that has been closed + The pull request that is getting requests. """ - CLOSED + pullRequest: PullRequest """ - A project v2 that is still open + The edge from the pull request to the requested reviewers. """ - OPEN + requestedReviewersEdge: UserEdge } """ -Ways in which project v2 status updates can be ordered. +Autogenerated input type of RequestReviews """ -input ProjectV2StatusOrder { +input RequestReviewsInput { """ - The direction in which to order nodes. + The Node IDs of the bot to request. """ - direction: OrderDirection! + botIds: [ID!] """ - The field by which to order nodes. + A unique identifier for the client performing the mutation. """ - field: ProjectV2StatusUpdateOrderField! -} + clientMutationId: String -""" -A status update within a project. -""" -type ProjectV2StatusUpdate implements Node { """ - The body of the status update. + The Node ID of the pull request to modify. """ - body: String + pullRequestId: ID! """ - The body of the status update rendered to HTML. + The Node IDs of the team to request. """ - bodyHTML: HTML + teamIds: [ID!] """ - Identifies the date and time when the object was created. + Add users to the set rather than replace. """ - createdAt: DateTime! + union: Boolean = false """ - The actor who created the status update. + The Node IDs of the user to request. """ - creator: Actor + userIds: [ID!] +} +""" +Autogenerated return type of RequestReviews. +""" +type RequestReviewsPayload { """ - Identifies the primary key from the database. + Identifies the actor who performed the event. """ - 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.") + actor: Actor """ - Identifies the primary key from the database as a BigInt. + A unique identifier for the client performing the mutation. """ - fullDatabaseId: BigInt + clientMutationId: String """ - The Node ID of the ProjectV2StatusUpdate object + The pull request that is getting requests. """ - id: ID! + pullRequest: PullRequest """ - The project that contains this status update. + The edge from the pull request to the requested reviewers. """ - project: ProjectV2! + requestedReviewersEdge: UserEdge +} +""" +The possible states that can be requested when creating a check run. +""" +enum RequestableCheckStatusState { """ - The start date of the status update. + The check suite or run has been completed. """ - startDate: Date + COMPLETED """ - The status of the status update. + The check suite or run is in progress. """ - status: ProjectV2StatusUpdateStatus + IN_PROGRESS """ - The target date of the status update. + The check suite or run is in pending state. """ - targetDate: Date + PENDING """ - Identifies the date and time when the object was last updated. + The check suite or run has been queued. """ - updatedAt: DateTime! + QUEUED + + """ + The check suite or run is in waiting state. + """ + WAITING } """ -The connection type for ProjectV2StatusUpdate. +Types that can be requested reviewers. """ -type ProjectV2StatusUpdateConnection { +union RequestedReviewer = Bot | EnterpriseTeam | Mannequin | Team | User + +""" +The connection type for RequestedReviewer. +""" +type RequestedReviewerConnection { """ A list of edges. """ - edges: [ProjectV2StatusUpdateEdge] + edges: [RequestedReviewerEdge] """ A list of nodes. """ - nodes: [ProjectV2StatusUpdate] + nodes: [RequestedReviewer] """ Information to aid in pagination. @@ -36017,7 +55506,7 @@ type ProjectV2StatusUpdateConnection { """ An edge in a connection. """ -type ProjectV2StatusUpdateEdge { +type RequestedReviewerEdge { """ A cursor for use in pagination. """ @@ -36026,492 +55515,446 @@ type ProjectV2StatusUpdateEdge { """ The item at the end of the edge. """ - node: ProjectV2StatusUpdate + node: RequestedReviewer } """ -Properties by which project v2 status updates can be ordered. +Represents a type that can be required by a pull request for merging. """ -enum ProjectV2StatusUpdateOrderField { +interface RequirableByPullRequest { """ - Allows chronological ordering of project v2 status updates. + Whether this is required to pass before merging for a specific pull request. """ - CREATED_AT + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID + + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! } """ -The possible statuses of a project v2. +Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. """ -enum ProjectV2StatusUpdateStatus { +type RequiredDeploymentsParameters { """ - A project v2 that is at risk and encountering some challenges. + The environments that must be successfully deployed to before branches can be merged. """ - AT_RISK + requiredDeploymentEnvironments: [String!]! +} +""" +Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. +""" +input RequiredDeploymentsParametersInput { """ - A project v2 that is complete. + The environments that must be successfully deployed to before branches can be merged. """ - COMPLETE + requiredDeploymentEnvironments: [String!]! +} +""" +A reviewing team, and file patterns describing which files they must approve changes to. +""" +type RequiredReviewerConfiguration { """ - A project v2 that is inactive. + Array of file patterns. Pull requests which change matching files must be + approved by the specified team. File patterns use fnmatch syntax. """ - INACTIVE + filePatterns: [String!]! """ - A project v2 that is off track and needs attention. + Minimum number of approvals required from the specified team. If set to zero, + the team will be added to the pull request but approval is optional. """ - OFF_TRACK + minimumApprovals: Int! """ - A project v2 that is on track with no risks. + Node ID of the team which must review changes to matching files. """ - ON_TRACK + reviewerId: ID! } """ -A view within a ProjectV2. +A reviewing team, and file patterns describing which files they must approve changes to. """ -type ProjectV2View implements Node { +input RequiredReviewerConfigurationInput { """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - + Array of file patterns. Pull requests which change matching files must be + approved by the specified team. File patterns use fnmatch syntax. """ - Identifies the primary key from the database. - """ - 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.") + filePatterns: [String!]! """ - The view's visible fields. + Minimum number of approvals required from the specified team. If set to zero, + the team will be added to the pull request but approval is optional. """ - fields( - """ - 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 the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConfigurationConnection + minimumApprovals: Int! """ - The project view's filter. + Node ID of the team which must review changes to matching files. """ - filter: String + reviewerId: ID! +} +""" +Represents a required status check for a protected branch, but not any specific run of that check. +""" +type RequiredStatusCheckDescription { """ - Identifies the primary key from the database as a BigInt. + The App that must provide this status in order for it to be accepted. """ - fullDatabaseId: BigInt + app: App """ - The view's group-by field. + The name of this status. """ - groupBy( - """ - 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 the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#order_by` API is deprecated in favour of the more capable `ProjectV2View#group_by_field` API. Check out the `ProjectV2View#group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + context: String! +} +""" +Specifies the attributes for a new or updated required status check. +""" +input RequiredStatusCheckInput { """ - The view's group-by field. + The ID of the App that must set the status in order for it to be accepted. + Omit this value to use whichever app has recently been setting this status, or + use "any" to allow any app to set the status. """ - groupByFields( - """ - 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 the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConfigurationConnection + appId: ID """ - The Node ID of the ProjectV2View object + Status check context that must pass for commits to be accepted to the matching branch. """ - id: ID! + context: String! +} +""" +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 { """ - The project view's layout. + Allow repositories and branches to be created if a check would otherwise prohibit it. """ - layout: ProjectV2ViewLayout! + doNotEnforceOnCreate: Boolean! """ - The project view's name. + Status checks that are required. """ - name: String! + requiredStatusChecks: [StatusCheckConfiguration!]! """ - The project view's number. + Whether pull requests targeting a matching branch must be tested with the + latest code. This setting will not take effect unless at least one status + check is enabled. """ - number: Int! + strictRequiredStatusChecksPolicy: Boolean! +} +""" +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 { """ - The project that contains this view. + Allow repositories and branches to be created if a check would otherwise prohibit it. """ - project: ProjectV2! + doNotEnforceOnCreate: Boolean """ - The view's sort-by config. + Status checks that are required. """ - sortBy( - """ - 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 - ): ProjectV2SortByConnection @deprecated(reason: "The `ProjectV2View#sort_by` API is deprecated in favour of the more capable `ProjectV2View#sort_by_fields` API. Check out the `ProjectV2View#sort_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + requiredStatusChecks: [StatusCheckConfigurationInput!]! """ - The view's sort-by config. + Whether pull requests targeting a matching branch must be tested with the + latest code. This setting will not take effect unless at least one status + check is enabled. """ - sortByFields( - """ - 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 - ): ProjectV2SortByFieldConnection + strictRequiredStatusChecksPolicy: Boolean! +} +""" +Autogenerated input type of RerequestCheckSuite +""" +input RerequestCheckSuiteInput { """ - Identifies the date and time when the object was last updated. + The Node ID of the check suite. """ - updatedAt: DateTime! + checkSuiteId: ID! """ - The view's vertical-group-by field. + A unique identifier for the client performing the mutation. """ - verticalGroupBy( - """ - 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 the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#vertical_group_by` API is deprecated in favour of the more capable `ProjectV2View#vertical_group_by_fields` API. Check out the `ProjectV2View#vertical_group_by_fields` API as an example for the more capable alternative. Removal on 2023-04-01 UTC.") + clientMutationId: String """ - The view's vertical-group-by field. + The Node ID of the repository. """ - verticalGroupByFields( - """ - 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 the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConfigurationConnection + repositoryId: ID! +} +""" +Autogenerated return type of RerequestCheckSuite. +""" +type RerequestCheckSuitePayload { """ - The view's visible fields. + The requested check suite. """ - visibleFields( - """ - 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 + checkSuite: CheckSuite - """ - Ordering options for the project v2 fields returned from the connection. - """ - orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} - ): ProjectV2FieldConnection @deprecated(reason: "The `ProjectV2View#visibleFields` API is deprecated in favour of the more capable `ProjectV2View#fields` API. Check out the `ProjectV2View#fields` API as an example for the more capable alternative. Removal on 2023-01-01 UTC.") + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String } """ -The connection type for ProjectV2View. +Autogenerated input type of RerequestReviews """ -type ProjectV2ViewConnection { +input RerequestReviewsInput { """ - A list of edges. + The Node IDs of the bots to rerequest. """ - edges: [ProjectV2ViewEdge] + botIds: [ID!] """ - A list of nodes. + A unique identifier for the client performing the mutation. """ - nodes: [ProjectV2View] + clientMutationId: String """ - Information to aid in pagination. + The Node ID of the pull request to modify. """ - pageInfo: PageInfo! + pullRequestId: ID! """ - Identifies the total count of items in the connection. + The Node IDs of the teams to rerequest. """ - totalCount: Int! + teamIds: [ID!] + + """ + The Node IDs of the users to rerequest. + """ + userIds: [ID!] } """ -An edge in a connection. +Autogenerated return type of RerequestReviews. """ -type ProjectV2ViewEdge { +type RerequestReviewsPayload { """ - A cursor for use in pagination. + Identifies the actor who performed the event. """ - cursor: String! + actor: Actor """ - The item at the end of the edge. + A unique identifier for the client performing the mutation. """ - node: ProjectV2View + clientMutationId: String + + """ + The pull request that is getting requests. + """ + pullRequest: PullRequest + + """ + The edge from the pull request to the requested reviewers. + """ + requestedReviewersEdge: UserEdge } """ -The layout of a project v2 view. +Autogenerated input type of ResolveReviewThread """ -enum ProjectV2ViewLayout { +input ResolveReviewThreadInput { """ - Board layout + A unique identifier for the client performing the mutation. """ - BOARD_LAYOUT + clientMutationId: String """ - Roadmap layout + The reason a Copilot code review thread was resolved. """ - ROADMAP_LAYOUT + resolutionReason: PullRequestReviewThreadResolutionReason """ - Table layout + The ID of the thread to resolve """ - TABLE_LAYOUT + threadId: ID! } """ -Ordering options for project v2 view connections +Autogenerated return type of ResolveReviewThread. """ -input ProjectV2ViewOrder { +type ResolveReviewThreadPayload { """ - The ordering direction. + A unique identifier for the client performing the mutation. """ - direction: OrderDirection! + clientMutationId: String """ - The field to order the project v2 views by. + The thread to resolve. """ - field: ProjectV2ViewOrderField! + thread: PullRequestReviewThread } """ -Properties by which project v2 view connections can be ordered. +Represents a private contribution a user made on GitHub. """ -enum ProjectV2ViewOrderField { +type RestrictedContribution implements Contribution { """ - Order project v2 views by creation time + Whether this contribution is associated with a record you do not have access to. For + example, your own 'first issue' contribution may have been made on a repository you can no + longer access. """ - CREATED_AT + isRestricted: Boolean! """ - Order project v2 views by name + When this contribution was made. """ - NAME + occurredAt: DateTime! """ - Order project v2 views by position + The HTTP path for this contribution. """ - POSITION + resourcePath: URI! + + """ + The HTTP URL for this contribution. + """ + url: URI! + + """ + The user who made this contribution. + """ + user: User! } """ -A workflow inside a project. +Autogenerated input type of RetireSponsorsTier """ -type ProjectV2Workflow implements Node { +input RetireSponsorsTierInput { """ - Identifies the date and time when the object was created. + A unique identifier for the client performing the mutation. """ - createdAt: DateTime! + clientMutationId: String """ - Identifies the primary key from the database. + The ID of the published tier to retire. """ - 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.") + tierId: ID! +} +""" +Autogenerated return type of RetireSponsorsTier. +""" +type RetireSponsorsTierPayload { """ - Whether the workflow is enabled. + A unique identifier for the client performing the mutation. """ - enabled: Boolean! + clientMutationId: String """ - Identifies the primary key from the database as a BigInt. + The tier that was retired. """ - fullDatabaseId: BigInt + sponsorsTier: SponsorsTier +} +""" +Autogenerated input type of RevertPullRequest +""" +input RevertPullRequestInput { """ - The Node ID of the ProjectV2Workflow object + The description of the revert pull request. """ - id: ID! + body: String """ - The name of the workflow. + A unique identifier for the client performing the mutation. """ - name: String! + clientMutationId: String """ - The number of the workflow. + Indicates whether the revert pull request should be a draft. """ - number: Int! + draft: Boolean = false """ - The project that contains this workflow. + The ID of the pull request to revert. """ - project: ProjectV2! + pullRequestId: ID! """ - Identifies the date and time when the object was last updated. + The title of the revert pull request. """ - updatedAt: DateTime! + title: String } """ -The connection type for ProjectV2Workflow. +Autogenerated return type of RevertPullRequest. """ -type ProjectV2WorkflowConnection { +type RevertPullRequestPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The pull request that was reverted. + """ + pullRequest: PullRequest + + """ + The new pull request that reverts the input pull request. + """ + revertPullRequest: PullRequest +} + +""" +A user, team, or app who has the ability to dismiss a review on a protected branch. +""" +type ReviewDismissalAllowance implements Node { + """ + The actor that can dismiss. + """ + actor: ReviewDismissalAllowanceActor + + """ + Identifies the branch protection rule associated with the allowed user, team, or app. + """ + branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the ReviewDismissalAllowance object + """ + id: ID! +} + +""" +Types that can be an actor. +""" +union ReviewDismissalAllowanceActor = App | Team | User + +""" +The connection type for ReviewDismissalAllowance. +""" +type ReviewDismissalAllowanceConnection { """ A list of edges. """ - edges: [ProjectV2WorkflowEdge] + edges: [ReviewDismissalAllowanceEdge] """ A list of nodes. """ - nodes: [ProjectV2Workflow] + nodes: [ReviewDismissalAllowance] """ Information to aid in pagination. @@ -36527,7 +55970,7 @@ type ProjectV2WorkflowConnection { """ An edge in a connection. """ -type ProjectV2WorkflowEdge { +type ReviewDismissalAllowanceEdge { """ A cursor for use in pagination. """ @@ -36536,145 +55979,117 @@ type ProjectV2WorkflowEdge { """ The item at the end of the edge. """ - node: ProjectV2Workflow + node: ReviewDismissalAllowance } """ -Ordering options for project v2 workflows connections +Represents a 'review_dismissed' event on a given issue or pull request. """ -input ProjectV2WorkflowOrder { +type ReviewDismissedEvent implements Node & UniformResourceLocatable { """ - The ordering direction. + Identifies the actor who performed the event. """ - direction: OrderDirection! + actor: Actor """ - The field to order the project v2 workflows by. + Identifies the date and time when the object was created. """ - field: ProjectV2WorkflowsOrderField! -} + createdAt: DateTime! -""" -Properties by which project workflows can be ordered. -""" -enum ProjectV2WorkflowsOrderField { """ - The date and time of the workflow creation + Identifies the primary key from the database. """ - CREATED_AT + databaseId: Int """ - The name of the workflow + Identifies the optional message associated with the 'review_dismissed' event. """ - NAME + dismissalMessage: String """ - The number of the workflow + Identifies the optional message associated with the event, rendered to HTML. """ - NUMBER + dismissalMessageHTML: String """ - The date and time of the workflow update + The Node ID of the ReviewDismissedEvent object """ - UPDATED_AT -} + id: ID! -""" -A property that must match -""" -type PropertyTargetDefinition { """ - The name of the property + Identifies the previous state of the review with the 'review_dismissed' event. """ - name: String! + previousReviewState: PullRequestReviewState! """ - The values to match for + PullRequest referenced by event. """ - propertyValues: [String!]! + pullRequest: PullRequest! """ - The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified + Identifies the commit which caused the review to become stale. """ - source: String -} + pullRequestCommit: PullRequestCommit -""" -A property that must match -""" -input PropertyTargetDefinitionInput { """ - The name of the property + The HTTP path for this review dismissed event. """ - name: String! + resourcePath: URI! """ - The values to match for + Identifies the review associated with the 'review_dismissed' event. """ - propertyValues: [String!]! + review: PullRequestReview """ - The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified + The HTTP URL for this review dismissed event. """ - source: String + url: URI! } """ -A user's public key. +A request for a user to review a pull request. """ -type PublicKey implements Node { - """ - The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. - """ - accessedAt: DateTime - +type ReviewRequest implements Node { """ - Identifies the date and time when the key was created. Keys created before - March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. + Whether this request was created for a code owner """ - createdAt: DateTime + asCodeOwner: Boolean! """ - The fingerprint for this PublicKey. + Identifies the primary key from the database. """ - fingerprint: String! + databaseId: Int """ - The Node ID of the PublicKey object + The Node ID of the ReviewRequest object """ id: ID! """ - Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. - """ - isReadOnly: Boolean - - """ - The public key string. + Identifies the pull request associated with this review request. """ - key: String! + pullRequest: PullRequest! """ - Identifies the date and time when the key was updated. Keys created before - March 5th, 2014 may have inaccurate values. Values will be null for keys not - owned by the user. + The reviewer that is requested. """ - updatedAt: DateTime + requestedReviewer: RequestedReviewer } """ -The connection type for PublicKey. +The connection type for ReviewRequest. """ -type PublicKeyConnection { +type ReviewRequestConnection { """ A list of edges. """ - edges: [PublicKeyEdge] + edges: [ReviewRequestEdge] """ A list of nodes. """ - nodes: [PublicKey] + nodes: [ReviewRequest] """ Information to aid in pagination. @@ -36690,7 +56105,7 @@ type PublicKeyConnection { """ An edge in a connection. """ -type PublicKeyEdge { +type ReviewRequestEdge { """ A cursor for use in pagination. """ @@ -36699,197 +56114,123 @@ type PublicKeyEdge { """ The item at the end of the edge. """ - node: PublicKey -} - -""" -Autogenerated input type of PublishSponsorsTier -""" -input PublishSponsorsTierInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the draft tier to publish. - """ - tierId: ID! -} - -""" -Autogenerated return type of PublishSponsorsTier. -""" -type PublishSponsorsTierPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The tier that was published. - """ - sponsorsTier: SponsorsTier + node: ReviewRequest } """ -A repository pull request. +Represents an 'review_request_removed' event on a given pull request. """ -type PullRequest implements Assignable & Closable & Comment & Labelable & Lockable & Node & ProjectV2Owner & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { - """ - Reason that the conversation was locked. - """ - activeLockReason: LockReason - - """ - The number of additions in this pull request. - """ - additions: Int! - - """ - A list of Users assigned to this object. - """ - assignees( - """ - 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 - ): UserConnection! - - """ - The actor who authored the comment. - """ - author: Actor - +type ReviewRequestRemovedEvent implements Node { """ - Author's association with the subject of the comment. + Identifies the actor who performed the event. """ - authorAssociation: CommentAuthorAssociation! + actor: Actor """ - Returns the auto-merge request object if one exists for this pull request. + Identifies the date and time when the object was created. """ - autoMergeRequest: AutoMergeRequest + createdAt: DateTime! """ - Identifies the base Ref associated with the pull request. + The Node ID of the ReviewRequestRemovedEvent object """ - baseRef: Ref + id: ID! """ - Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted. + PullRequest referenced by event. """ - baseRefName: String! + pullRequest: PullRequest! """ - Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted. + Identifies the reviewer whose review request was removed. """ - baseRefOid: GitObjectID! + requestedReviewer: RequestedReviewer +} +""" +Represents an 'review_requested' event on a given pull request. +""" +type ReviewRequestedEvent implements Node { """ - The repository associated with this pull request's base Ref. + Identifies the actor who performed the event. """ - baseRepository: Repository + actor: Actor """ - The body as Markdown. + Identifies the date and time when the object was created. """ - body: String! + createdAt: DateTime! """ - The body rendered to HTML. + The Node ID of the ReviewRequestedEvent object """ - bodyHTML: HTML! + id: ID! """ - The body rendered to text. + PullRequest referenced by event. """ - bodyText: String! + pullRequest: PullRequest! """ - Whether or not the pull request is rebaseable. + Identifies the reviewer whose review was requested. """ - canBeRebased: Boolean! + requestedReviewer: RequestedReviewer +} +""" +A hovercard context with a message describing the current code review state of the pull +request. +""" +type ReviewStatusHovercardContext implements HovercardContext { """ - The number of changed files in this pull request. + A string describing this context """ - changedFiles: Int! + message: String! """ - The HTTP path for the checks of this pull request. + An octicon to accompany this context """ - checksResourcePath: URI! + octicon: String! """ - The HTTP URL for the checks of this pull request. + The current status of the pull request with respect to code review. """ - checksUrl: URI! + reviewDecision: PullRequestReviewDecision +} +""" +Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole +""" +input RevokeEnterpriseOrganizationsMigratorRoleInput { """ - `true` if the pull request is closed + A unique identifier for the client performing the mutation. """ - closed: Boolean! + clientMutationId: String """ - Identifies the date and time when the object was closed. + The ID of the enterprise to which all organizations managed by it will be granted the migrator role. """ - closedAt: DateTime + enterpriseId: ID! """ - List of issues that may be closed by this pull request + The login of the user to revoke the migrator role """ - closingIssuesReferences( - """ - 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 issues returned from the connection - """ - orderBy: IssueOrder + login: String! +} - """ - Return only manually linked Issues - """ - userLinkedOnly: Boolean = false - ): IssueConnection +""" +Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole. +""" +type RevokeEnterpriseOrganizationsMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - A list of comments associated with the pull request. + The organizations that had the migrator role revoked for the given user. """ - comments( + organizations( """ Returns the elements in the list that come after the specified cursor. """ @@ -36909,475 +56250,515 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab Returns the last _n_ elements from the list. """ last: Int + ): OrganizationConnection +} - """ - Ordering options for issue comments returned from the connection. - """ - orderBy: IssueCommentOrder - ): IssueCommentConnection! +""" +Autogenerated input type of RevokeMigratorRole +""" +input RevokeMigratorRoleInput { + """ + The user login or Team slug to revoke the migrator role from. + """ + actor: String! """ - A list of commits present in this pull request's head branch not present in the base branch. + Specifies the type of the actor, can be either USER or TEAM. """ - commits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + actorType: ActorType! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The ID of the organization that the user/team belongs to. + """ + organizationId: ID! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PullRequestCommitConnection! +""" +Autogenerated return type of RevokeMigratorRole. +""" +type RevokeMigratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - Identifies the date and time when the object was created. + Did the operation succeed? """ - createdAt: DateTime! + success: Boolean +} +""" +Possible roles a user may have in relation to an organization. +""" +enum RoleInOrganization { """ - Check if this comment was created via an email reply. + A user who is a direct member of the organization. """ - createdViaEmail: Boolean! + DIRECT_MEMBER """ - Identifies the primary key from the database. + A user with full administrative access to the organization. """ - databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + OWNER """ - The number of deletions in this pull request. + A user who is unaffiliated with the organization. """ - deletions: Int! + UNAFFILIATED +} +""" +The level of enforcement for a rule or ruleset. +""" +enum RuleEnforcement { """ - The actor who edited this pull request's body. + Rules will be enforced """ - editor: Actor + ACTIVE """ - Lists the files changed within this pull request. + Do not evaluate or enforce rules """ - files( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + DISABLED - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Allow admins to test rules before enforcing them. Admins can view insights on + the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + """ + EVALUATE +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Types which can be parameters for `RepositoryRule` objects. +""" +union RuleParameters = BranchNamePatternParameters | CodeCoverageParameters | CodeQualityParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | CopilotCodeReviewParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PullRequestChangedFileConnection +""" +Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. +""" +input RuleParametersInput { + """ + Parameters used for the `branch_name_pattern` rule type + """ + branchNamePattern: BranchNamePatternParametersInput """ - Identifies the primary key from the database as a BigInt. + Parameters used for the `code_coverage` rule type """ - fullDatabaseId: BigInt + codeCoverage: CodeCoverageParametersInput """ - Identifies the head Ref associated with the pull request. + Parameters used for the `code_quality` rule type """ - headRef: Ref + codeQuality: CodeQualityParametersInput """ - Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. + Parameters used for the `code_scanning` rule type """ - headRefName: String! + codeScanning: CodeScanningParametersInput """ - Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted. + Parameters used for the `commit_author_email_pattern` rule type """ - headRefOid: GitObjectID! + commitAuthorEmailPattern: CommitAuthorEmailPatternParametersInput """ - The repository associated with this pull request's head Ref. + Parameters used for the `commit_message_pattern` rule type """ - headRepository: Repository + commitMessagePattern: CommitMessagePatternParametersInput """ - The owner of the repository associated with this pull request's head Ref. + Parameters used for the `committer_email_pattern` rule type """ - headRepositoryOwner: RepositoryOwner + committerEmailPattern: CommitterEmailPatternParametersInput """ - The hovercard information for this issue + Parameters used for the `copilot_code_review` rule type """ - hovercard( - """ - Whether or not to include notification contexts - """ - includeNotificationContexts: Boolean = true - ): Hovercard! + copilotCodeReview: CopilotCodeReviewParametersInput """ - The Node ID of the PullRequest object + Parameters used for the `file_extension_restriction` rule type """ - id: ID! + fileExtensionRestriction: FileExtensionRestrictionParametersInput """ - Check if this comment was edited and includes an edit with the creation data + Parameters used for the `file_path_restriction` rule type """ - includesCreatedEdit: Boolean! + filePathRestriction: FilePathRestrictionParametersInput """ - The head and base repositories are different. + Parameters used for the `max_file_path_length` rule type """ - isCrossRepository: Boolean! + maxFilePathLength: MaxFilePathLengthParametersInput """ - Identifies if the pull request is a draft. + Parameters used for the `max_file_size` rule type """ - isDraft: Boolean! + maxFileSize: MaxFileSizeParametersInput """ - Indicates whether the pull request is in a merge queue + Parameters used for the `merge_queue` rule type """ - isInMergeQueue: Boolean! + mergeQueue: MergeQueueParametersInput """ - Indicates whether the pull request's base ref has a merge queue enabled. + Parameters used for the `pull_request` rule type """ - isMergeQueueEnabled: Boolean! + pullRequest: PullRequestParametersInput """ - Is this pull request read by the viewer + Parameters used for the `required_deployments` rule type """ - isReadByViewer: Boolean + requiredDeployments: RequiredDeploymentsParametersInput """ - A list of labels associated with the object. + Parameters used for the `required_status_checks` rule type """ - labels( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + requiredStatusChecks: RequiredStatusChecksParametersInput - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Parameters used for the `tag_name_pattern` rule type + """ + tagNamePattern: TagNamePatternParametersInput - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Parameters used for the `update` rule type + """ + update: UpdateParametersInput - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Parameters used for the `workflows` rule type + """ + workflows: WorkflowsParametersInput +} - """ - Ordering options for labels returned from the connection. - """ - orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} - ): LabelConnection +""" +Types which can have `RepositoryRule` objects. +""" +union RuleSource = Enterprise | Organization | Repository +""" +The possible digest algorithms used to sign SAML requests for an identity provider. +""" +enum SamlDigestAlgorithm { """ - The moment the editor made the last edit + SHA1 """ - lastEditedAt: DateTime + SHA1 """ - A list of latest reviews per user associated with the pull request. + SHA256 """ - latestOpinionatedReviews( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + SHA256 - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + SHA384 + """ + SHA384 - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + SHA512 + """ + SHA512 +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +The possible signature algorithms used to sign SAML requests for a Identity Provider. +""" +enum SamlSignatureAlgorithm { + """ + RSA-SHA1 + """ + RSA_SHA1 - """ - Only return reviews from user who have write access to the repository - """ - writersOnly: Boolean = false - ): PullRequestReviewConnection + """ + RSA-SHA256 + """ + RSA_SHA256 """ - A list of latest reviews per user associated with the pull request that are not also pending review. + RSA-SHA384 """ - latestReviews( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + RSA_SHA384 - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + RSA-SHA512 + """ + RSA_SHA512 +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +A Saved Reply is text a user can use to reply quickly. +""" +type SavedReply implements Node { + """ + The body of the saved reply. + """ + body: String! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PullRequestReviewConnection + """ + The saved reply body rendered to HTML. + """ + bodyHTML: HTML! """ - `true` if the pull request is locked + Identifies the primary key from the database. """ - locked: Boolean! + databaseId: Int """ - Indicates whether maintainers can modify the pull request. + The Node ID of the SavedReply object """ - maintainerCanModify: Boolean! + id: ID! """ - The commit that was created when this pull request was merged. + The title of the saved reply. """ - mergeCommit: Commit + title: String! """ - The merge queue for the pull request's base branch + The user that saved this reply. """ - mergeQueue: MergeQueue + user: Actor +} +""" +The connection type for SavedReply. +""" +type SavedReplyConnection { """ - The merge queue entry of the pull request in the base branch's merge queue + A list of edges. """ - mergeQueueEntry: MergeQueueEntry + edges: [SavedReplyEdge] """ - Detailed information about the current pull request merge state status. + A list of nodes. """ - mergeStateStatus: MergeStateStatus! + nodes: [SavedReply] """ - Whether or not the pull request can be merged based on the existence of merge conflicts. + Information to aid in pagination. """ - mergeable: MergeableState! + pageInfo: PageInfo! """ - Whether or not the pull request was merged. + Identifies the total count of items in the connection. """ - merged: Boolean! + totalCount: Int! +} +""" +An edge in a connection. +""" +type SavedReplyEdge { """ - The date and time that the pull request was merged. + A cursor for use in pagination. """ - mergedAt: DateTime + cursor: String! """ - The actor who merged the pull request. + The item at the end of the edge. """ - mergedBy: Actor + node: SavedReply +} +""" +Ordering options for saved reply connections. +""" +input SavedReplyOrder { """ - Identifies the milestone associated with the pull request. + The ordering direction. """ - milestone: Milestone + direction: OrderDirection! """ - Identifies the pull request number. + The field to order saved replies by. """ - number: Int! + field: SavedReplyOrderField! +} +""" +Properties by which saved reply connections can be ordered. +""" +enum SavedReplyOrderField { """ - A list of Users that are participating in the Pull Request conversation. + Order saved reply by when they were updated. """ - participants( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + UPDATED_AT +} - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String +""" +The results of a search. +""" +union SearchResultItem = App | Discussion | Issue | MarketplaceListing | Organization | PullRequest | Repository | User - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +A list of results that matched against a search query. Regardless of the number +of matches, a maximum of 1,000 results will be available across all types, +potentially split across many pages. +""" +type SearchResultItemConnection { + """ + The total number of pieces of code that matched the search query. Regardless + of the total number of matches, a maximum of 1,000 results will be available + across all types. + """ + codeCount: Int! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserConnection! + """ + The total number of discussions that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. + """ + discussionCount: Int! """ - The permalink to the pull request. + A list of edges. """ - permalink: URI! + edges: [SearchResultItemEdge] """ - The commit that GitHub automatically generated to test if this pull request - could be merged. This field will not return a value if the pull request is - merged, or if the test merge commit is still being generated. See the - `mergeable` field for more details on the mergeability of the pull request. + The total number of issues that matched the search query. Regardless of the + total number of matches, a maximum of 1,000 results will be available across all types. """ - potentialMergeCommit: Commit + issueCount: Int! """ - List of project cards associated with this pull request. + The type of search that was performed for issues (lexical, semantic, or hybrid) """ - projectCards( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + issueSearchType: IssueSearchType - """ - A list of archived states to filter the cards by - """ - archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED] + """ + When a semantic or hybrid search falls back to lexical, the reasons why the fallback occurred. + """ + lexicalFallbackReason: [LexicalFallbackReason!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A list of nodes. + """ + nodes: [SearchResultItem] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectCardConnection! + """ + The total number of repositories that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. + """ + repositoryCount: Int! """ - List of project items associated with this pull request. + The total number of users that matched the search query. Regardless of the + total number of matches, a maximum of 1,000 results will be available across all types. """ - projectItems( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + userCount: Int! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The total number of wiki pages that matched the search query. Regardless of + the total number of matches, a maximum of 1,000 results will be available + across all types. + """ + wikiCount: Int! +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +An edge in a connection. +""" +type SearchResultItemEdge { + """ + A cursor for use in pagination. + """ + cursor: String! - """ - Include archived items. - """ - includeArchived: Boolean = true + """ + The item at the end of the edge. + """ + node: SearchResultItem - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectV2ItemConnection! + """ + Text matches on the result found. + """ + textMatches: [TextMatch] +} +""" +Represents the individual results of a search. +""" +enum SearchType { """ - Find a project by number. + Returns matching discussions in repositories. """ - projectV2( - """ - The project number. - """ - number: Int! - ): ProjectV2 + DISCUSSION """ - A list of projects under the owner. + Returns results matching issues in repositories. """ - projectsV2( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + ISSUE - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Returns results matching issues in repositories. + """ + ISSUE_ADVANCED - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Returns results matching issues using hybrid (lexical + semantic) search. + """ + ISSUE_HYBRID - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Returns results matching issues using semantic search. + """ + ISSUE_SEMANTIC - """ - Filter projects based on user role. - """ - minPermissionLevel: ProjectV2PermissionLevel = READ + """ + Returns results matching repositories. + """ + REPOSITORY - """ - How to order the returned projects. - """ - orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + """ + Returns results matching users and organizations on GitHub. + """ + USER +} - """ - A project to search for under the owner. - """ - query: String - ): ProjectV2Connection! +""" +A GitHub Security Advisory +""" +type SecurityAdvisory implements Node { + """ + The classification of the advisory + """ + classification: SecurityAdvisoryClassification! """ - Identifies when the comment was published at. + The Common Vulnerabilities and Exposures ID """ - publishedAt: DateTime + cveId: String """ - A list of reactions grouped by content left on the subject. + The CVSS associated with this advisory """ - reactionGroups: [ReactionGroup!] + 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.") """ - A list of Reactions left on the Issue. + The CVSS associated with this advisory """ - reactions( + cvssSeverities: CvssSeverities! + + """ + CWEs associated with this Advisory + """ + cwes( """ Returns the elements in the list that come after the specified cursor. """ @@ -37388,11 +56769,6 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ before: String - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - """ Returns the first _n_ elements from the list. """ @@ -37402,142 +56778,102 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab Returns the last _n_ elements from the list. """ last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + ): CWEConnection! """ - The repository associated with this node. + Identifies the primary key from the database. """ - repository: Repository! + databaseId: Int """ - The HTTP path for this pull request. + This is a long plaintext description of the advisory """ - resourcePath: URI! + description: String! """ - The HTTP path for reverting this pull request. + The Exploit Prediction Scoring System """ - revertResourcePath: URI! + epss: EPSS """ - The HTTP URL for reverting this pull request. + The GitHub Security Advisory ID """ - revertUrl: URI! + ghsaId: String! """ - The current status of this pull request with respect to code review. + When the GitHub Security team reviewed this advisory, which may differ from when GitHub published it """ - reviewDecision: PullRequestReviewDecision + githubReviewedAt: DateTime """ - A list of review requests associated with the pull request. + The Node ID of the SecurityAdvisory object """ - reviewRequests( - """ - 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 - ): ReviewRequestConnection + id: ID! """ - The list of all review threads for this pull request. + A list of identifiers for this advisory """ - reviewThreads( - """ - 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 + identifiers: [SecurityAdvisoryIdentifier!]! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The permalink for the advisory's dependabot alerts page + """ + notificationsPermalink: URI - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PullRequestReviewThreadConnection! + """ + When NVD published its advisory record, independent of GitHub's publishing timeline + """ + nvdPublishedAt: DateTime """ - A list of reviews associated with the pull request. + The organization that originated the advisory """ - reviews( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + origin: String! - """ - Filter by author of the review. - """ - author: String + """ + The permalink for the advisory + """ + permalink: URI - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + When GitHub published this advisory + """ + publishedAt: DateTime! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + A list of references for this advisory + """ + references: [SecurityAdvisoryReference!]! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The URL for the associated repository security advisory, if this global advisory is linked to a repository-level advisory. + """ + repositoryAdvisoryUrl: URI - """ - A list of states to filter the reviews. - """ - states: [PullRequestReviewState!] - ): PullRequestReviewConnection + """ + The severity of the advisory + """ + severity: SecurityAdvisorySeverity! """ - Identifies the state of the pull request. + URL to the upstream source code relevant to the advisory """ - state: PullRequestState! + sourceCodeLocation: URI """ - Check and Status rollup information for the PR's head ref. + A short plaintext summary of the advisory """ - statusCheckRollup: StatusCheckRollup + summary: String! """ - A list of reviewer suggestions based on commit history and past review comments. + When the advisory was last updated """ - suggestedReviewers: [SuggestedReviewer]! + updatedAt: DateTime! """ - A list of events, comments, commits, etc. associated with the pull request. + Vulnerabilities associated with this Advisory """ - timeline( + vulnerabilities( """ Returns the elements in the list that come after the specified cursor. """ @@ -37549,411 +56885,371 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab before: String """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows filtering timeline events by a `since` timestamp. - """ - since: DateTime - ): PullRequestTimelineConnection! @deprecated(reason: "`timeline` will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.") - - """ - A list of events, comments, commits, etc. associated with the pull request. - """ - timelineItems( - """ - Returns the elements in the list that come after the specified cursor. + A list of advisory classifications to filter vulnerabilities by. """ - after: String + classifications: [SecurityAdvisoryClassification!] """ - Returns the elements in the list that come before the specified cursor. + An ecosystem to filter vulnerabilities by. """ - before: String + ecosystem: SecurityAdvisoryEcosystem """ Returns the first _n_ elements from the list. """ first: Int - """ - Filter timeline items by type. - """ - itemTypes: [PullRequestTimelineItemsItemType!] - """ Returns the last _n_ elements from the list. """ last: Int """ - Filter timeline items by a `since` timestamp. + Ordering options for the returned topics. """ - since: DateTime + orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} """ - Skips the first _n_ elements in the list. + A package name to filter vulnerabilities by. """ - skip: Int - ): PullRequestTimelineItemsConnection! + package: String - """ - Identifies the pull request title. - """ - title: String! + """ + A list of severities to filter vulnerabilities by. + """ + severities: [SecurityAdvisorySeverity!] + ): SecurityVulnerabilityConnection! """ - Identifies the pull request title rendered to HTML. + When the advisory was withdrawn, if it has been withdrawn """ - titleHTML: HTML! + withdrawnAt: DateTime +} +""" +Classification of the advisory. +""" +enum SecurityAdvisoryClassification { """ - Returns a count of how many comments this pull request has received. + Classification of general advisories. """ - totalCommentsCount: Int + GENERAL """ - Identifies the date and time when the object was last updated. + Classification of malware advisories. """ - updatedAt: DateTime! + MALWARE +} +""" +The connection type for SecurityAdvisory. +""" +type SecurityAdvisoryConnection { """ - The HTTP URL for this pull request. + A list of edges. """ - url: URI! + edges: [SecurityAdvisoryEdge] """ - A list of edits to this content. + A list of nodes. """ - userContentEdits( - """ - 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 - ): UserContentEditConnection + nodes: [SecurityAdvisory] """ - Whether or not the viewer can apply suggestion. + Information to aid in pagination. """ - viewerCanApplySuggestion: Boolean! + pageInfo: PageInfo! """ - Indicates if the object can be closed by the viewer. + Identifies the total count of items in the connection. """ - viewerCanClose: Boolean! + totalCount: Int! +} +""" +The possible ecosystems of a security vulnerability's package. +""" +enum SecurityAdvisoryEcosystem { """ - Check if the viewer can restore the deleted head ref. + GitHub Actions """ - viewerCanDeleteHeadRef: Boolean! + ACTIONS """ - Whether or not the viewer can disable auto-merge + PHP packages hosted at packagist.org """ - viewerCanDisableAutoMerge: Boolean! + COMPOSER """ - Can the viewer edit files within this pull request. + Erlang/Elixir packages hosted at hex.pm """ - viewerCanEditFiles: Boolean! + ERLANG """ - Whether or not the viewer can enable auto-merge + Go modules """ - viewerCanEnableAutoMerge: Boolean! + GO """ - Indicates if the viewer can edit labels for this object. + Java artifacts hosted at the Maven central repository """ - viewerCanLabel: Boolean! + MAVEN """ - Indicates whether the viewer can bypass branch protections and merge the pull request immediately + JavaScript packages hosted at npmjs.com """ - viewerCanMergeAsAdmin: Boolean! + NPM """ - Can user react to this subject + .NET packages hosted at the NuGet Gallery """ - viewerCanReact: Boolean! + NUGET """ - Indicates if the object can be reopened by the viewer. + Python packages hosted at PyPI.org """ - viewerCanReopen: Boolean! + PIP """ - Check if the viewer is able to change their subscription status for the repository. + Dart packages hosted at pub.dev """ - viewerCanSubscribe: Boolean! + PUB """ - Check if the current viewer can update this object. + Ruby gems hosted at RubyGems.org """ - viewerCanUpdate: Boolean! + RUBYGEMS """ - Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. - If the head ref is up to date or unable to be updated by this user, this will return false. + Rust crates """ - viewerCanUpdateBranch: Boolean! + RUST """ - Reasons why the current viewer can not update this comment. + Swift packages """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + SWIFT +} +""" +An edge in a connection. +""" +type SecurityAdvisoryEdge { """ - Did the viewer author this comment. + A cursor for use in pagination. """ - viewerDidAuthor: Boolean! + cursor: String! """ - The latest review given from the viewer. + The item at the end of the edge. """ - viewerLatestReview: PullRequestReview + node: SecurityAdvisory +} +""" +A GitHub Security Advisory Identifier +""" +type SecurityAdvisoryIdentifier { """ - The person who has requested the viewer for review on this pull request. + The identifier type, e.g. GHSA, CVE """ - viewerLatestReviewRequest: ReviewRequest + type: String! """ - The merge body text for the viewer and method. + The identifier """ - viewerMergeBodyText( - """ - The merge method for the message. - """ - mergeType: PullRequestMergeMethod - ): String! + value: String! +} +""" +An advisory identifier to filter results on. +""" +input SecurityAdvisoryIdentifierFilter { """ - The merge headline text for the viewer and method. + The identifier type. """ - viewerMergeHeadlineText( - """ - The merge method for the message. - """ - mergeType: PullRequestMergeMethod - ): String! + type: SecurityAdvisoryIdentifierType! """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + The identifier string. Supports exact or partial matching. """ - viewerSubscription: SubscriptionState + value: String! } """ -The possible methods for updating a pull request's head branch with the base branch. +Identifier formats available for advisories. """ -enum PullRequestBranchUpdateMethod { +enum SecurityAdvisoryIdentifierType { """ - Update branch via merge + Common Vulnerabilities and Exposures Identifier. """ - MERGE + CVE """ - Update branch via rebase + GitHub Security Advisory ID. """ - REBASE + GHSA } """ -A file changed in a pull request. +Ordering options for security advisory connections """ -type PullRequestChangedFile { - """ - The number of additions to the file. - """ - additions: Int! - +input SecurityAdvisoryOrder { """ - How the file was changed in this PullRequest + The ordering direction. """ - changeType: PatchStatus! + direction: OrderDirection! """ - The number of deletions to the file. + The field to order security advisories by. """ - deletions: Int! + field: SecurityAdvisoryOrderField! +} +""" +Properties by which security advisory connections can be ordered. +""" +enum SecurityAdvisoryOrderField { """ - The path of the file. + Order advisories by EPSS percentage """ - path: String! + EPSS_PERCENTAGE """ - The state of the file for the viewer. + Order advisories by EPSS percentile """ - viewerViewedState: FileViewedState! -} + EPSS_PERCENTILE -""" -The connection type for PullRequestChangedFile. -""" -type PullRequestChangedFileConnection { """ - A list of edges. + Order advisories by publication time """ - edges: [PullRequestChangedFileEdge] + PUBLISHED_AT """ - A list of nodes. + Order advisories by update time """ - nodes: [PullRequestChangedFile] + UPDATED_AT +} +""" +An individual package +""" +type SecurityAdvisoryPackage { """ - Information to aid in pagination. + The ecosystem the package belongs to, e.g. RUBYGEMS, NPM """ - pageInfo: PageInfo! + ecosystem: SecurityAdvisoryEcosystem! """ - Identifies the total count of items in the connection. + The package name """ - totalCount: Int! + name: String! } """ -An edge in a connection. +An individual package version """ -type PullRequestChangedFileEdge { +type SecurityAdvisoryPackageVersion { """ - A cursor for use in pagination. + The package name or version """ - cursor: String! + identifier: String! +} +""" +A GitHub Security Advisory Reference +""" +type SecurityAdvisoryReference { """ - The item at the end of the edge. + A publicly accessible reference """ - node: PullRequestChangedFile + url: URI! } """ -Represents a Git commit part of a pull request. +Severity of the vulnerability. """ -type PullRequestCommit implements Node & UniformResourceLocatable { +enum SecurityAdvisorySeverity { """ - The Git commit object + Critical. """ - commit: Commit! + CRITICAL """ - The Node ID of the PullRequestCommit object + High. """ - id: ID! + HIGH """ - The pull request this commit belongs to + Low. """ - pullRequest: PullRequest! + LOW """ - The HTTP path for this pull request commit + Moderate. """ - resourcePath: URI! + MODERATE """ - The HTTP URL for this pull request commit + Unknown. """ - url: URI! + UNKNOWN } """ -Represents a commit comment thread part of a pull request. +An individual vulnerability within an Advisory """ -type PullRequestCommitCommentThread implements Node & RepositoryNode { - """ - The comments that exist in this thread. - """ - comments( - """ - 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 - ): CommitCommentConnection! - +type SecurityVulnerability { """ - The commit the comments were made on. + The Advisory associated with this Vulnerability """ - commit: Commit! + advisory: SecurityAdvisory! """ - The Node ID of the PullRequestCommitCommentThread object + The first version containing a fix for the vulnerability """ - id: ID! + firstPatchedVersion: SecurityAdvisoryPackageVersion """ - The file the comments were made on. + A description of the vulnerable package """ - path: String + package: SecurityAdvisoryPackage! """ - The position in the diff for the commit that the comment was made on. + The severity of the vulnerability within this package """ - position: Int + severity: SecurityAdvisorySeverity! """ - The pull request this commit comment thread belongs to + When the vulnerability was last updated """ - pullRequest: PullRequest! + updatedAt: DateTime! """ - The repository associated with this node. + A string that describes the vulnerable package versions. + This string follows a basic syntax with a few forms. + + `= 0.2.0` denotes a single vulnerable version. + + `<= 1.0.8` denotes a version range up to and including the specified version + + `< 0.1.11` denotes a version range up to, but excluding, the specified version + + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. + + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum """ - repository: Repository! + vulnerableVersionRange: String! } """ -The connection type for PullRequestCommit. +The connection type for SecurityVulnerability. """ -type PullRequestCommitConnection { +type SecurityVulnerabilityConnection { """ A list of edges. """ - edges: [PullRequestCommitEdge] + edges: [SecurityVulnerabilityEdge] """ A list of nodes. """ - nodes: [PullRequestCommit] + nodes: [SecurityVulnerability] """ Information to aid in pagination. @@ -37969,7 +57265,7 @@ type PullRequestCommitConnection { """ An edge in a connection. """ -type PullRequestCommitEdge { +type SecurityVulnerabilityEdge { """ A cursor for use in pagination. """ @@ -37978,648 +57274,670 @@ type PullRequestCommitEdge { """ The item at the end of the edge. """ - node: PullRequestCommit + node: SecurityVulnerability } """ -The connection type for PullRequest. +Ordering options for security vulnerability connections """ -type PullRequestConnection { - """ - A list of edges. - """ - edges: [PullRequestEdge] - +input SecurityVulnerabilityOrder { """ - A list of nodes. + The ordering direction. """ - nodes: [PullRequest] + direction: OrderDirection! """ - Information to aid in pagination. + The field to order security vulnerabilities by. """ - pageInfo: PageInfo! + field: SecurityVulnerabilityOrderField! +} +""" +Properties by which security vulnerability connections can be ordered. +""" +enum SecurityVulnerabilityOrderField { """ - Identifies the total count of items in the connection. + Order vulnerability by update time """ - totalCount: Int! + UPDATED_AT } """ -This aggregates pull requests opened by a user within one repository. +Autogenerated input type of SetEnterpriseIdentityProvider """ -type PullRequestContributionsByRepository { +input SetEnterpriseIdentityProviderInput { """ - The pull request contributions. + A unique identifier for the client performing the mutation. """ - contributions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The digest algorithm used to sign SAML requests for the identity provider. + """ + digestMethod: SamlDigestAlgorithm! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The ID of the enterprise on which to set an identity provider. + """ + enterpriseId: ID! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The x509 certificate used by the identity provider to sign assertions and responses. + """ + idpCertificate: String! - """ - Ordering options for contributions returned from the connection. - """ - orderBy: ContributionOrder = {direction: DESC} - ): CreatedPullRequestContributionConnection! + """ + The Issuer Entity ID for the SAML identity provider + """ + issuer: String """ - The repository in which the pull requests were opened. + The signature algorithm used to sign SAML requests for the identity provider. """ - repository: Repository! + signatureMethod: SamlSignatureAlgorithm! + + """ + The URL endpoint for the identity provider's SAML SSO. + """ + ssoUrl: URI! } """ -An edge in a connection. +Autogenerated return type of SetEnterpriseIdentityProvider. """ -type PullRequestEdge { +type SetEnterpriseIdentityProviderPayload { """ - A cursor for use in pagination. + A unique identifier for the client performing the mutation. """ - cursor: String! + clientMutationId: String """ - The item at the end of the edge. + The identity provider for the enterprise. """ - node: PullRequest + identityProvider: EnterpriseIdentityProvider } """ -Represents available types of methods to use when merging a pull request. +Autogenerated input type of SetIssueFieldValue """ -enum PullRequestMergeMethod { +input SetIssueFieldValueInput { """ - Add all commits from the head branch to the base branch with a merge commit. + A unique identifier for the client performing the mutation. """ - MERGE + clientMutationId: String """ - Add all commits from the head branch onto the base branch individually. + The issue fields to set on the issue. """ - REBASE + issueFields: [IssueFieldCreateOrUpdateInput!]! """ - Combine all commits from the head branch into a single commit in the base branch. + The ID of the Issue to set the field value on. """ - SQUASH + issueId: ID! } """ -Ways in which lists of issues can be ordered upon return. +Autogenerated return type of SetIssueFieldValue. """ -input PullRequestOrder { +type SetIssueFieldValuePayload { """ - The direction in which to order pull requests by the specified field. + A unique identifier for the client performing the mutation. """ - direction: OrderDirection! + clientMutationId: String """ - The field in which to order pull requests by. + The issue where the field values were set. """ - field: PullRequestOrderField! + issue: Issue + + """ + The issue field values that were created or updated. + """ + issueFieldValues: [IssueFieldValue!] } """ -Properties by which pull_requests connections can be ordered. +Autogenerated input type of SetOrganizationInteractionLimit """ -enum PullRequestOrderField { +input SetOrganizationInteractionLimitInput { """ - Order pull_requests by creation time + A unique identifier for the client performing the mutation. """ - CREATED_AT + clientMutationId: String """ - Order pull_requests by update time + When this limit should expire. """ - UPDATED_AT -} + expiry: RepositoryInteractionLimitExpiry -""" -Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. -""" -type PullRequestParameters { """ - Array of allowed merge methods. Allowed values include `merge`, `squash`, and - `rebase`. At least one option must be enabled. + The limit to set. """ - allowedMergeMethods: [String!] + limit: RepositoryInteractionLimit! """ - New, reviewable commits pushed will dismiss previous pull request review approvals. + The ID of the organization to set a limit for. """ - dismissStaleReviewsOnPush: Boolean! + organizationId: ID! +} +""" +Autogenerated return type of SetOrganizationInteractionLimit. +""" +type SetOrganizationInteractionLimitPayload { """ - Require an approving review in pull requests that modify files that have a designated code owner. + A unique identifier for the client performing the mutation. """ - requireCodeOwnerReview: Boolean! + clientMutationId: String """ - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. + The organization that the interaction limit was set for. """ - requireLastPushApproval: Boolean! + organization: Organization +} +""" +Autogenerated input type of SetRepositoryCustomPropertyValues +""" +input SetRepositoryCustomPropertyValuesInput { """ - The number of approving reviews that are required before a pull request can be merged. + A unique identifier for the client performing the mutation. """ - requiredApprovingReviewCount: Int! + clientMutationId: String """ - All conversations on code must be resolved before a pull request can be merged. + A list of custom property names and associated values to apply. """ - requiredReviewThreadResolution: Boolean! + properties: [CustomPropertyValueInput!]! + + """ + The ID of the repository to set properties for. + """ + repositoryId: ID! } """ -Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. +Autogenerated return type of SetRepositoryCustomPropertyValues. """ -input PullRequestParametersInput { +type SetRepositoryCustomPropertyValuesPayload { """ - Array of allowed merge methods. Allowed values include `merge`, `squash`, and - `rebase`. At least one option must be enabled. + A unique identifier for the client performing the mutation. """ - allowedMergeMethods: [String!] + clientMutationId: String """ - New, reviewable commits pushed will dismiss previous pull request review approvals. + The repository that the custom properties were set for. """ - dismissStaleReviewsOnPush: Boolean! + repository: Repository +} +""" +Autogenerated input type of SetRepositoryInteractionLimit +""" +input SetRepositoryInteractionLimitInput { """ - Require an approving review in pull requests that modify files that have a designated code owner. + A unique identifier for the client performing the mutation. """ - requireCodeOwnerReview: Boolean! + clientMutationId: String """ - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. + When this limit should expire. """ - requireLastPushApproval: Boolean! + expiry: RepositoryInteractionLimitExpiry """ - The number of approving reviews that are required before a pull request can be merged. + The limit to set. """ - requiredApprovingReviewCount: Int! + limit: RepositoryInteractionLimit! """ - All conversations on code must be resolved before a pull request can be merged. + The ID of the repository to set a limit for. """ - requiredReviewThreadResolution: Boolean! + repositoryId: ID! } """ -A review object for a given pull request. +Autogenerated return type of SetRepositoryInteractionLimit. """ -type PullRequestReview implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { +type SetRepositoryInteractionLimitPayload { """ - The actor who authored the comment. + A unique identifier for the client performing the mutation. """ - author: Actor + clientMutationId: String """ - Author's association with the subject of the comment. + The repository that the interaction limit was set for. """ - authorAssociation: CommentAuthorAssociation! + repository: Repository +} +""" +Autogenerated input type of SetUserInteractionLimit +""" +input SetUserInteractionLimitInput { """ - Indicates whether the author of this review has push access to the repository. + A unique identifier for the client performing the mutation. """ - authorCanPushToRepository: Boolean! + clientMutationId: String """ - Identifies the pull request review body. + When this limit should expire. """ - body: String! + expiry: RepositoryInteractionLimitExpiry """ - The body rendered to HTML. + The limit to set. """ - bodyHTML: HTML! + limit: RepositoryInteractionLimit! """ - The body of this review rendered as plain text. + The ID of the user to set a limit for. """ - bodyText: String! + userId: ID! +} +""" +Autogenerated return type of SetUserInteractionLimit. +""" +type SetUserInteractionLimitPayload { """ - A list of review comments for the current pull request review. + A unique identifier for the client performing the mutation. """ - comments( - """ - 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 - ): PullRequestReviewCommentConnection! + clientMutationId: String """ - Identifies the commit associated with this pull request review. + The user that the interaction limit was set for. """ - commit: Commit + user: User +} +""" +Represents an S/MIME signature on a Commit or Tag. +""" +type SmimeSignature implements GitSignature { """ - Identifies the date and time when the object was created. + Email used to sign this object. """ - createdAt: DateTime! + email: String! """ - Check if this comment was created via an email reply. + True if the signature is valid and verified by GitHub. """ - createdViaEmail: Boolean! + isValid: Boolean! """ - Identifies the primary key from the database. + Payload for GPG signing object. Raw ODB object without the signature header. """ - databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + payload: String! """ - The actor who edited the comment. + ASCII-armored signature header from object. """ - editor: Actor + signature: String! """ - Identifies the primary key from the database as a BigInt. + GitHub user corresponding to the email signing this commit. """ - fullDatabaseId: BigInt + signer: User """ - The Node ID of the PullRequestReview object + The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. """ - id: ID! + state: GitSignatureState! """ - Check if this comment was edited and includes an edit with the creation data + The date the signature was verified, if valid """ - includesCreatedEdit: Boolean! + verifiedAt: DateTime """ - Returns whether or not a comment has been minimized. + True if the signature was made with GitHub's signing key. """ - isMinimized: Boolean! + wasSignedByGitHub: Boolean! +} +""" +Social media profile associated with a user. +""" +type SocialAccount { """ - The moment the editor made the last edit + Name of the social media account as it appears on the profile. """ - lastEditedAt: DateTime + displayName: String! """ - Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + Software or company that hosts the social media account. """ - minimizedReason: String + provider: SocialAccountProvider! """ - A list of teams that this review was made on behalf of. + URL of the social media account. """ - onBehalfOf( - """ - 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 - ): TeamConnection! + url: URI! +} +""" +The connection type for SocialAccount. +""" +type SocialAccountConnection { """ - Identifies when the comment was published at. + A list of edges. """ - publishedAt: DateTime + edges: [SocialAccountEdge] """ - Identifies the pull request associated with this pull request review. + A list of nodes. """ - pullRequest: PullRequest! + nodes: [SocialAccount] """ - A list of reactions grouped by content left on the subject. + Information to aid in pagination. """ - reactionGroups: [ReactionGroup!] + pageInfo: PageInfo! """ - A list of Reactions left on the Issue. + Identifies the total count of items in the connection. """ - reactions( - """ - 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 - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + totalCount: Int! +} +""" +An edge in a connection. +""" +type SocialAccountEdge { """ - The repository associated with this node. + A cursor for use in pagination. """ - repository: Repository! + cursor: String! """ - The HTTP path permalink for this PullRequestReview. + The item at the end of the edge. """ - resourcePath: URI! + node: SocialAccount +} +""" +Software or company that hosts social media accounts. +""" +enum SocialAccountProvider { """ - Identifies the current state of the pull request review. + Decentralized microblogging social platform. """ - state: PullRequestReviewState! + BLUESKY """ - Identifies when the Pull Request Review was submitted + Social media and networking website. """ - submittedAt: DateTime + FACEBOOK """ - Identifies the date and time when the object was last updated. + Catch-all for social media providers that do not yet have specific handling. """ - updatedAt: DateTime! + GENERIC """ - The HTTP URL permalink for this PullRequestReview. + Fork of Mastodon with a greater focus on local posting. """ - url: URI! + HOMETOWN """ - A list of edits to this content. + Social media website with a focus on photo and video sharing. """ - userContentEdits( - """ - 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 + INSTAGRAM - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Professional networking website. + """ + LINKEDIN - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection + """ + Open-source federated microblogging service. + """ + MASTODON """ - Check if the current viewer can delete this object. + JavaScript package registry. """ - viewerCanDelete: Boolean! + NPM """ - Check if the current viewer can minimize this object. + Social news aggregation and discussion website. """ - viewerCanMinimize: Boolean! + REDDIT """ - Can user react to this subject + Microblogging social platform. """ - viewerCanReact: Boolean! + THREADS """ - Check if the current viewer can update this object. + Live-streaming service. """ - viewerCanUpdate: Boolean! + TWITCH """ - Reasons why the current viewer can not update this comment. + Microblogging website. """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + TWITTER """ - Did the viewer author this comment. + Online video platform. """ - viewerDidAuthor: Boolean! + YOUTUBE } """ -A review comment associated with a given repository pull request. +Entities that can sponsor others via GitHub Sponsors """ -type PullRequestReviewComment implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { - """ - The actor who authored the comment. - """ - author: Actor +union Sponsor = Organization | User +""" +A GitHub account and the total amount in USD they've paid for sponsorships to a +particular maintainer. Does not include payments made via Patreon. +""" +type SponsorAndLifetimeValue { """ - Author's association with the subject of the comment. + The amount in cents. """ - authorAssociation: CommentAuthorAssociation! + amountInCents: Int! """ - The comment body of this review comment. + The amount in USD, formatted as a string. """ - body: String! + formattedAmount: String! """ - The body rendered to HTML. + The sponsor's GitHub account. """ - bodyHTML: HTML! + sponsor: Sponsorable! """ - The comment body of this review comment rendered as plain text. + The maintainer's GitHub account. """ - bodyText: String! + sponsorable: Sponsorable! +} +""" +The connection type for SponsorAndLifetimeValue. +""" +type SponsorAndLifetimeValueConnection { """ - Identifies the commit associated with the comment. + A list of edges. """ - commit: Commit + edges: [SponsorAndLifetimeValueEdge] """ - Identifies when the comment was created. + A list of nodes. """ - createdAt: DateTime! + nodes: [SponsorAndLifetimeValue] """ - Check if this comment was created via an email reply. + Information to aid in pagination. """ - createdViaEmail: Boolean! + pageInfo: PageInfo! """ - Identifies the primary key from the database. + Identifies the total count of items in the connection. """ - databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.") + totalCount: Int! +} +""" +An edge in a connection. +""" +type SponsorAndLifetimeValueEdge { """ - The diff hunk to which the comment applies. + A cursor for use in pagination. """ - diffHunk: String! + cursor: String! """ - Identifies when the comment was created in a draft state. + The item at the end of the edge. """ - draftedAt: DateTime! + node: SponsorAndLifetimeValue +} +""" +Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. +""" +input SponsorAndLifetimeValueOrder { """ - The actor who edited the comment. + The ordering direction. """ - editor: Actor + direction: OrderDirection! """ - Identifies the primary key from the database as a BigInt. + The field to order results by. """ - fullDatabaseId: BigInt + field: SponsorAndLifetimeValueOrderField! +} +""" +Properties by which sponsor and lifetime value connections can be ordered. +""" +enum SponsorAndLifetimeValueOrderField { """ - The Node ID of the PullRequestReviewComment object + Order results by how much money the sponsor has paid in total. """ - id: ID! + LIFETIME_VALUE """ - Check if this comment was edited and includes an edit with the creation data + Order results by the sponsor's login (username). """ - includesCreatedEdit: Boolean! + SPONSOR_LOGIN """ - Returns whether or not a comment has been minimized. + Order results by the sponsor's relevance to the viewer. """ - isMinimized: Boolean! + SPONSOR_RELEVANCE +} +""" +A list of users and organizations sponsoring someone via GitHub Sponsors. +""" +type SponsorConnection { """ - The moment the editor made the last edit + A list of edges. """ - lastEditedAt: DateTime + edges: [SponsorEdge] """ - The end line number on the file to which the comment applies + A list of nodes. """ - line: Int + nodes: [Sponsor] """ - Returns why the comment was minimized. One of `abuse`, `off-topic`, - `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and - formatting of these values differs from the inputs to the `MinimizeComment` mutation. + Information to aid in pagination. """ - minimizedReason: String + pageInfo: PageInfo! """ - Identifies the original commit associated with the comment. + Identifies the total count of items in the connection. """ - originalCommit: Commit + totalCount: Int! +} +""" +Represents a user or organization who is sponsoring someone in GitHub Sponsors. +""" +type SponsorEdge { """ - The end line number on the file to which the comment applied when it was first created + A cursor for use in pagination. """ - originalLine: Int + cursor: String! """ - The original line index in the diff to which the comment applies. + The item at the end of the edge. """ - originalPosition: Int! @deprecated(reason: "We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC.") + node: Sponsor +} +""" +Ordering options for connections to get sponsor entities for GitHub Sponsors. +""" +input SponsorOrder { """ - The start line number on the file to which the comment applied when it was first created + The ordering direction. """ - originalStartLine: Int + direction: OrderDirection! """ - Identifies when the comment body is outdated + The field to order sponsor entities by. """ - outdated: Boolean! + field: SponsorOrderField! +} +""" +Properties by which sponsor connections can be ordered. +""" +enum SponsorOrderField { """ - The path to which the comment applies. + Order sponsorable entities by login (username). """ - path: String! + LOGIN """ - The line index in the diff to which the comment applies. + Order sponsors by their relevance to the viewer. """ - position: Int @deprecated(reason: "We are phasing out diff-relative positioning for PR comments Use the `line` and `startLine` fields instead, which are file line numbers instead of diff line numbers Removal on 2023-10-01 UTC.") + RELEVANCE +} +""" +Entities that can sponsor or be sponsored through GitHub Sponsors. +""" +interface Sponsorable { """ - Identifies when the comment was published at. + The estimated next GitHub Sponsors payout for this user/organization in cents (USD). """ - publishedAt: DateTime + estimatedNextSponsorsPayoutInCents: Int! """ - The pull request associated with this review comment. + True if this user/organization has a GitHub Sponsors listing. """ - pullRequest: PullRequest! + hasSponsorsListing: Boolean! """ - The pull request review associated with this review comment. + Whether the given account is sponsoring this user/organization. """ - pullRequestReview: PullRequestReview + isSponsoredBy( + """ + The target account's login. + """ + accountLogin: String! + ): Boolean! """ - A list of reactions grouped by content left on the subject. + True if the viewer is sponsored by this user/organization. """ - reactionGroups: [ReactionGroup!] + isSponsoringViewer: Boolean! """ - A list of Reactions left on the Issue. + Calculate how much each sponsor has ever paid total to this maintainer via + GitHub Sponsors. Does not include sponsorships paid via Patreon. """ - reactions( + lifetimeReceivedSponsorshipValues( """ Returns the elements in the list that come after the specified cursor. """ @@ -38630,11 +57948,6 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod """ before: String - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - """ Returns the first _n_ elements from the list. """ @@ -38646,55 +57959,50 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod last: Int """ - Allows specifying the order in which reactions are returned. + Ordering options for results returned from the connection. """ - orderBy: ReactionOrder - ): ReactionConnection! - - """ - The comment this is a reply to. - """ - replyTo: PullRequestReviewComment - - """ - The repository associated with this node. - """ - repository: Repository! + orderBy: SponsorAndLifetimeValueOrder = {field: SPONSOR_LOGIN, direction: ASC} + ): SponsorAndLifetimeValueConnection! """ - The HTTP path permalink for this review comment. + The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). """ - resourcePath: URI! + monthlyEstimatedSponsorsIncomeInCents: Int! """ - The start line number on the file to which the comment applies + List of users and organizations this entity is sponsoring. """ - startLine: Int + sponsoring( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Identifies the state of the comment. - """ - state: PullRequestReviewCommentState! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file - """ - subjectType: PullRequestReviewThreadSubjectType! + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - Identifies when the comment was last updated. - """ - updatedAt: DateTime! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The HTTP URL permalink for this review comment. - """ - url: URI! + """ + Ordering options for the users and organizations returned from the connection. + """ + orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} + ): SponsorConnection! """ - A list of edits to this content. + List of sponsors for this user or organization. """ - userContentEdits( + sponsors( """ Returns the elements in the list that come after the specified cursor. """ @@ -38714,127 +58022,114 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod Returns the last _n_ elements from the list. """ last: Int - ): UserContentEditConnection - - """ - Check if the current viewer can delete this object. - """ - viewerCanDelete: Boolean! - - """ - Check if the current viewer can minimize this object. - """ - viewerCanMinimize: Boolean! - """ - Can user react to this subject - """ - viewerCanReact: Boolean! + """ + Ordering options for sponsors returned from the connection. + """ + orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} - """ - Check if the current viewer can update this object. - """ - viewerCanUpdate: Boolean! + """ + If given, will filter for sponsors at the given tier. Will only return + sponsors whose tier the viewer is permitted to see. + """ + tierId: ID + ): SponsorConnection! """ - Reasons why the current viewer can not update this comment. + Events involving this sponsorable, such as new sponsorships. """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + sponsorsActivities( + """ + Filter activities to only the specified actions. + """ + actions: [SponsorsActivityAction!] = [] - """ - Did the viewer author this comment. - """ - viewerDidAuthor: Boolean! -} + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String -""" -The connection type for PullRequestReviewComment. -""" -type PullRequestReviewCommentConnection { - """ - A list of edges. - """ - edges: [PullRequestReviewCommentEdge] + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - A list of nodes. - """ - nodes: [PullRequestReviewComment] + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! + """ + Whether to include those events where this sponsorable acted as the sponsor. + Defaults to only including events where this sponsorable was the recipient + of a sponsorship. + """ + includeAsSponsor: Boolean = false - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} + """ + Whether or not to include private activities in the result set. Defaults to including public and private activities. + """ + includePrivate: Boolean = true -""" -An edge in a connection. -""" -type PullRequestReviewCommentEdge { - """ - A cursor for use in pagination. - """ - cursor: String! + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The item at the end of the edge. - """ - node: PullRequestReviewComment -} + """ + Ordering options for activity returned from the connection. + """ + orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} -""" -The possible states of a pull request review comment. -""" -enum PullRequestReviewCommentState { - """ - A comment that is part of a pending review - """ - PENDING + """ + Filter activities returned to only those that occurred in the most recent + specified time period. Set to ALL to avoid filtering by when the activity + occurred. Will be ignored if `since` or `until` is given. + """ + period: SponsorsActivityPeriod = MONTH - """ - A comment that is part of a submitted review - """ - SUBMITTED -} + """ + Filter activities to those that occurred on or after this time. + """ + since: DateTime -""" -The connection type for PullRequestReview. -""" -type PullRequestReviewConnection { - """ - A list of edges. - """ - edges: [PullRequestReviewEdge] + """ + Filter activities to those that occurred before this time. + """ + until: DateTime + ): SponsorsActivityConnection! """ - A list of nodes. + The GitHub Sponsors listing for this user or organization. """ - nodes: [PullRequestReview] + sponsorsListing: SponsorsListing """ - Information to aid in pagination. + The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. """ - pageInfo: PageInfo! + sponsorshipForViewerAsSponsor( + """ + Whether to return the sponsorship only if it's still active. Pass false to + get the viewer's sponsorship back even if it has been cancelled. + """ + activeOnly: Boolean = true + ): Sponsorship """ - Identifies the total count of items in the connection. + The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. """ - totalCount: Int! -} - -""" -This aggregates pull request reviews made by a user within one repository. -""" -type PullRequestReviewContributionsByRepository { + sponsorshipForViewerAsSponsorable( + """ + Whether to return the sponsorship only if it's still active. Pass false to + get the sponsorship back even if it has been cancelled. + """ + activeOnly: Boolean = true + ): Sponsorship + """ - The pull request review contributions. + List of sponsorship updates sent from this sponsorable to sponsors. """ - contributions( + sponsorshipNewsletters( """ Returns the elements in the list that come after the specified cursor. """ @@ -38856,115 +58151,62 @@ type PullRequestReviewContributionsByRepository { last: Int """ - Ordering options for contributions returned from the connection. + Ordering options for sponsorship updates returned from the connection. """ - orderBy: ContributionOrder = {direction: DESC} - ): CreatedPullRequestReviewContributionConnection! - - """ - The repository in which the pull request reviews were made. - """ - repository: Repository! -} - -""" -The review status of a pull request. -""" -enum PullRequestReviewDecision { - """ - The pull request has received an approving review. - """ - APPROVED - - """ - Changes have been requested on the pull request. - """ - CHANGES_REQUESTED - - """ - A review is required before the pull request can be merged. - """ - REVIEW_REQUIRED -} - -""" -An edge in a connection. -""" -type PullRequestReviewEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: PullRequestReview -} - -""" -The possible events to perform on a pull request review. -""" -enum PullRequestReviewEvent { - """ - Submit feedback and approve merging these changes. - """ - APPROVE + orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC} + ): SponsorshipNewsletterConnection! """ - Submit general feedback without explicit approval. + The sponsorships where this user or organization is the maintainer receiving the funds. """ - COMMENT + sponsorshipsAsMaintainer( + """ + Whether to include only sponsorships that are active right now, versus all + sponsorships this maintainer has ever received. + """ + activeOnly: Boolean = true - """ - Dismiss review so it now longer effects merging. - """ - DISMISS + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - Submit feedback that must be addressed before merging. - """ - REQUEST_CHANGES -} + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String -""" -The possible states of a pull request review. -""" -enum PullRequestReviewState { - """ - A review allowing the pull request to merge. - """ - APPROVED + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - A review blocking the pull request from merging. - """ - CHANGES_REQUESTED + """ + Whether or not to include private sponsorships in the result set + """ + includePrivate: Boolean = false - """ - An informational review. - """ - COMMENTED + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - A review that has been dismissed. - """ - DISMISSED + """ + Ordering options for sponsorships returned from this connection. If left + blank, the sponsorships will be ordered based on relevancy to the viewer. + """ + orderBy: SponsorshipOrder + ): SponsorshipConnection! """ - A review that has not yet been submitted. + The sponsorships where this user or organization is the funder. """ - PENDING -} + sponsorshipsAsSponsor( + """ + Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. + """ + activeOnly: Boolean = true -""" -A threaded list of comments for a given pull request. -""" -type PullRequestReviewThread implements Node { - """ - A list of pull request comments associated with the thread. - """ - comments( """ Returns the elements in the list that come after the specified cursor. """ @@ -38986,115 +58228,70 @@ type PullRequestReviewThread implements Node { last: Int """ - Skips the first _n_ elements in the list. + Filter sponsorships returned to those for the specified maintainers. That + is, the recipient of the sponsorship is a user or organization with one of + the given logins. """ - skip: Int - ): PullRequestReviewCommentConnection! - - """ - The side of the diff on which this thread was placed. - """ - diffSide: DiffSide! - - """ - The Node ID of the PullRequestReviewThread object - """ - id: ID! - - """ - Whether or not the thread has been collapsed (resolved) - """ - isCollapsed: Boolean! - - """ - Indicates whether this thread was outdated by newer changes. - """ - isOutdated: Boolean! - - """ - Whether this thread has been resolved - """ - isResolved: Boolean! - - """ - The line in the file to which this thread refers - """ - line: Int - - """ - The original line in the file to which this thread refers. - """ - originalLine: Int - - """ - The original start line in the file to which this thread refers (multi-line only). - """ - originalStartLine: Int - - """ - Identifies the file path of this thread. - """ - path: String! - - """ - Identifies the pull request associated with this thread. - """ - pullRequest: PullRequest! - - """ - Identifies the repository associated with this thread. - """ - repository: Repository! - - """ - The user who resolved this thread - """ - resolvedBy: User + maintainerLogins: [String!] - """ - The side of the diff that the first line of the thread starts on (multi-line only) - """ - startDiffSide: DiffSide + """ + Ordering options for sponsorships returned from this connection. If left + blank, the sponsorships will be ordered based on relevancy to the viewer. + """ + orderBy: SponsorshipOrder + ): SponsorshipConnection! """ - The start line in the file to which this thread refers (multi-line only) + The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has + spent on GitHub to fund sponsorships. Only returns a value when viewed by the + user themselves or by a user who can manage sponsorships for the requested organization. """ - startLine: Int + totalSponsorshipAmountAsSponsorInCents( + """ + Filter payments to those that occurred on or after this time. + """ + since: DateTime - """ - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file - """ - subjectType: PullRequestReviewThreadSubjectType! + """ + Filter payments to those made to the users or organizations with the specified usernames. + """ + sponsorableLogins: [String!] = [] - """ - Indicates whether the current viewer can reply to this thread. - """ - viewerCanReply: Boolean! + """ + Filter payments to those that occurred before this time. + """ + until: DateTime + ): Int """ - Whether or not the viewer can resolve this thread + Whether or not the viewer is able to sponsor this user/organization. """ - viewerCanResolve: Boolean! + viewerCanSponsor: Boolean! """ - Whether or not the viewer can unresolve this thread + True if the viewer is sponsoring this user/organization. """ - viewerCanUnresolve: Boolean! + viewerIsSponsoring: Boolean! } """ -Review comment threads for a pull request review. +Entities that can be sponsored via GitHub Sponsors """ -type PullRequestReviewThreadConnection { +union SponsorableItem = Organization | User + +""" +The connection type for SponsorableItem. +""" +type SponsorableItemConnection { """ A list of edges. """ - edges: [PullRequestReviewThreadEdge] + edges: [SponsorableItemEdge] """ A list of nodes. """ - nodes: [PullRequestReviewThread] + nodes: [SponsorableItem] """ Information to aid in pagination. @@ -39110,7 +58307,7 @@ type PullRequestReviewThreadConnection { """ An edge in a connection. """ -type PullRequestReviewThreadEdge { +type SponsorableItemEdge { """ A cursor for use in pagination. """ @@ -39119,212 +58316,137 @@ type PullRequestReviewThreadEdge { """ The item at the end of the edge. """ - node: PullRequestReviewThread -} - -""" -The possible subject types of a pull request review comment. -""" -enum PullRequestReviewThreadSubjectType { - """ - A comment that has been made against the file of a pull request - """ - FILE - - """ - A comment that has been made against the line of a pull request - """ - LINE -} - -""" -Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. -""" -type PullRequestRevisionMarker { - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - The last commit the viewer has seen. - """ - lastSeenCommit: Commit! - - """ - The pull request to which the marker belongs. - """ - pullRequest: PullRequest! + node: SponsorableItem } """ -The possible states of a pull request. +Ordering options for connections to get sponsorable entities for GitHub Sponsors. """ -enum PullRequestState { - """ - A pull request that has been closed without being merged. - """ - CLOSED - +input SponsorableOrder { """ - A pull request that has been closed by being merged. + The ordering direction. """ - MERGED + direction: OrderDirection! """ - A pull request that is still open. + The field to order sponsorable entities by. """ - OPEN + field: SponsorableOrderField! } """ -A repository pull request template. +Properties by which sponsorable connections can be ordered. """ -type PullRequestTemplate { - """ - The body of the template - """ - body: String - - """ - The filename of the template - """ - filename: String - +enum SponsorableOrderField { """ - The repository the template belongs to + Order sponsorable entities by login (username). """ - repository: Repository! + LOGIN } """ -A threaded list of comments for a given pull request. +An event related to sponsorship activity. """ -type PullRequestThread implements Node { +type SponsorsActivity implements Node { """ - A list of pull request comments associated with the thread. + What action this activity indicates took place. """ - comments( - """ - 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 - - """ - Skips the first _n_ elements in the list. - """ - skip: Int - ): PullRequestReviewCommentConnection! + action: SponsorsActivityAction! """ - The side of the diff on which this thread was placed. + The sponsor's current privacy level. """ - diffSide: DiffSide! + currentPrivacyLevel: SponsorshipPrivacy """ - The Node ID of the PullRequestThread object + The Node ID of the SponsorsActivity object """ id: ID! """ - Whether or not the thread has been collapsed (resolved) - """ - isCollapsed: Boolean! - - """ - Indicates whether this thread was outdated by newer changes. + The platform that was used to pay for the sponsorship. """ - isOutdated: Boolean! + paymentSource: SponsorshipPaymentSource """ - Whether this thread has been resolved + The tier that the sponsorship used to use, for tier change events. """ - isResolved: Boolean! + previousSponsorsTier: SponsorsTier """ - The line in the file to which this thread refers + The user or organization who triggered this activity and was/is sponsoring the sponsorable. """ - line: Int + sponsor: Sponsor """ - Identifies the file path of this thread. + The user or organization that is being sponsored, the maintainer. """ - path: String! + sponsorable: Sponsorable! """ - Identifies the pull request associated with this thread. + The associated sponsorship tier. """ - pullRequest: PullRequest! + sponsorsTier: SponsorsTier """ - Identifies the repository associated with this thread. + The timestamp of this event. """ - repository: Repository! + timestamp: DateTime """ - The user who resolved this thread + Was this sponsorship made alongside other sponsorships at the same time from the same sponsor? """ - resolvedBy: User + viaBulkSponsorship: Boolean! +} +""" +The possible actions that GitHub Sponsors activities can represent. +""" +enum SponsorsActivityAction { """ - The side of the diff that the first line of the thread starts on (multi-line only) + The activity was cancelling a sponsorship. """ - startDiffSide: DiffSide + CANCELLED_SPONSORSHIP """ - The line of the first file diff in the thread. + The activity was starting a sponsorship. """ - startLine: Int + NEW_SPONSORSHIP """ - The level at which the comments in the corresponding thread are targeted, can be a diff line or a file + The activity was scheduling a downgrade or cancellation. """ - subjectType: PullRequestReviewThreadSubjectType! + PENDING_CHANGE """ - Indicates whether the current viewer can reply to this thread. + The activity was funds being refunded to the sponsor or GitHub. """ - viewerCanReply: Boolean! + REFUND """ - Whether or not the viewer can resolve this thread + The activity was disabling matching for a previously matched sponsorship. """ - viewerCanResolve: Boolean! + SPONSOR_MATCH_DISABLED """ - Whether or not the viewer can unresolve this thread + The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. """ - viewerCanUnresolve: Boolean! + TIER_CHANGE } """ -The connection type for PullRequestTimelineItem. +The connection type for SponsorsActivity. """ -type PullRequestTimelineConnection { +type SponsorsActivityConnection { """ A list of edges. """ - edges: [PullRequestTimelineItemEdge] + edges: [SponsorsActivityEdge] """ A list of nodes. """ - nodes: [PullRequestTimelineItem] + nodes: [SponsorsActivity] """ Information to aid in pagination. @@ -39337,15 +58459,10 @@ type PullRequestTimelineConnection { totalCount: Int! } -""" -An item in a pull request timeline -""" -union PullRequestTimelineItem = AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent | Commit | CommitCommentThread | CrossReferencedEvent | DemilestonedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IssueComment | LabeledEvent | LockedEvent | MergedEvent | MilestonedEvent | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | ReferencedEvent | RenamedTitleEvent | ReopenedEvent | ReviewDismissedEvent | ReviewRequestRemovedEvent | ReviewRequestedEvent | SubscribedEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnsubscribedEvent | UserBlockedEvent - """ An edge in a connection. """ -type PullRequestTimelineItemEdge { +type SponsorsActivityEdge { """ A cursor for use in pagination. """ @@ -39354,2113 +58471,1677 @@ type PullRequestTimelineItemEdge { """ The item at the end of the edge. """ - node: PullRequestTimelineItem + node: SponsorsActivity } """ -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 | 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. +Ordering options for GitHub Sponsors activity connections. """ -type PullRequestTimelineItemsConnection { - """ - A list of edges. - """ - edges: [PullRequestTimelineItemsEdge] - - """ - Identifies the count of items after applying `before` and `after` filters. - """ - filteredCount: Int! - +input SponsorsActivityOrder { """ - A list of nodes. + The ordering direction. """ - nodes: [PullRequestTimelineItems] + direction: OrderDirection! """ - Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing. + The field to order activity by. """ - pageCount: Int! + field: SponsorsActivityOrderField! +} +""" +Properties by which GitHub Sponsors activity connections can be ordered. +""" +enum SponsorsActivityOrderField { """ - Information to aid in pagination. + Order activities by when they happened. """ - pageInfo: PageInfo! + TIMESTAMP +} +""" +The possible time periods for which Sponsors activities can be requested. +""" +enum SponsorsActivityPeriod { """ - Identifies the total count of items in the connection. + Don't restrict the activity to any date range, include all activity. """ - totalCount: Int! + ALL """ - Identifies the date and time when the timeline was last updated. + The previous calendar day. """ - updatedAt: DateTime! -} + DAY -""" -An edge in a connection. -""" -type PullRequestTimelineItemsEdge { """ - A cursor for use in pagination. + The previous thirty days. """ - cursor: String! + MONTH """ - The item at the end of the edge. + The previous seven days. """ - node: PullRequestTimelineItems + WEEK } """ -The possible item types found in a timeline. +Represents countries or regions for billing and residence for a GitHub Sponsors profile. """ -enum PullRequestTimelineItemsItemType { - """ - Represents an 'added_to_merge_queue' event on a given pull request. - """ - ADDED_TO_MERGE_QUEUE_EVENT - +enum SponsorsCountryOrRegionCode { """ - Represents a 'added_to_project' event on a given issue or pull request. + Andorra """ - ADDED_TO_PROJECT_EVENT + AD """ - Represents an 'assigned' event on any assignable object. + United Arab Emirates """ - ASSIGNED_EVENT + AE """ - Represents a 'automatic_base_change_failed' event on a given pull request. + Afghanistan """ - AUTOMATIC_BASE_CHANGE_FAILED_EVENT + AF """ - Represents a 'automatic_base_change_succeeded' event on a given pull request. + Antigua and Barbuda """ - AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT + AG """ - Represents a 'auto_merge_disabled' event on a given pull request. + Anguilla """ - AUTO_MERGE_DISABLED_EVENT + AI """ - Represents a 'auto_merge_enabled' event on a given pull request. + Albania """ - AUTO_MERGE_ENABLED_EVENT + AL """ - Represents a 'auto_rebase_enabled' event on a given pull request. + Armenia """ - AUTO_REBASE_ENABLED_EVENT + AM """ - Represents a 'auto_squash_enabled' event on a given pull request. + Angola """ - AUTO_SQUASH_ENABLED_EVENT + AO """ - Represents a 'base_ref_changed' event on a given issue or pull request. + Antarctica """ - BASE_REF_CHANGED_EVENT + AQ """ - Represents a 'base_ref_deleted' event on a given pull request. + Argentina """ - BASE_REF_DELETED_EVENT + AR """ - Represents a 'base_ref_force_pushed' event on a given pull request. + American Samoa """ - BASE_REF_FORCE_PUSHED_EVENT + AS """ - Represents a 'closed' event on any `Closable`. + Austria """ - CLOSED_EVENT + AT """ - Represents a 'comment_deleted' event on a given issue or pull request. + Australia """ - COMMENT_DELETED_EVENT + AU """ - Represents a 'connected' event on a given issue or pull request. + Aruba """ - CONNECTED_EVENT + AW """ - Represents a 'converted_note_to_issue' event on a given issue or pull request. + Åland """ - CONVERTED_NOTE_TO_ISSUE_EVENT + AX """ - Represents a 'converted_to_discussion' event on a given issue. + Azerbaijan """ - CONVERTED_TO_DISCUSSION_EVENT + AZ """ - Represents a 'convert_to_draft' event on a given pull request. + Bosnia and Herzegovina """ - CONVERT_TO_DRAFT_EVENT + BA """ - Represents a mention made by one issue or pull request to another. + Barbados """ - CROSS_REFERENCED_EVENT + BB """ - Represents a 'demilestoned' event on a given issue or pull request. + Bangladesh """ - DEMILESTONED_EVENT + BD """ - Represents a 'deployed' event on a given pull request. + Belgium """ - DEPLOYED_EVENT + BE """ - Represents a 'deployment_environment_changed' event on a given pull request. + Burkina Faso """ - DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT + BF """ - Represents a 'disconnected' event on a given issue or pull request. + Bulgaria """ - DISCONNECTED_EVENT + BG """ - Represents a 'head_ref_deleted' event on a given pull request. + Bahrain """ - HEAD_REF_DELETED_EVENT + BH """ - Represents a 'head_ref_force_pushed' event on a given pull request. + Burundi """ - HEAD_REF_FORCE_PUSHED_EVENT + BI """ - Represents a 'head_ref_restored' event on a given pull request. + Benin """ - HEAD_REF_RESTORED_EVENT + BJ """ - Represents a comment on an Issue. + Saint Barthélemy """ - ISSUE_COMMENT + BL """ - Represents a 'labeled' event on a given issue or pull request. + Bermuda """ - LABELED_EVENT + BM """ - Represents a 'locked' event on a given issue or pull request. + Brunei Darussalam """ - LOCKED_EVENT + BN """ - Represents a 'marked_as_duplicate' event on a given issue or pull request. + Bolivia """ - MARKED_AS_DUPLICATE_EVENT + BO """ - Represents a 'mentioned' event on a given issue or pull request. + Bonaire, Sint Eustatius and Saba """ - MENTIONED_EVENT + BQ """ - Represents a 'merged' event on a given pull request. + Brazil """ - MERGED_EVENT + BR """ - Represents a 'milestoned' event on a given issue or pull request. + Bahamas """ - MILESTONED_EVENT + BS """ - Represents a 'moved_columns_in_project' event on a given issue or pull request. + Bhutan """ - MOVED_COLUMNS_IN_PROJECT_EVENT + BT """ - Represents a 'parent_issue_added' event on a given issue. + Bouvet Island """ - PARENT_ISSUE_ADDED_EVENT + BV """ - Represents a 'parent_issue_removed' event on a given issue. + Botswana """ - PARENT_ISSUE_REMOVED_EVENT + BW """ - Represents a 'pinned' event on a given issue or pull request. + Belarus """ - PINNED_EVENT + BY """ - Represents a Git commit part of a pull request. + Belize """ - PULL_REQUEST_COMMIT + BZ """ - Represents a commit comment thread part of a pull request. + Canada """ - PULL_REQUEST_COMMIT_COMMENT_THREAD + CA """ - A review object for a given pull request. + Cocos (Keeling) Islands """ - PULL_REQUEST_REVIEW + CC """ - A threaded list of comments for a given pull request. + Congo (Kinshasa) """ - PULL_REQUEST_REVIEW_THREAD + CD """ - Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. + Central African Republic """ - PULL_REQUEST_REVISION_MARKER + CF """ - Represents a 'ready_for_review' event on a given pull request. + Congo (Brazzaville) """ - READY_FOR_REVIEW_EVENT + CG """ - Represents a 'referenced' event on a given `ReferencedSubject`. + Switzerland """ - REFERENCED_EVENT + CH """ - Represents a 'removed_from_merge_queue' event on a given pull request. + Côte d'Ivoire """ - REMOVED_FROM_MERGE_QUEUE_EVENT + CI """ - Represents a 'removed_from_project' event on a given issue or pull request. + Cook Islands """ - REMOVED_FROM_PROJECT_EVENT + CK """ - Represents a 'renamed' event on a given issue or pull request + Chile """ - RENAMED_TITLE_EVENT + CL """ - Represents a 'reopened' event on any `Closable`. + Cameroon """ - REOPENED_EVENT + CM """ - Represents a 'review_dismissed' event on a given issue or pull request. + China """ - REVIEW_DISMISSED_EVENT + CN """ - Represents an 'review_requested' event on a given pull request. + Colombia """ - REVIEW_REQUESTED_EVENT + CO """ - Represents an 'review_request_removed' event on a given pull request. + Costa Rica """ - REVIEW_REQUEST_REMOVED_EVENT + CR """ - Represents a 'subscribed' event on a given `Subscribable`. + Cape Verde """ - SUBSCRIBED_EVENT + CV """ - Represents a 'sub_issue_added' event on a given issue. + Curaçao """ - SUB_ISSUE_ADDED_EVENT + CW """ - Represents a 'sub_issue_removed' event on a given issue. + Christmas Island """ - SUB_ISSUE_REMOVED_EVENT + CX """ - Represents a 'transferred' event on a given issue or pull request. + Cyprus """ - TRANSFERRED_EVENT + CY """ - Represents an 'unassigned' event on any assignable object. + Czech Republic """ - UNASSIGNED_EVENT + CZ """ - Represents an 'unlabeled' event on a given issue or pull request. + Germany """ - UNLABELED_EVENT + DE """ - Represents an 'unlocked' event on a given issue or pull request. + Djibouti """ - UNLOCKED_EVENT + DJ """ - Represents an 'unmarked_as_duplicate' event on a given issue or pull request. + Denmark """ - UNMARKED_AS_DUPLICATE_EVENT + DK """ - Represents an 'unpinned' event on a given issue or pull request. + Dominica """ - UNPINNED_EVENT + DM """ - Represents an 'unsubscribed' event on a given `Subscribable`. + Dominican Republic """ - UNSUBSCRIBED_EVENT + DO """ - Represents a 'user_blocked' event on a given user. + Algeria """ - USER_BLOCKED_EVENT -} + DZ -""" -The possible target states when updating a pull request. -""" -enum PullRequestUpdateState { """ - A pull request that has been closed without being merged. + Ecuador """ - CLOSED + EC """ - A pull request that is still open. + Estonia """ - OPEN -} + EE -""" -A Git push. -""" -type Push implements Node { """ - The Node ID of the Push object + Egypt """ - id: ID! + EG """ - The SHA after the push + Western Sahara """ - nextSha: GitObjectID + EH """ - The permalink for this push. + Eritrea """ - permalink: URI! + ER """ - The SHA before the push + Spain """ - previousSha: GitObjectID + ES """ - The actor who pushed + Ethiopia """ - pusher: Actor! + ET """ - The repository that was pushed to + Finland """ - repository: Repository! -} + FI -""" -A team, user, or app who has the ability to push to a protected branch. -""" -type PushAllowance implements Node { """ - The actor that can push. + Fiji """ - actor: PushAllowanceActor + FJ """ - Identifies the branch protection rule associated with the allowed user, team, or app. + Falkland Islands """ - branchProtectionRule: BranchProtectionRule + FK """ - The Node ID of the PushAllowance object + Micronesia """ - id: ID! -} - -""" -Types that can be an actor. -""" -union PushAllowanceActor = App | Team | User + FM -""" -The connection type for PushAllowance. -""" -type PushAllowanceConnection { """ - A list of edges. + Faroe Islands """ - edges: [PushAllowanceEdge] + FO """ - A list of nodes. + France """ - nodes: [PushAllowance] + FR """ - Information to aid in pagination. + Gabon """ - pageInfo: PageInfo! + GA """ - Identifies the total count of items in the connection. + United Kingdom """ - totalCount: Int! -} + GB -""" -An edge in a connection. -""" -type PushAllowanceEdge { """ - A cursor for use in pagination. + Grenada """ - cursor: String! + GD """ - The item at the end of the edge. + Georgia """ - node: PushAllowance -} + GE -""" -The query root of GitHub's GraphQL interface. -""" -type Query implements Node { """ - Look up a code of conduct by its key + French Guiana """ - codeOfConduct( - """ - The code of conduct's key - """ - key: String! - ): CodeOfConduct + GF """ - Look up a code of conduct by its key + Guernsey """ - codesOfConduct: [CodeOfConduct] + GG """ - Look up an enterprise by URL slug. + Ghana """ - enterprise( - """ - The enterprise invitation token. - """ - invitationToken: String - - """ - The enterprise URL slug. - """ - slug: String! - ): Enterprise + GH """ - Look up a pending enterprise administrator invitation by invitee, enterprise and role. + Gibraltar """ - enterpriseAdministratorInvitation( - """ - The slug of the enterprise the user was invited to join. - """ - enterpriseSlug: String! - - """ - The role for the enterprise member invitation. - """ - role: EnterpriseAdministratorRole! - - """ - The login of the user invited to join the enterprise. - """ - userLogin: String! - ): EnterpriseAdministratorInvitation + GI """ - Look up a pending enterprise administrator invitation by invitation token. + Greenland """ - enterpriseAdministratorInvitationByToken( - """ - The invitation token sent with the invitation email. - """ - invitationToken: String! - ): EnterpriseAdministratorInvitation + GL """ - Look up a pending enterprise unaffiliated member invitation by invitee and enterprise. + Gambia """ - enterpriseMemberInvitation( - """ - The slug of the enterprise the user was invited to join. - """ - enterpriseSlug: String! - - """ - The login of the user invited to join the enterprise. - """ - userLogin: String! - ): EnterpriseMemberInvitation + GM """ - Look up a pending enterprise unaffiliated member invitation by invitation token. + Guinea """ - enterpriseMemberInvitationByToken( - """ - The invitation token sent with the invitation email. - """ - invitationToken: String! - ): EnterpriseMemberInvitation + GN """ - ID of the object. + Guadeloupe """ - id: ID! + GP """ - Look up an open source license by its key + Equatorial Guinea """ - license( - """ - The license's downcased SPDX ID - """ - key: String! - ): License + GQ """ - Return a list of known open source licenses + Greece """ - licenses: [License]! + GR """ - Get alphabetically sorted list of Marketplace categories + South Georgia and South Sandwich Islands """ - marketplaceCategories( - """ - Exclude categories with no listings. - """ - excludeEmpty: Boolean - - """ - Returns top level categories only, excluding any subcategories. - """ - excludeSubcategories: Boolean - - """ - Return only the specified categories. - """ - includeCategories: [String!] - ): [MarketplaceCategory!]! + GS """ - Look up a Marketplace category by its slug. + Guatemala """ - marketplaceCategory( - """ - The URL slug of the category. - """ - slug: String! - - """ - Also check topic aliases for the category slug - """ - useTopicAliases: Boolean - ): MarketplaceCategory + GT """ - Look up a single Marketplace listing + Guam """ - marketplaceListing( - """ - Select the listing that matches this slug. It's the short name of the listing used in its URL. - """ - slug: String! - ): MarketplaceListing + GU """ - Look up Marketplace listings - """ - marketplaceListings( - """ - Select listings that can be administered by the specified user. - """ - adminId: ID - - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + Guinea-Bissau + """ + GW - """ - Select listings visible to the viewer even if they are not approved. If omitted or - false, only approved listings will be returned. - """ - allStates: Boolean + """ + Guyana + """ + GY - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Hong Kong + """ + HK - """ - Select only listings with the given category. - """ - categorySlug: String + """ + Heard and McDonald Islands + """ + HM - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Honduras + """ + HN - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Croatia + """ + HR - """ - Select listings for products owned by the specified organization. - """ - organizationId: ID + """ + Haiti + """ + HT - """ - Select only listings where the primary category matches the given category slug. - """ - primaryCategoryOnly: Boolean = false + """ + Hungary + """ + HU - """ - Select the listings with these slugs, if they are visible to the viewer. - """ - slugs: [String] + """ + Indonesia + """ + ID - """ - Also check topic aliases for the category slug - """ - useTopicAliases: Boolean + """ + Ireland + """ + IE - """ - Select listings to which user has admin access. If omitted, listings visible to the - viewer are returned. - """ - viewerCanAdmin: Boolean + """ + Israel + """ + IL - """ - Select only listings that offer a free trial. - """ - withFreeTrialsOnly: Boolean = false - ): MarketplaceListingConnection! + """ + Isle of Man + """ + IM """ - Return information about the GitHub instance + India """ - meta: GitHubMetadata! + IN """ - Fetches an object given its ID. + British Indian Ocean Territory """ - node( - """ - ID of the object. - """ - id: ID! - ): Node + IO """ - Lookup nodes by a list of IDs. + Iraq """ - nodes( - """ - The list of node IDs. - """ - ids: [ID!]! - ): [Node]! + IQ """ - Lookup a organization by login. + Iran """ - organization( - """ - The organization's login. - """ - login: String! - ): Organization + IR """ - The client's rate limit information. + Iceland """ - rateLimit( - """ - If true, calculate the cost for the query without evaluating it - """ - dryRun: Boolean = false - ): RateLimit + IS """ - Workaround for re-exposing the root query object. (Refer to - https://github.com/facebook/relay/issues/112 for more information.) + Italy """ - relay: Query! + IT """ - Lookup a given repository by the owner and repository name. + Jersey """ - repository( - """ - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - """ - followRenames: Boolean = true + JE - """ - The name of the repository - """ - name: String! + """ + Jamaica + """ + JM - """ - The login field of a user or organization - """ - owner: String! - ): Repository + """ + Jordan + """ + JO """ - Lookup a repository owner (ie. either a User or an Organization) by login. + Japan """ - repositoryOwner( - """ - The username to lookup the owner by. - """ - login: String! - ): RepositoryOwner + JP """ - Lookup resource by a URL. + Kenya """ - resource( - """ - The URL. - """ - url: URI! - ): UniformResourceLocatable + KE """ - Perform a search across resources, returning a maximum of 1,000 results. + Kyrgyzstan """ - search( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + KG - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Cambodia + """ + KH - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Kiribati + """ + KI - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Comoros + """ + KM - """ - The search string to look for. GitHub search syntax is supported. For more - information, see "[Searching on - GitHub](https://docs.github.com/search-github/searching-on-github)," - "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax)," - and "[Sorting search results](https://docs.github.com/search-github/getting-started-with-searching-on-github/sorting-search-results)." - """ - query: String! + """ + Saint Kitts and Nevis + """ + KN - """ - The types of search items to search within. - """ - type: SearchType! - ): SearchResultItemConnection! + """ + Korea, South + """ + KR """ - GitHub Security Advisories + Kuwait """ - securityAdvisories( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + KW - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Cayman Islands + """ + KY - """ - A list of classifications to filter advisories by. - """ - classifications: [SecurityAdvisoryClassification!] + """ + Kazakhstan + """ + KZ - """ - The EPSS percentage to filter advisories by. - """ - epssPercentage: Float + """ + Laos + """ + LA - """ - The EPSS percentile to filter advisories by. - """ - epssPercentile: Float + """ + Lebanon + """ + LB - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Saint Lucia + """ + LC - """ - Filter advisories by identifier, e.g. GHSA or CVE. - """ - identifier: SecurityAdvisoryIdentifierFilter + """ + Liechtenstein + """ + LI - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Sri Lanka + """ + LK - """ - Ordering options for the returned topics. - """ - orderBy: SecurityAdvisoryOrder = {field: UPDATED_AT, direction: DESC} + """ + Liberia + """ + LR - """ - Filter advisories to those published since a time in the past. - """ - publishedSince: DateTime + """ + Lesotho + """ + LS - """ - Filter advisories to those updated since a time in the past. - """ - updatedSince: DateTime - ): SecurityAdvisoryConnection! + """ + Lithuania + """ + LT """ - Fetch a Security Advisory by its GHSA ID + Luxembourg """ - securityAdvisory( - """ - GitHub Security Advisory ID. - """ - ghsaId: String! - ): SecurityAdvisory + LU """ - Software Vulnerabilities documented by GitHub Security Advisories + Latvia """ - securityVulnerabilities( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + LV - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Libya + """ + LY - """ - A list of advisory classifications to filter vulnerabilities by. - """ - classifications: [SecurityAdvisoryClassification!] + """ + Morocco + """ + MA - """ - An ecosystem to filter vulnerabilities by. - """ - ecosystem: SecurityAdvisoryEcosystem + """ + Monaco + """ + MC - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Moldova + """ + MD - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Montenegro + """ + ME - """ - Ordering options for the returned topics. - """ - orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} + """ + Saint Martin (French part) + """ + MF - """ - A package name to filter vulnerabilities by. - """ - package: String + """ + Madagascar + """ + MG - """ - A list of severities to filter vulnerabilities by. - """ - severities: [SecurityAdvisorySeverity!] - ): SecurityVulnerabilityConnection! + """ + Marshall Islands + """ + MH """ - Users and organizations who can be sponsored via GitHub Sponsors. + Macedonia """ - sponsorables( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + MK - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Mali + """ + ML - """ - Optional filter for which dependencies should be checked for sponsorable - owners. Only sponsorable owners of dependencies in this ecosystem will be - included. Used when onlyDependencies = true. + """ + Myanmar + """ + MM - **Upcoming Change on 2022-07-01 UTC** - **Description:** `dependencyEcosystem` will be removed. Use the ecosystem argument instead. - **Reason:** The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem. - """ - dependencyEcosystem: SecurityAdvisoryEcosystem + """ + Mongolia + """ + MN - """ - Optional filter for which dependencies should be checked for sponsorable - owners. Only sponsorable owners of dependencies in this ecosystem will be - included. Used when onlyDependencies = true. - """ - ecosystem: DependencyGraphEcosystem + """ + Macau + """ + MO - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Northern Mariana Islands + """ + MP - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Martinique + """ + MQ - """ - Whether only sponsorables who own the viewer's dependencies will be - returned. Must be authenticated to use. Can check an organization instead - for their dependencies owned by sponsorables by passing - orgLoginForDependencies. - """ - onlyDependencies: Boolean = false + """ + Mauritania + """ + MR - """ - Ordering options for users and organizations returned from the connection. - """ - orderBy: SponsorableOrder = {field: LOGIN, direction: ASC} + """ + Montserrat + """ + MS - """ - Optional organization username for whose dependencies should be checked. - Used when onlyDependencies = true. Omit to check your own dependencies. If - you are not an administrator of the organization, only dependencies from its - public repositories will be considered. - """ - orgLoginForDependencies: String - ): SponsorableItemConnection! + """ + Malta + """ + MT """ - Look up a topic by name. + Mauritius """ - topic( - """ - The topic's name. - """ - name: String! - ): Topic + MU """ - Lookup a user by login. + Maldives """ - user( - """ - The user's login. - """ - login: String! - ): User + MV """ - The currently authenticated user. + Malawi """ - viewer: User! -} + MW -""" -Represents the client's rate limit. -""" -type RateLimit { """ - The point cost for the current query counting against the rate limit. + Mexico """ - cost: Int! + MX """ - The maximum number of points the client is permitted to consume in a 60 minute window. + Malaysia """ - limit: Int! + MY """ - The maximum number of nodes this query may return + Mozambique """ - nodeCount: Int! + MZ """ - The number of points remaining in the current rate limit window. + Namibia """ - remaining: Int! + NA """ - The time at which the current rate limit window resets in UTC epoch seconds. + New Caledonia """ - resetAt: DateTime! + NC """ - The number of points used in the current rate limit window. + Niger """ - used: Int! -} + NE -""" -Represents a subject that can be reacted on. -""" -interface Reactable { """ - Identifies the primary key from the database. + Norfolk Island """ - databaseId: Int + NF """ - The Node ID of the Reactable object + Nigeria """ - id: ID! + NG """ - A list of reactions grouped by content left on the subject. + Nicaragua """ - reactionGroups: [ReactionGroup!] + NI """ - A list of Reactions left on the Issue. + Netherlands """ - reactions( - """ - 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 - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + NL """ - Can user react to this subject + Norway """ - viewerCanReact: Boolean! -} + NO -""" -The connection type for User. -""" -type ReactingUserConnection { """ - A list of edges. + Nepal """ - edges: [ReactingUserEdge] + NP """ - A list of nodes. + Nauru """ - nodes: [User] + NR """ - Information to aid in pagination. + Niue """ - pageInfo: PageInfo! + NU """ - Identifies the total count of items in the connection. + New Zealand """ - totalCount: Int! -} + NZ -""" -Represents a user that's made a reaction. -""" -type ReactingUserEdge { """ - A cursor for use in pagination. + Oman """ - cursor: String! - node: User! + OM """ - The moment when the user made the reaction. + Panama """ - reactedAt: DateTime! -} + PA -""" -An emoji reaction to a particular piece of content. -""" -type Reaction implements Node { """ - Identifies the emoji reaction. + Peru """ - content: ReactionContent! + PE """ - Identifies the date and time when the object was created. + French Polynesia """ - createdAt: DateTime! + PF """ - Identifies the primary key from the database. + Papua New Guinea """ - databaseId: Int + PG """ - The Node ID of the Reaction object + Philippines """ - id: ID! + PH """ - The reactable piece of content + Pakistan """ - reactable: Reactable! + PK """ - Identifies the user who created this reaction. + Poland """ - user: User -} + PL -""" -A list of reactions that have been left on the subject. -""" -type ReactionConnection { """ - A list of edges. + Saint Pierre and Miquelon """ - edges: [ReactionEdge] + PM """ - A list of nodes. + Pitcairn """ - nodes: [Reaction] + PN """ - Information to aid in pagination. + Puerto Rico """ - pageInfo: PageInfo! + PR """ - Identifies the total count of items in the connection. + Palestine """ - totalCount: Int! + PS """ - Whether or not the authenticated user has left a reaction on the subject. + Portugal """ - viewerHasReacted: Boolean! -} + PT -""" -Emojis that can be attached to Issues, Pull Requests and Comments. -""" -enum ReactionContent { """ - Represents the `:confused:` emoji. + Palau """ - CONFUSED + PW """ - Represents the `:eyes:` emoji. + Paraguay """ - EYES + PY """ - Represents the `:heart:` emoji. + Qatar """ - HEART + QA """ - Represents the `:hooray:` emoji. + Reunion """ - HOORAY + RE """ - Represents the `:laugh:` emoji. + Romania """ - LAUGH + RO """ - Represents the `:rocket:` emoji. + Serbia """ - ROCKET + RS """ - Represents the `:-1:` emoji. + Russian Federation """ - THUMBS_DOWN + RU """ - Represents the `:+1:` emoji. + Rwanda """ - THUMBS_UP -} + RW -""" -An edge in a connection. -""" -type ReactionEdge { """ - A cursor for use in pagination. + Saudi Arabia """ - cursor: String! + SA """ - The item at the end of the edge. + Solomon Islands """ - node: Reaction -} + SB -""" -A group of emoji reactions to a particular piece of content. -""" -type ReactionGroup { """ - Identifies the emoji reaction. + Seychelles """ - content: ReactionContent! + SC """ - Identifies when the reaction was created. + Sudan """ - createdAt: DateTime + SD """ - Reactors to the reaction subject with the emotion represented by this reaction group. + Sweden """ - reactors( - """ - 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 - ): ReactorConnection! + SE """ - The subject that was reacted to. + Singapore """ - subject: Reactable! + SG """ - Users who have reacted to the reaction subject with the emotion represented by this reaction group + Saint Helena """ - users( - """ - 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 - ): ReactingUserConnection! @deprecated(reason: "Reactors can now be mannequins, bots, and organizations. Use the `reactors` field instead. Removal on 2021-10-01 UTC.") + SH """ - Whether or not the authenticated user has left a reaction on the subject. + Slovenia """ - viewerHasReacted: Boolean! -} + SI -""" -Ways in which lists of reactions can be ordered upon return. -""" -input ReactionOrder { """ - The direction in which to order reactions by the specified field. + Svalbard and Jan Mayen Islands """ - direction: OrderDirection! + SJ """ - The field in which to order reactions by. + Slovakia """ - field: ReactionOrderField! -} + SK -""" -A list of fields that reactions can be ordered by. -""" -enum ReactionOrderField { """ - Allows ordering a list of reactions by when they were created. + Sierra Leone """ - CREATED_AT -} - -""" -Types that can be assigned to reactions. -""" -union Reactor = Bot | Mannequin | Organization | User + SL -""" -The connection type for Reactor. -""" -type ReactorConnection { """ - A list of edges. + San Marino """ - edges: [ReactorEdge] + SM """ - A list of nodes. + Senegal """ - nodes: [Reactor] + SN """ - Information to aid in pagination. + Somalia """ - pageInfo: PageInfo! + SO """ - Identifies the total count of items in the connection. + Suriname """ - totalCount: Int! -} + SR -""" -Represents an author of a reaction. -""" -type ReactorEdge { """ - A cursor for use in pagination. + South Sudan """ - cursor: String! + SS """ - The author of the reaction. + Sao Tome and Principe """ - node: Reactor! + ST """ - The moment when the user made the reaction. + El Salvador """ - reactedAt: DateTime! -} + SV -""" -Represents a 'ready_for_review' event on a given pull request. -""" -type ReadyForReviewEvent implements Node & UniformResourceLocatable { """ - Identifies the actor who performed the event. + Sint Maarten (Dutch part) """ - actor: Actor + SX """ - Identifies the date and time when the object was created. + Syria """ - createdAt: DateTime! + SY """ - The Node ID of the ReadyForReviewEvent object + Swaziland """ - id: ID! + SZ """ - PullRequest referenced by event. + Turks and Caicos Islands """ - pullRequest: PullRequest! + TC """ - The HTTP path for this ready for review event. + Chad """ - resourcePath: URI! + TD """ - The HTTP URL for this ready for review event. + French Southern Lands """ - url: URI! -} + TF -""" -Represents a Git reference. -""" -type Ref implements Node { """ - A list of pull requests with this ref as the head ref. + Togo """ - associatedPullRequests( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - The base ref name to filter the pull requests by. - """ - baseRefName: 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 - - """ - The head ref name to filter the pull requests by. - """ - headRefName: String + TG - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] + """ + Thailand + """ + TH - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Tajikistan + """ + TJ - """ - Ordering options for pull requests returned from the connection. - """ - orderBy: IssueOrder + """ + Tokelau + """ + TK - """ - A list of states to filter the pull requests by. - """ - states: [PullRequestState!] - ): PullRequestConnection! + """ + Timor-Leste + """ + TL """ - Branch protection rules for this ref + Turkmenistan """ - branchProtectionRule: BranchProtectionRule + TM """ - Compares the current ref as a base ref to another head ref, if the comparison can be made. + Tunisia """ - compare( - """ - The head ref to compare against. - """ - headRef: String! - ): Comparison + TN """ - The Node ID of the Ref object + Tonga """ - id: ID! + TO """ - The ref name. + Türkiye """ - name: String! + TR """ - The ref's prefix, such as `refs/heads/` or `refs/tags/`. + Trinidad and Tobago """ - prefix: String! + TT """ - Branch protection rules that are viewable by non-admins + Tuvalu """ - refUpdateRule: RefUpdateRule + TV """ - The repository the ref belongs to. + Taiwan """ - repository: Repository! + TW """ - A list of rules from active Repository and Organization rulesets that apply to this ref. + Tanzania """ - rules( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + TZ - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Ukraine + """ + UA - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Uganda + """ + UG - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + United States Minor Outlying Islands + """ + UM - """ - Ordering options for repository rules. - """ - orderBy: RepositoryRuleOrder = {field: UPDATED_AT, direction: DESC} - ): RepositoryRuleConnection + """ + United States of America + """ + US """ - The object the ref points to. Returns null when object does not exist. + Uruguay """ - target: GitObject -} + UY -""" -The connection type for Ref. -""" -type RefConnection { """ - A list of edges. + Uzbekistan """ - edges: [RefEdge] + UZ """ - A list of nodes. + Vatican City """ - nodes: [Ref] + VA """ - Information to aid in pagination. + Saint Vincent and the Grenadines """ - pageInfo: PageInfo! + VC """ - Identifies the total count of items in the connection. + Venezuela """ - totalCount: Int! -} + VE -""" -An edge in a connection. -""" -type RefEdge { """ - A cursor for use in pagination. + Virgin Islands, British """ - cursor: String! + VG """ - The item at the end of the edge. + Virgin Islands, U.S. """ - node: Ref -} + VI -""" -Parameters to be used for the ref_name condition -""" -type RefNameConditionTarget { """ - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + Vietnam """ - exclude: [String!]! + VN """ - Array of ref names or patterns to include. One of these patterns must match - for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the - default branch or `~ALL` to include all branches. + Vanuatu """ - include: [String!]! -} + VU -""" -Parameters to be used for the ref_name condition -""" -input RefNameConditionTargetInput { """ - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. + Wallis and Futuna Islands """ - exclude: [String!]! + WF """ - Array of ref names or patterns to include. One of these patterns must match - for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the - default branch or `~ALL` to include all branches. + Samoa """ - include: [String!]! -} + WS -""" -Ways in which lists of git refs can be ordered upon return. -""" -input RefOrder { """ - The direction in which to order refs by the specified field. + Yemen """ - direction: OrderDirection! + YE """ - The field in which to order refs by. + Mayotte """ - field: RefOrderField! -} + YT -""" -Properties by which ref connections can be ordered. -""" -enum RefOrderField { """ - Order refs by their alphanumeric name + South Africa """ - ALPHABETICAL + ZA """ - Order refs by underlying commit date if the ref prefix is refs/tags/ + Zambia """ - TAG_COMMIT_DATE + ZM + + """ + Zimbabwe + """ + ZW } """ -A ref update +A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. """ -input RefUpdate { +type SponsorsGoal { """ - The value this ref should be updated to. + A description of the goal from the maintainer. """ - afterOid: GitObjectID! + description: String """ - The value this ref needs to point to before the update. + What the objective of this goal is. """ - beforeOid: GitObjectID + kind: SponsorsGoalKind! """ - Force a non fast-forward update. + The percentage representing how complete this goal is, between 0-100. """ - force: Boolean = false + percentComplete: Int! """ - The fully qualified name of the ref to be update. For example `refs/heads/branch-name` + What the goal amount is. Represents an amount in USD for monthly sponsorship + amount goals. Represents a count of unique sponsors for total sponsors count goals. """ - name: GitRefname! + targetValue: Int! + + """ + A brief summary of the kind and target value of this goal. + """ + title: String! } """ -Branch protection rules that are enforced on the viewer. +The different kinds of goals a GitHub Sponsors member can have. """ -type RefUpdateRule { +enum SponsorsGoalKind { """ - Can this branch be deleted. + The goal is about getting a certain amount in USD from sponsorships each month. """ - allowsDeletions: Boolean! + MONTHLY_SPONSORSHIP_AMOUNT """ - Are force pushes allowed on this branch. + The goal is about reaching a certain number of sponsors. """ - allowsForcePushes: Boolean! + TOTAL_SPONSORS_COUNT +} +""" +A GitHub Sponsors listing. +""" +type SponsorsListing implements Node { """ - Can matching branches be created. + The current goal the maintainer is trying to reach with GitHub Sponsors, if any. """ - blocksCreations: Boolean! + activeGoal: SponsorsGoal """ - Identifies the protection rule pattern. + The Stripe Connect account currently in use for payouts for this Sponsors + listing, if any. Will only return a value when queried by the maintainer + themselves, or by an admin of the sponsorable organization. """ - pattern: String! + activeStripeConnectAccount: StripeConnectAccount """ - Number of approving reviews required to update matching branches. + The name of the country or region with the maintainer's bank account or fiscal + host. Will only return a value when queried by the maintainer themselves, or + by an admin of the sponsorable organization. """ - requiredApprovingReviewCount: Int + billingCountryOrRegion: String """ - List of required status check contexts that must pass for commits to be accepted to matching branches. + The email address used by GitHub to contact the sponsorable about their GitHub + Sponsors profile. Will only return a value when queried by the maintainer + themselves, or by an admin of the sponsorable organization. """ - requiredStatusCheckContexts: [String] + contactEmailAddress: String """ - Are reviews from code owners required to update matching branches. + Identifies the date and time when the object was created. """ - requiresCodeOwnerReviews: Boolean! + createdAt: DateTime! """ - Are conversations required to be resolved before merging. + The HTTP path for the Sponsors dashboard for this Sponsors listing. """ - requiresConversationResolution: Boolean! + dashboardResourcePath: URI! """ - Are merge commits prohibited from being pushed to this branch. + The HTTP URL for the Sponsors dashboard for this Sponsors listing. """ - requiresLinearHistory: Boolean! + dashboardUrl: URI! """ - Are commits required to be signed. + The records featured on the GitHub Sponsors profile. """ - requiresSignatures: Boolean! + featuredItems( + """ + The types of featured items to return. + """ + featureableTypes: [SponsorsListingFeaturedItemFeatureableType!] = [REPOSITORY, USER] + ): [SponsorsListingFeaturedItem!]! """ - Is the viewer allowed to dismiss reviews. + The fiscal host used for payments, if any. Will only return a value when + queried by the maintainer themselves, or by an admin of the sponsorable organization. """ - viewerAllowedToDismissReviews: Boolean! + fiscalHost: Organization """ - Can the viewer push to the branch + The full description of the listing. """ - viewerCanPush: Boolean! -} + fullDescription: String! -""" -Represents a 'referenced' event on a given `ReferencedSubject`. -""" -type ReferencedEvent implements Node { """ - Identifies the actor who performed the event. + The full description of the listing rendered to HTML. """ - actor: Actor + fullDescriptionHTML: HTML! """ - Identifies the commit associated with the 'referenced' event. + The Node ID of the SponsorsListing object """ - commit: Commit + id: ID! """ - Identifies the repository associated with the 'referenced' event. + Whether this listing is publicly visible. """ - commitRepository: Repository! + isPublic: Boolean! """ - Identifies the date and time when the object was created. + The listing's full name. """ - createdAt: DateTime! + name: String! """ - The Node ID of the ReferencedEvent object + A future date on which this listing is eligible to receive a payout. """ - id: ID! + nextPayoutDate: Date """ - Reference originated in a different repository. + The name of the country or region where the maintainer resides. Will only + return a value when queried by the maintainer themselves, or by an admin of + the sponsorable organization. """ - isCrossRepository: Boolean! + residenceCountryOrRegion: String """ - Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference. + The HTTP path for this Sponsors listing. """ - isDirectReference: Boolean! + resourcePath: URI! """ - Object referenced by event. + The short description of the listing. """ - subject: ReferencedSubject! -} - -""" -Any referencable object -""" -union ReferencedSubject = Issue | PullRequest + shortDescription: String! -""" -Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes -""" -input RegenerateEnterpriseIdentityProviderRecoveryCodesInput { """ - A unique identifier for the client performing the mutation. + The short name of the listing. """ - clientMutationId: String + slug: String! """ - The ID of the enterprise on which to set an identity provider. + The entity this listing represents who can be sponsored on GitHub Sponsors. """ - enterpriseId: ID! -} + sponsorable: Sponsorable! -""" -Autogenerated return type of RegenerateEnterpriseIdentityProviderRecoveryCodes. -""" -type RegenerateEnterpriseIdentityProviderRecoveryCodesPayload { """ - A unique identifier for the client performing the mutation. + The tiers for this GitHub Sponsors profile. """ - clientMutationId: String + tiers( + """ + 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 + + """ + Whether to include tiers that aren't published. Only admins of the Sponsors + listing can see draft tiers. Only admins of the Sponsors listing and viewers + who are currently sponsoring on a retired tier can see those retired tiers. + Defaults to including only published tiers, which are visible to anyone who + can see the GitHub Sponsors profile. + """ + includeUnpublished: Boolean = false + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Ordering options for Sponsors tiers returned from the connection. + """ + orderBy: SponsorsTierOrder = {field: MONTHLY_PRICE_IN_CENTS, direction: ASC} + ): SponsorsTierConnection """ - The identity provider for the enterprise. + The HTTP URL for this Sponsors listing. """ - identityProvider: EnterpriseIdentityProvider + url: URI! } """ -Autogenerated input type of RegenerateVerifiableDomainToken +A record that can be featured on a GitHub Sponsors profile. """ -input RegenerateVerifiableDomainTokenInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String +union SponsorsListingFeatureableItem = Repository | User +""" +A record that is promoted on a GitHub Sponsors profile. +""" +type SponsorsListingFeaturedItem implements Node { """ - The ID of the verifiable domain to regenerate the verification token of. + Identifies the date and time when the object was created. """ - id: ID! -} + createdAt: DateTime! -""" -Autogenerated return type of RegenerateVerifiableDomainToken. -""" -type RegenerateVerifiableDomainTokenPayload { """ - A unique identifier for the client performing the mutation. + Will either be a description from the sponsorable maintainer about why they + featured this item, or the item's description itself, such as a user's bio + from their GitHub profile page. """ - clientMutationId: String + description: String """ - The verification token that was generated. + The record that is featured on the GitHub Sponsors profile. """ - verificationToken: String -} + featureable: SponsorsListingFeatureableItem! -""" -Autogenerated input type of RejectDeployments -""" -input RejectDeploymentsInput { """ - A unique identifier for the client performing the mutation. + The Node ID of the SponsorsListingFeaturedItem object """ - clientMutationId: String + id: ID! """ - Optional comment for rejecting deployments + The position of this featured item on the GitHub Sponsors profile with a lower + position indicating higher precedence. Starts at 1. """ - comment: String = "" + position: Int! """ - The ids of environments to reject deployments + The GitHub Sponsors profile that features this record. """ - environmentIds: [ID!]! + sponsorsListing: SponsorsListing! """ - The node ID of the workflow run containing the pending deployments. + Identifies the date and time when the object was last updated. """ - workflowRunId: ID! + updatedAt: DateTime! } """ -Autogenerated return type of RejectDeployments. +The different kinds of records that can be featured on a GitHub Sponsors profile page. """ -type RejectDeploymentsPayload { +enum SponsorsListingFeaturedItemFeatureableType { """ - A unique identifier for the client performing the mutation. + A repository owned by the user or organization with the GitHub Sponsors profile. """ - clientMutationId: String + REPOSITORY """ - The affected deployments. + A user who belongs to the organization with the GitHub Sponsors profile. """ - deployments: [Deployment!] + USER } """ -A release contains the content for a release. +A GitHub Sponsors tier associated with a GitHub Sponsors listing. """ -type Release implements Node & Reactable & UniformResourceLocatable { +type SponsorsTier implements Node { """ - The author of the release + SponsorsTier information only visible to users that can administer the associated Sponsors listing. """ - author: User + adminInfo: SponsorsTierAdminInfo """ - Identifies the date and time when the object was created. + Get a different tier for this tier's maintainer that is at the same frequency + as this tier but with an equal or lesser cost. Returns the published tier with + the monthly price closest to this tier's without going over. """ - createdAt: DateTime! + closestLesserValueTier: SponsorsTier """ - Identifies the primary key from the database. + Identifies the date and time when the object was created. """ - databaseId: Int + createdAt: DateTime! """ - The description of the release. + The description of the tier. """ - description: String + description: String! """ - The description of this release rendered to HTML. + The tier description rendered to HTML """ - descriptionHTML: HTML + descriptionHTML: HTML! """ - The Node ID of the Release object + The Node ID of the SponsorsTier object """ id: ID! """ - Whether or not the release is a draft + Whether this tier was chosen at checkout time by the sponsor rather than + defined ahead of time by the maintainer who manages the Sponsors listing. """ - isDraft: Boolean! + isCustomAmount: Boolean! """ - Whether or not the release is the latest releast + Whether this tier is only for use with one-time sponsorships. """ - isLatest: Boolean! + isOneTime: Boolean! """ - Whether or not the release is a prerelease + How much this tier costs per month in cents. """ - isPrerelease: Boolean! + monthlyPriceInCents: Int! """ - A list of users mentioned in the release description + How much this tier costs per month in USD. """ - mentions( - """ - 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 - ): UserConnection + monthlyPriceInDollars: Int! """ - The title of the release. + The name of the tier. """ - name: String + name: String! """ - Identifies the date and time when the release was created. + The sponsors listing that this tier belongs to. """ - publishedAt: DateTime + sponsorsListing: SponsorsListing! """ - A list of reactions grouped by content left on the subject. + Identifies the date and time when the object was last updated. """ - reactionGroups: [ReactionGroup!] + updatedAt: DateTime! +} +""" +SponsorsTier information only visible to users that can administer the associated Sponsors listing. +""" +type SponsorsTierAdminInfo { """ - A list of Reactions left on the Issue. + Indicates whether this tier is still a work in progress by the sponsorable and + not yet published to the associated GitHub Sponsors profile. Draft tiers + cannot be used for new sponsorships and will not be in use on existing + sponsorships. Draft tiers cannot be seen by anyone but the admins of the + GitHub Sponsors profile. """ - reactions( - """ - 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 - - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent - - """ - Returns the first _n_ elements from the list. - """ - first: Int + isDraft: Boolean! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Indicates whether this tier is published to the associated GitHub Sponsors + profile. Published tiers are visible to anyone who can see the GitHub Sponsors + profile, and are available for use in sponsorships if the GitHub Sponsors + profile is publicly visible. + """ + isPublished: Boolean! - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + """ + Indicates whether this tier has been retired from the associated GitHub + Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors + profile and cannot be chosen for new sponsorships. Existing sponsorships may + still use retired tiers if the sponsor selected the tier before it was retired. + """ + isRetired: Boolean! """ - List of releases assets which are dependent on this release. + The sponsorships using this tier. """ - releaseAssets( + sponsorships( """ Returns the elements in the list that come after the specified cursor. """ @@ -41476,141 +60157,180 @@ type Release implements Node & Reactable & UniformResourceLocatable { """ first: Int + """ + Whether or not to return private sponsorships using this tier. Defaults to + only returning public sponsorships on this tier. + """ + includePrivate: Boolean = false + """ Returns the last _n_ elements from the list. """ last: Int """ - A name to filter the assets by. + Ordering options for sponsorships returned from this connection. If left + blank, the sponsorships will be ordered based on relevancy to the viewer. """ - name: String - ): ReleaseAssetConnection! + orderBy: SponsorshipOrder + ): SponsorshipConnection! +} +""" +The connection type for SponsorsTier. +""" +type SponsorsTierConnection { """ - The repository that the release belongs to. + A list of edges. """ - repository: Repository! + edges: [SponsorsTierEdge] """ - The HTTP path for this issue + A list of nodes. """ - resourcePath: URI! + nodes: [SponsorsTier] """ - A description of the release, rendered to HTML without any links in it. + Information to aid in pagination. """ - shortDescriptionHTML( - """ - How many characters to return. - """ - limit: Int = 200 - ): HTML + pageInfo: PageInfo! """ - The Git tag the release points to + Identifies the total count of items in the connection. """ - tag: Ref + totalCount: Int! +} +""" +An edge in a connection. +""" +type SponsorsTierEdge { """ - The tag commit for this release. + A cursor for use in pagination. """ - tagCommit: Commit + cursor: String! """ - The name of the release's Git tag + The item at the end of the edge. """ - tagName: String! + node: SponsorsTier +} +""" +Ordering options for Sponsors tiers connections. +""" +input SponsorsTierOrder { """ - Identifies the date and time when the object was last updated. + The ordering direction. """ - updatedAt: DateTime! + direction: OrderDirection! """ - The HTTP URL for this issue + The field to order tiers by. """ - url: URI! + field: SponsorsTierOrderField! +} +""" +Properties by which Sponsors tiers connections can be ordered. +""" +enum SponsorsTierOrderField { """ - Can user react to this subject + Order tiers by creation time. """ - viewerCanReact: Boolean! + CREATED_AT + + """ + Order tiers by their monthly price in cents + """ + MONTHLY_PRICE_IN_CENTS } """ -A release asset contains the content for a release asset. +A sponsorship relationship between a sponsor and a maintainer """ -type ReleaseAsset implements Node { +type Sponsorship implements Node { """ - The asset's content-type + Identifies the date and time when the object was created. """ - contentType: String! + createdAt: DateTime! """ - Identifies the date and time when the object was created. + The Node ID of the Sponsorship object """ - createdAt: DateTime! + id: ID! """ - The number of times this asset was downloaded + Whether the sponsorship is active. False implies the sponsor is a past sponsor + of the maintainer, while true implies they are a current sponsor. """ - downloadCount: Int! + isActive: Boolean! """ - Identifies the URL where you can download the release asset via the browser. + Whether this sponsorship represents a one-time payment versus a recurring sponsorship. """ - downloadUrl: URI! + isOneTimePayment: Boolean! """ - The Node ID of the ReleaseAsset object + Whether the sponsor has chosen to receive sponsorship update emails sent from + the sponsorable. Only returns a non-null value when the viewer has permission to know this. """ - id: ID! + isSponsorOptedIntoEmail: Boolean """ - Identifies the title of the release asset. + The entity that is being sponsored """ - name: String! + maintainer: User! @deprecated(reason: "`Sponsorship.maintainer` will be removed. Use `Sponsorship.sponsorable` instead. Removal on 2020-04-01 UTC.") """ - Release that the asset is associated with + The platform that was most recently used to pay for the sponsorship. """ - release: Release + paymentSource: SponsorshipPaymentSource """ - The size (in bytes) of the asset + The privacy level for this sponsorship. """ - size: Int! + privacyLevel: SponsorshipPrivacy! """ - Identifies the date and time when the object was last updated. + The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user. """ - updatedAt: DateTime! + sponsor: User @deprecated(reason: "`Sponsorship.sponsor` will be removed. Use `Sponsorship.sponsorEntity` instead. Removal on 2020-10-01 UTC.") """ - The user that performed the upload + The user or organization that is sponsoring, if you have permission to view them. """ - uploadedBy: User! + sponsorEntity: Sponsor """ - Identifies the URL of the release asset. + The entity that is being sponsored """ - url: URI! + sponsorable: Sponsorable! + + """ + The associated sponsorship tier + """ + tier: SponsorsTier + + """ + Identifies the date and time when the current tier was chosen for this sponsorship. + """ + tierSelectedAt: DateTime } """ -The connection type for ReleaseAsset. +A list of sponsorships either from the subject or received by the subject. """ -type ReleaseAssetConnection { +type SponsorshipConnection { """ A list of edges. """ - edges: [ReleaseAssetEdge] + edges: [SponsorshipEdge] """ A list of nodes. """ - nodes: [ReleaseAsset] + nodes: [Sponsorship] """ Information to aid in pagination. @@ -41621,12 +60341,24 @@ type ReleaseAssetConnection { Identifies the total count of items in the connection. """ totalCount: Int! + + """ + The total amount in cents of all recurring sponsorships in the connection + whose amount you can view. Does not include one-time sponsorships. + """ + totalRecurringMonthlyPriceInCents: Int! + + """ + The total amount in USD of all recurring sponsorships in the connection whose + amount you can view. Does not include one-time sponsorships. + """ + totalRecurringMonthlyPriceInDollars: Int! } """ An edge in a connection. """ -type ReleaseAssetEdge { +type SponsorshipEdge { """ A cursor for use in pagination. """ @@ -41635,22 +60367,67 @@ type ReleaseAssetEdge { """ The item at the end of the edge. """ - node: ReleaseAsset + node: Sponsorship } """ -The connection type for Release. +An update sent to sponsors of a user or organization on GitHub Sponsors. """ -type ReleaseConnection { +type SponsorshipNewsletter implements Node { + """ + The author of the newsletter. + """ + author: User + + """ + The contents of the newsletter, the message the sponsorable wanted to give. + """ + body: String! + + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The Node ID of the SponsorshipNewsletter object + """ + id: ID! + + """ + Indicates if the newsletter has been made available to sponsors. + """ + isPublished: Boolean! + + """ + The user or organization this newsletter is from. + """ + sponsorable: Sponsorable! + + """ + The subject of the newsletter, what it's about. + """ + subject: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + +""" +The connection type for SponsorshipNewsletter. +""" +type SponsorshipNewsletterConnection { """ A list of edges. """ - edges: [ReleaseEdge] + edges: [SponsorshipNewsletterEdge] """ A list of nodes. """ - nodes: [Release] + nodes: [SponsorshipNewsletter] """ Information to aid in pagination. @@ -41666,7 +60443,7 @@ type ReleaseConnection { """ An edge in a connection. """ -type ReleaseEdge { +type SponsorshipNewsletterEdge { """ A cursor for use in pagination. """ @@ -41675,1532 +60452,1915 @@ type ReleaseEdge { """ The item at the end of the edge. """ - node: Release + node: SponsorshipNewsletter } """ -Ways in which lists of releases can be ordered upon return. +Ordering options for sponsorship newsletter connections. """ -input ReleaseOrder { +input SponsorshipNewsletterOrder { """ - The direction in which to order releases by the specified field. + The ordering direction. """ direction: OrderDirection! """ - The field in which to order releases by. + The field to order sponsorship newsletters by. """ - field: ReleaseOrderField! + field: SponsorshipNewsletterOrderField! } """ -Properties by which release connections can be ordered. +Properties by which sponsorship update connections can be ordered. """ -enum ReleaseOrderField { +enum SponsorshipNewsletterOrderField { """ - Order releases by creation time + Order sponsorship newsletters by when they were created. """ CREATED_AT +} +""" +Ordering options for sponsorship connections. +""" +input SponsorshipOrder { """ - Order releases alphabetically by name + The ordering direction. """ - NAME + direction: OrderDirection! + + """ + The field to order sponsorship by. + """ + field: SponsorshipOrderField! } """ -Autogenerated input type of RemoveAssigneesFromAssignable +Properties by which sponsorship connections can be ordered. """ -input RemoveAssigneesFromAssignableInput { +enum SponsorshipOrderField { """ - The id of the assignable object to remove assignees from. + Order sponsorship by creation time. """ - assignableId: ID! + CREATED_AT +} +""" +How payment was made for funding a GitHub Sponsors sponsorship. +""" +enum SponsorshipPaymentSource { """ - The id of users to remove as assignees. + Payment was made through GitHub. """ - assigneeIds: [ID!]! + GITHUB """ - A unique identifier for the client performing the mutation. + Payment was made through Patreon. """ - clientMutationId: String + PATREON } """ -Autogenerated return type of RemoveAssigneesFromAssignable. +The privacy of a sponsorship """ -type RemoveAssigneesFromAssignablePayload { +enum SponsorshipPrivacy { """ - The item that was unassigned. + Private """ - assignable: Assignable + PRIVATE """ - A unique identifier for the client performing the mutation. + Public """ - clientMutationId: String + PUBLIC } """ -Autogenerated input type of RemoveEnterpriseAdmin +The possible default commit messages for squash merges. """ -input RemoveEnterpriseAdminInput { +enum SquashMergeCommitMessage { """ - A unique identifier for the client performing the mutation. + Default to a blank commit message. """ - clientMutationId: String + BLANK """ - The Enterprise ID from which to remove the administrator. + Default to the branch's commit messages. """ - enterpriseId: ID! + COMMIT_MESSAGES """ - The login of the user to remove as an administrator. + Default to the pull request's body. """ - login: String! + PR_BODY } """ -Autogenerated return type of RemoveEnterpriseAdmin. +The possible default commit titles for squash merges. """ -type RemoveEnterpriseAdminPayload { +enum SquashMergeCommitTitle { """ - The user who was removed as an administrator. + Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). """ - admin: User + COMMIT_OR_PR_TITLE """ - A unique identifier for the client performing the mutation. + Default to the pull request's title. """ - clientMutationId: String + PR_TITLE +} +""" +Represents an SSH signature on a Commit or Tag. +""" +type SshSignature implements GitSignature { """ - The updated enterprise. + Email used to sign this object. """ - enterprise: Enterprise + email: String! """ - A message confirming the result of removing an administrator. + True if the signature is valid and verified by GitHub. """ - message: String + isValid: Boolean! """ - The viewer performing the mutation. + Hex-encoded fingerprint of the key that signed this object. """ - viewer: User + keyFingerprint: String + + """ + Payload for GPG signing object. Raw ODB object without the signature header. + """ + payload: String! + + """ + ASCII-armored signature header from object. + """ + signature: String! + + """ + GitHub user corresponding to the email signing this commit. + """ + signer: User + + """ + The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. + """ + state: GitSignatureState! + + """ + The date the signature was verified, if valid + """ + verifiedAt: DateTime + + """ + True if the signature was made with GitHub's signing key. + """ + wasSignedByGitHub: Boolean! } """ -Autogenerated input type of RemoveEnterpriseIdentityProvider +Ways in which star connections can be ordered. """ -input RemoveEnterpriseIdentityProviderInput { +input StarOrder { """ - A unique identifier for the client performing the mutation. + The direction in which to order nodes. """ - clientMutationId: String + direction: OrderDirection! """ - The ID of the enterprise from which to remove the identity provider. + The field in which to order nodes by. """ - enterpriseId: ID! + field: StarOrderField! } """ -Autogenerated return type of RemoveEnterpriseIdentityProvider. +Properties by which star connections can be ordered. """ -type RemoveEnterpriseIdentityProviderPayload { +enum StarOrderField { """ - A unique identifier for the client performing the mutation. + Allows ordering a list of stars by when they were created. """ - clientMutationId: String + STARRED_AT +} + +""" +The connection type for User. +""" +type StargazerConnection { + """ + A list of edges. + """ + edges: [StargazerEdge] """ - The identity provider that was removed from the enterprise. + A list of nodes. """ - identityProvider: EnterpriseIdentityProvider + nodes: [User] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! } """ -Autogenerated input type of RemoveEnterpriseMember +Represents a user that's starred a repository. """ -input RemoveEnterpriseMemberInput { +type StargazerEdge { """ - A unique identifier for the client performing the mutation. + A cursor for use in pagination. """ - clientMutationId: String + cursor: String! + node: User! """ - The ID of the enterprise from which the user should be removed. + Identifies when the item was starred. """ - enterpriseId: ID! + starredAt: DateTime! +} + +""" +Things that can be starred. +""" +interface Starrable { + """ + The Node ID of the Starrable object + """ + id: ID! """ - The ID of the user to remove from the enterprise. + Returns a count of how many stargazers there are on this object + """ + stargazerCount: Int! + + """ + A list of users who have starred this starrable. + """ + stargazers( + """ + 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 + + """ + Order for connection + """ + orderBy: StarOrder + ): StargazerConnection! + + """ + Returns a boolean indicating whether the viewing user has starred this starrable. + """ + viewerHasStarred: Boolean! +} + +""" +The connection type for Repository. +""" +type StarredRepositoryConnection { + """ + A list of edges. + """ + edges: [StarredRepositoryEdge] + + """ + Is the list of stars for this user truncated? This is true for users that have many stars. + """ + isOverLimit: Boolean! + + """ + A list of nodes. + """ + nodes: [Repository] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +Represents a starred repository. +""" +type StarredRepositoryEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + node: Repository! + + """ + Identifies when the item was starred. """ - userId: ID! + starredAt: DateTime! } """ -Autogenerated return type of RemoveEnterpriseMember. +Autogenerated input type of StartOrganizationMigration """ -type RemoveEnterpriseMemberPayload { +input StartOrganizationMigrationInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The updated enterprise. + The migration source access token. """ - enterprise: Enterprise + sourceAccessToken: String! """ - The user that was removed from the enterprise. + The URL of the organization to migrate. """ - user: User + sourceOrgUrl: URI! """ - The viewer performing the mutation. + The ID of the enterprise the target organization belongs to. """ - viewer: User + targetEnterpriseId: ID! + + """ + The name of the target organization. + """ + targetOrgName: String! } """ -Autogenerated input type of RemoveEnterpriseOrganization +Autogenerated return type of StartOrganizationMigration. """ -input RemoveEnterpriseOrganizationInput { +type StartOrganizationMigrationPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The ID of the enterprise from which the organization should be removed. - """ - enterpriseId: ID! - - """ - The ID of the organization to remove from the enterprise. + The new organization migration. """ - organizationId: ID! + orgMigration: OrganizationMigration } """ -Autogenerated return type of RemoveEnterpriseOrganization. +Autogenerated input type of StartRepositoryMigration """ -type RemoveEnterpriseOrganizationPayload { +input StartRepositoryMigrationInput { + """ + The migration source access token. + """ + accessToken: String + """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The updated enterprise. + Whether to continue the migration on error. Defaults to `true`. """ - enterprise: Enterprise + continueOnError: Boolean """ - The organization that was removed from the enterprise. + The signed URL to access the user-uploaded git archive. """ - organization: Organization + gitArchiveUrl: String """ - The viewer performing the mutation. + The GitHub personal access token of the user importing to the target repository. """ - viewer: User -} + githubPat: String -""" -Autogenerated input type of RemoveEnterpriseSupportEntitlement -""" -input RemoveEnterpriseSupportEntitlementInput { """ - A unique identifier for the client performing the mutation. + Whether to lock the source repository. """ - clientMutationId: String + lockSource: Boolean """ - The ID of the Enterprise which the admin belongs to. + The signed URL to access the user-uploaded metadata archive. """ - enterpriseId: ID! + metadataArchiveUrl: String """ - The login of a member who will lose the support entitlement. + The ID of the organization that will own the imported repository. """ - login: String! -} + ownerId: ID! -""" -Autogenerated return type of RemoveEnterpriseSupportEntitlement. -""" -type RemoveEnterpriseSupportEntitlementPayload { """ - A unique identifier for the client performing the mutation. + The name of the imported repository. """ - clientMutationId: String + repositoryName: String! """ - A message confirming the result of removing the support entitlement. + Whether to skip migrating releases for the repository. """ - message: String -} + skipReleases: Boolean -""" -Autogenerated input type of RemoveLabelsFromLabelable -""" -input RemoveLabelsFromLabelableInput { """ - A unique identifier for the client performing the mutation. + The ID of the migration source. """ - clientMutationId: String + sourceId: ID! """ - The ids of labels to remove. + The URL of the source repository. """ - labelIds: [ID!]! + sourceRepositoryUrl: URI! """ - The id of the Labelable to remove labels from. + The visibility of the imported repository. """ - labelableId: ID! + targetRepoVisibility: String } """ -Autogenerated return type of RemoveLabelsFromLabelable. +Autogenerated return type of StartRepositoryMigration. """ -type RemoveLabelsFromLabelablePayload { +type StartRepositoryMigrationPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The Labelable the labels were removed from. + The new repository migration. """ - labelable: Labelable + repositoryMigration: RepositoryMigration } """ -Autogenerated input type of RemoveOutsideCollaborator +Represents a commit status. """ -input RemoveOutsideCollaboratorInput { +type Status implements Node { """ - A unique identifier for the client performing the mutation. + A list of status contexts and check runs for this commit. """ - clientMutationId: String + combinedContexts( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The ID of the organization to remove the outside collaborator from. - """ - organizationId: ID! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The ID of the outside collaborator to remove. - """ - userId: ID! -} + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): StatusCheckRollupContextConnection! -""" -Autogenerated return type of RemoveOutsideCollaborator. -""" -type RemoveOutsideCollaboratorPayload { """ - A unique identifier for the client performing the mutation. + The commit this status is attached to. """ - clientMutationId: String + commit: Commit """ - The user that was removed as an outside collaborator. + Looks up an individual status context by context name. """ - removedUser: User -} + context( + """ + The context name. + """ + name: String! + ): StatusContext -""" -Autogenerated input type of RemoveReaction -""" -input RemoveReactionInput { """ - A unique identifier for the client performing the mutation. + The individual status contexts for this commit. """ - clientMutationId: String + contexts: [StatusContext!]! """ - The name of the emoji reaction to remove. + The Node ID of the Status object """ - content: ReactionContent! + id: ID! """ - The Node ID of the subject to modify. + The combined commit status. """ - subjectId: ID! + state: StatusState! } """ -Autogenerated return type of RemoveReaction. +Required status check """ -type RemoveReactionPayload { +type StatusCheckConfiguration { """ - A unique identifier for the client performing the mutation. + The status check context name that must be present on the commit. """ - clientMutationId: String + context: String! """ - The reaction object. + The optional integration ID that this status check must originate from. """ - reaction: Reaction + integrationId: Int +} +""" +Required status check +""" +input StatusCheckConfigurationInput { """ - The reaction groups for the subject. + The status check context name that must be present on the commit. """ - reactionGroups: [ReactionGroup!] + context: String! """ - The reactable subject. + The optional integration ID that this status check must originate from. """ - subject: Reactable + integrationId: Int } """ -Autogenerated input type of RemoveStar +Represents the rollup for both the check runs and status for a commit. """ -input RemoveStarInput { +type StatusCheckRollup implements Node { """ - A unique identifier for the client performing the mutation. + The commit the status and check runs are attached to. """ - clientMutationId: String + commit: Commit """ - The Starrable ID to unstar. + A list of status contexts and check runs for this commit. """ - starrableId: ID! -} + contexts( + """ + 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 + ): StatusCheckRollupContextConnection! -""" -Autogenerated return type of RemoveStar. -""" -type RemoveStarPayload { """ - A unique identifier for the client performing the mutation. + The Node ID of the StatusCheckRollup object """ - clientMutationId: String + id: ID! """ - The starrable. + The combined status for the commit. """ - starrable: Starrable + state: StatusState! } """ -Autogenerated input type of RemoveSubIssue +Types that can be inside a StatusCheckRollup context. """ -input RemoveSubIssueInput { +union StatusCheckRollupContext = CheckRun | StatusContext + +""" +The connection type for StatusCheckRollupContext. +""" +type StatusCheckRollupContextConnection { """ - A unique identifier for the client performing the mutation. + The number of check runs in this rollup. """ - clientMutationId: String + checkRunCount: Int! """ - The id of the issue. + Counts of check runs by state. """ - issueId: ID! + checkRunCountsByState: [CheckRunStateCount!] """ - The id of the sub-issue. + A list of edges. """ - subIssueId: ID! -} + edges: [StatusCheckRollupContextEdge] -""" -Autogenerated return type of RemoveSubIssue. -""" -type RemoveSubIssuePayload { """ - A unique identifier for the client performing the mutation. + A list of nodes. """ - clientMutationId: String + nodes: [StatusCheckRollupContext] """ - The parent of the sub-issue. + Information to aid in pagination. """ - issue: Issue + pageInfo: PageInfo! """ - The sub-issue of the parent. + The number of status contexts in this rollup. """ - subIssue: Issue -} + statusContextCount: Int! -""" -Autogenerated input type of RemoveUpvote -""" -input RemoveUpvoteInput { """ - A unique identifier for the client performing the mutation. + Counts of status contexts by state. """ - clientMutationId: String + statusContextCountsByState: [StatusContextStateCount!] """ - The Node ID of the discussion or comment to remove upvote. + Identifies the total count of items in the connection. """ - subjectId: ID! + totalCount: Int! } """ -Autogenerated return type of RemoveUpvote. +An edge in a connection. """ -type RemoveUpvotePayload { +type StatusCheckRollupContextEdge { """ - A unique identifier for the client performing the mutation. + A cursor for use in pagination. """ - clientMutationId: String + cursor: String! """ - The votable subject. + The item at the end of the edge. """ - subject: Votable + node: StatusCheckRollupContext } """ -Represents a 'removed_from_merge_queue' event on a given pull request. +Represents an individual commit status context """ -type RemovedFromMergeQueueEvent implements Node { +type StatusContext implements Node & RequirableByPullRequest { """ - Identifies the actor who performed the event. + The avatar of the OAuth application or the user that created the status """ - actor: Actor + avatarUrl( + """ + The size of the resulting square image. + """ + size: Int = 40 + ): URI """ - Identifies the before commit SHA for the 'removed_from_merge_queue' event. + This commit this status context is attached to. """ - beforeCommit: Commit + commit: Commit """ - Identifies the date and time when the object was created. + The name of this status context. """ - createdAt: DateTime! + context: String! """ - The user who removed this Pull Request from the merge queue + Identifies the date and time when the object was created. """ - enqueuer: User + createdAt: DateTime! """ - The Node ID of the RemovedFromMergeQueueEvent object + The actor who created this status context. """ - id: ID! + creator: Actor """ - The merge queue where this pull request was removed from. + The description for this status context. """ - mergeQueue: MergeQueue + description: String """ - PullRequest referenced by event. + The Node ID of the StatusContext object """ - pullRequest: PullRequest + id: ID! """ - The reason this pull request was removed from the queue. + Whether this is required to pass before merging for a specific pull request. """ - reason: String -} + isRequired( + """ + The id of the pull request this is required for + """ + pullRequestId: ID -""" -Represents a 'removed_from_project' event on a given issue or pull request. -""" -type RemovedFromProjectEvent implements Node { - """ - Identifies the actor who performed the event. - """ - actor: Actor + """ + The number of the pull request this is required for + """ + pullRequestNumber: Int + ): Boolean! """ - Identifies the date and time when the object was created. + The state of this status context. """ - createdAt: DateTime! + state: StatusState! """ - Identifies the primary key from the database. + The URL for this status context. """ - databaseId: Int @deprecated(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.") + targetUrl: URI """ - The Node ID of the RemovedFromProjectEvent object + Identifies the date and time when the object was last updated. """ - id: ID! + updatedAt: DateTime! +} +""" +Represents a count of the state of a status context. +""" +type StatusContextStateCount { """ - Project referenced by event. + The number of statuses with this state. """ - project: Project + count: Int! """ - Column name referenced by this project event. + The state of a status context. """ - projectColumnName: String! @deprecated(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.") + state: StatusState! } """ -Represents a 'renamed' event on a given issue or pull request +The possible commit status states. """ -type RenamedTitleEvent implements Node { - """ - Identifies the actor who performed the event. - """ - actor: Actor - +enum StatusState { """ - Identifies the date and time when the object was created. + Status is errored. """ - createdAt: DateTime! + ERROR """ - Identifies the current title of the issue or pull request. + Status is expected. """ - currentTitle: String! + EXPECTED """ - The Node ID of the RenamedTitleEvent object + Status is failing. """ - id: ID! + FAILURE """ - Identifies the previous title of the issue or pull request. + Status is pending. """ - previousTitle: String! + PENDING """ - Subject that was renamed. + Status is successful. """ - subject: RenamedTitleSubject! + SUCCESS } """ -An object which has a renamable title +A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. """ -union RenamedTitleSubject = Issue | PullRequest +type StripeConnectAccount { + """ + The account number used to identify this Stripe Connect account. + """ + accountId: String! -""" -Autogenerated input type of ReopenDiscussion -""" -input ReopenDiscussionInput { """ - A unique identifier for the client performing the mutation. + The name of the country or region of an external account, such as a bank + account, tied to the Stripe Connect account. Will only return a value when + queried by the maintainer of the associated GitHub Sponsors profile + themselves, or by an admin of the sponsorable organization. """ - clientMutationId: String + billingCountryOrRegion: String """ - ID of the discussion to be reopened. + The name of the country or region of the Stripe Connect account. Will only + return a value when queried by the maintainer of the associated GitHub + Sponsors profile themselves, or by an admin of the sponsorable organization. """ - discussionId: ID! -} + countryOrRegion: String -""" -Autogenerated return type of ReopenDiscussion. -""" -type ReopenDiscussionPayload { """ - A unique identifier for the client performing the mutation. + Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. """ - clientMutationId: String + isActive: Boolean! """ - The discussion that was reopened. + The GitHub Sponsors profile associated with this Stripe Connect account. """ - discussion: Discussion + sponsorsListing: SponsorsListing! + + """ + The URL to access this Stripe Connect account on Stripe's website. + """ + stripeDashboardUrl: URI! } """ -Autogenerated input type of ReopenIssue +Represents a 'sub_issue_added' event on a given issue. """ -input ReopenIssueInput { +type SubIssueAddedEvent implements Node { """ - A unique identifier for the client performing the mutation. + Identifies the actor who performed the event. """ - clientMutationId: String + actor: Actor """ - ID of the issue to be opened. + Identifies the date and time when the object was created. """ - issueId: ID! -} + createdAt: DateTime! -""" -Autogenerated return type of ReopenIssue. -""" -type ReopenIssuePayload { """ - A unique identifier for the client performing the mutation. + The Node ID of the SubIssueAddedEvent object """ - clientMutationId: String + id: ID! """ - The issue that was opened. + The sub-issue added. """ - issue: Issue + subIssue: Issue } """ -Autogenerated input type of ReopenPullRequest +Represents a 'sub_issue_removed' event on a given issue. """ -input ReopenPullRequestInput { +type SubIssueRemovedEvent implements Node { """ - A unique identifier for the client performing the mutation. + Identifies the actor who performed the event. """ - clientMutationId: String + actor: Actor """ - ID of the pull request to be reopened. + Identifies the date and time when the object was created. """ - pullRequestId: ID! -} + createdAt: DateTime! -""" -Autogenerated return type of ReopenPullRequest. -""" -type ReopenPullRequestPayload { """ - A unique identifier for the client performing the mutation. + The Node ID of the SubIssueRemovedEvent object """ - clientMutationId: String + id: ID! """ - The pull request that was reopened. + The sub-issue removed. """ - pullRequest: PullRequest + subIssue: Issue } """ -Represents a 'reopened' event on any `Closable`. +Summary of the state of an issue's sub-issues """ -type ReopenedEvent implements Node { +type SubIssuesSummary { """ - Identifies the actor who performed the event. + Count of completed sub-issues """ - actor: Actor + completed: Int! """ - Object that was reopened. + Percent of sub-issues which are completed """ - closable: Closable! + percentCompleted: Int! """ - Identifies the date and time when the object was created. + Count of total number of sub-issues """ - createdAt: DateTime! + total: Int! +} +""" +Autogenerated input type of SubmitPullRequestReview +""" +input SubmitPullRequestReviewInput { """ - The Node ID of the ReopenedEvent object + The text field to set on the Pull Request Review. """ - id: ID! + body: String """ - The reason the issue state was changed to open. + A unique identifier for the client performing the mutation. """ - stateReason: IssueStateReason -} + clientMutationId: String -""" -Autogenerated input type of ReorderEnvironment -""" -input ReorderEnvironmentInput { """ - A unique identifier for the client performing the mutation. + The event to send to the Pull Request Review. """ - clientMutationId: String + event: PullRequestReviewEvent! """ - The ID of the environment to modify + The Pull Request ID to submit any pending reviews. """ - environmentId: ID! + pullRequestId: ID """ - The desired position of the environment + The Pull Request Review ID to submit. """ - position: Int! + pullRequestReviewId: ID } """ -Autogenerated return type of ReorderEnvironment. +Autogenerated return type of SubmitPullRequestReview. """ -type ReorderEnvironmentPayload { +type SubmitPullRequestReviewPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The environment that was reordered + The submitted pull request review. """ - environment: Environment + pullRequestReview: PullRequestReview } """ -Audit log entry for a repo.access event. +A pointer to a repository at a specific revision embedded inside another repository. """ -type RepoAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type Submodule { """ - The action name + The branch of the upstream submodule for tracking updates """ - action: String! + branch: String """ - The user who initiated the action + The git URL of the submodule repository """ - actor: AuditEntryActor + gitUrl: URI! """ - The IP address of the actor + The name of the submodule in .gitmodules """ - actorIp: String + name: String! """ - A readable representation of the actor's location + The name of the submodule in .gitmodules (Base64-encoded) """ - actorLocation: ActorLocation + nameRaw: Base64String! """ - The username of the user who initiated the action + The path in the superproject that this submodule is located in """ - actorLogin: String + path: String! """ - The HTTP path for the actor. + The path in the superproject that this submodule is located in (Base64-encoded) """ - actorResourcePath: URI + pathRaw: Base64String! """ - The HTTP URL for the actor. + The commit revision of the subproject repository being tracked by the submodule """ - actorUrl: URI + subprojectCommitOid: GitObjectID +} +""" +The connection type for Submodule. +""" +type SubmoduleConnection { """ - The time the action was initiated + A list of edges. """ - createdAt: PreciseDateTime! + edges: [SubmoduleEdge] """ - The Node ID of the RepoAccessAuditEntry object + A list of nodes. """ - id: ID! + nodes: [Submodule] """ - The corresponding operation type for the action + Information to aid in pagination. """ - operationType: OperationType + pageInfo: PageInfo! """ - The Organization associated with the Audit Entry. + Identifies the total count of items in the connection. """ - organization: Organization + totalCount: Int! +} +""" +An edge in a connection. +""" +type SubmoduleEdge { """ - The name of the Organization. + A cursor for use in pagination. """ - organizationName: String + cursor: String! """ - The HTTP path for the organization + The item at the end of the edge. """ - organizationResourcePath: URI + node: Submodule +} +""" +Entities that can be subscribed to for web and email notifications. +""" +interface Subscribable { """ - The HTTP URL for the organization + The Node ID of the Subscribable object """ - organizationUrl: URI + id: ID! """ - The repository associated with the action + Check if the viewer is able to change their subscription status for the repository. """ - repository: Repository + viewerCanSubscribe: Boolean! """ - The name of the repository + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. """ - repositoryName: String + viewerSubscription: SubscriptionState +} +""" +Entities that can be subscribed to for web and email notifications. +""" +interface SubscribableThread { """ - The HTTP path for the repository + The Node ID of the SubscribableThread object """ - repositoryResourcePath: URI + id: ID! """ - The HTTP URL for the repository + Identifies the viewer's thread subscription form action. """ - repositoryUrl: URI + viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction """ - The user affected by the action + Identifies the viewer's thread subscription status. """ - user: User + viewerThreadSubscriptionStatus: ThreadSubscriptionState +} +""" +Represents a 'subscribed' event on a given `Subscribable`. +""" +type SubscribedEvent implements Node { """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Identifies the actor who performed the event. """ - userLogin: String + actor: Actor """ - The HTTP path for the user. + Identifies the date and time when the object was created. """ - userResourcePath: URI + createdAt: DateTime! """ - The HTTP URL for the user. + The Node ID of the SubscribedEvent object """ - userUrl: URI + id: ID! """ - The visibility of the repository + Object referenced by event. """ - visibility: RepoAccessAuditEntryVisibility + subscribable: Subscribable! } """ -The privacy of a repository +The possible states of a subscription. """ -enum RepoAccessAuditEntryVisibility { +enum SubscriptionState { """ - The repository is visible only to users in the same enterprise. + The User is never notified. """ - INTERNAL + IGNORED """ - The repository is visible only to those with explicit access. + The User is notified of all conversations. """ - PRIVATE + SUBSCRIBED """ - The repository is visible to everyone. + The User is only notified when participating or @mentioned. """ - PUBLIC + UNSUBSCRIBED } """ -Audit log entry for a repo.add_member event. +A suggestion to review a pull request based on a user's commit history and review comments. """ -type RepoAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { - """ - The action name - """ - action: String! - +type SuggestedReviewer { """ - The user who initiated the action + Is this suggestion based on past commits? """ - actor: AuditEntryActor + isAuthor: Boolean! """ - The IP address of the actor + Is this suggestion based on past review comments? """ - actorIp: String + isCommenter: Boolean! """ - A readable representation of the actor's location + Identifies the user suggested to review the pull request. """ - actorLocation: ActorLocation + reviewer: User! +} +""" +A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. +""" +type SuggestedReviewerActor { """ - The username of the user who initiated the action + Is this suggestion based on past commits? """ - actorLogin: String + isAuthor: Boolean! """ - The HTTP path for the actor. + Is this suggestion based on past review comments? """ - actorResourcePath: URI + isCommenter: Boolean! """ - The HTTP URL for the actor. + Identifies the actor suggested to review the pull request. """ - actorUrl: URI + reviewer: Actor! +} +""" +A suggestion to review a pull request based on an actor's commit history, review comments, and integrations. +""" +type SuggestedReviewerActorConnection { """ - The time the action was initiated + A list of edges. """ - createdAt: PreciseDateTime! + edges: [SuggestedReviewerActorEdge] """ - The Node ID of the RepoAddMemberAuditEntry object + A list of nodes. """ - id: ID! + nodes: [SuggestedReviewerActor] """ - The corresponding operation type for the action + Information to aid in pagination. """ - operationType: OperationType + pageInfo: PageInfo! """ - The Organization associated with the Audit Entry. + Identifies the total count of items in the connection. """ - organization: Organization + totalCount: Int! +} +""" +An edge in a connection. +""" +type SuggestedReviewerActorEdge { """ - The name of the Organization. + A cursor for use in pagination. """ - organizationName: String + cursor: String! """ - The HTTP path for the organization + The item at the end of the edge. """ - organizationResourcePath: URI + node: SuggestedReviewerActor +} +""" +Represents a Git tag. +""" +type Tag implements GitObject & Node { """ - The HTTP URL for the organization + An abbreviated version of the Git object ID """ - organizationUrl: URI + abbreviatedOid: String! """ - The repository associated with the action + The HTTP path for this Git object """ - repository: Repository + commitResourcePath: URI! """ - The name of the repository + The HTTP URL for this Git object """ - repositoryName: String + commitUrl: URI! """ - The HTTP path for the repository + The Node ID of the Tag object """ - repositoryResourcePath: URI + id: ID! """ - The HTTP URL for the repository + The Git tag message. """ - repositoryUrl: URI + message: String """ - The user affected by the action + The Git tag name. """ - user: User + name: String! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The Git object ID """ - userLogin: String + oid: GitObjectID! """ - The HTTP path for the user. + The Repository the Git object belongs to """ - userResourcePath: URI + repository: Repository! """ - The HTTP URL for the user. + Details about the tag author. """ - userUrl: URI + tagger: GitActor """ - The visibility of the repository + The Git object the tag points to. """ - visibility: RepoAddMemberAuditEntryVisibility + target: GitObject! } """ -The privacy of a repository +Parameters to be used for the tag_name_pattern rule """ -enum RepoAddMemberAuditEntryVisibility { +type TagNamePatternParameters { """ - The repository is visible only to users in the same enterprise. + How this rule appears when configuring it. """ - INTERNAL + name: String """ - The repository is visible only to those with explicit access. + If true, the rule will fail if the pattern matches. """ - PRIVATE + negate: Boolean! """ - The repository is visible to everyone. + The operator to use for matching. """ - PUBLIC + operator: String! + + """ + The pattern to match with. + """ + pattern: String! } """ -Audit log entry for a repo.add_topic event. +Parameters to be used for the tag_name_pattern rule """ -type RepoAddTopicAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TopicAuditEntryData { +input TagNamePatternParametersInput { """ - The action name + How this rule appears when configuring it. """ - action: String! + name: String """ - The user who initiated the action + If true, the rule will fail if the pattern matches. """ - actor: AuditEntryActor + negate: Boolean """ - The IP address of the actor + The operator to use for matching. """ - actorIp: String + operator: String! """ - A readable representation of the actor's location + The pattern to match with. """ - actorLocation: ActorLocation + pattern: String! +} +""" +A team of users in an organization. +""" +type Team implements MemberStatusable & Node & Subscribable & TeamReviewRequestable { """ - The username of the user who initiated the action + A list of teams that are ancestors of this team. """ - actorLogin: String + ancestors( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The HTTP path for the actor. - """ - actorResourcePath: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The HTTP URL for the actor. - """ - actorUrl: URI + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): TeamConnection! """ - The Node ID of the RepoAddTopicAuditEntry object + A URL pointing to the team's avatar. """ - id: ID! + avatarUrl( + """ + The size in pixels of the resulting square image. + """ + size: Int = 400 + ): URI """ - The corresponding operation type for the action + List of child teams belonging to this team """ - operationType: OperationType + childTeams( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The Organization associated with the Audit Entry. - """ - organization: Organization + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Whether to list immediate child teams or all descendant child teams. + """ + immediateOnly: Boolean = true + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Order for connection + """ + orderBy: TeamOrder + + """ + User logins to filter by + """ + userLogins: [String!] + ): TeamConnection! """ - The name of the Organization. + The slug corresponding to the organization and team. """ - organizationName: String + combinedSlug: String! """ - The HTTP path for the organization + Identifies the date and time when the object was created. """ - organizationResourcePath: URI + createdAt: DateTime! """ - The HTTP URL for the organization + Identifies the primary key from the database. """ - organizationUrl: URI + databaseId: Int """ - The repository associated with the action + The description of the team. """ - repository: Repository + description: String """ - The name of the repository + The HTTP path for editing this team """ - repositoryName: String + editTeamResourcePath: URI! """ - The HTTP path for the repository + The HTTP URL for editing this team """ - repositoryResourcePath: URI + editTeamUrl: URI! """ - The HTTP URL for the repository + The Node ID of the Team object """ - repositoryUrl: URI + id: ID! """ - The name of the topic added to the repository + A list of pending invitations for users to this team """ - topic: Topic + invitations( + """ + 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 + ): OrganizationInvitationConnection """ - The name of the topic added to the repository + Get the status messages members of this entity have set that are either public or visible only to the organization. """ - topicName: String + memberStatuses( + """ + 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 user statuses returned from the connection. + """ + orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} + ): UserStatusConnection! """ - The user affected by the action + A list of users who are members of this team. """ - user: User + members( + """ + 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 + + """ + Filter by membership type + """ + membership: TeamMembershipType = ALL + + """ + Order for the connection. + """ + orderBy: TeamMemberOrder + + """ + The search string to look for. + """ + query: String + + """ + Filter by team member role + """ + role: TeamMemberRole + ): TeamMemberConnection! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The HTTP path for the team' members """ - userLogin: String + membersResourcePath: URI! """ - The HTTP path for the user. + The HTTP URL for the team' members """ - userResourcePath: URI + membersUrl: URI! """ - The HTTP URL for the user. + The name of the team. """ - userUrl: URI -} + name: String! -""" -Audit log entry for a repo.archived event. -""" -type RepoArchivedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { """ - The action name + The HTTP path creating a new team """ - action: String! + newTeamResourcePath: URI! """ - The user who initiated the action + The HTTP URL creating a new team """ - actor: AuditEntryActor + newTeamUrl: URI! """ - The IP address of the actor + The notification setting that the team has set. """ - actorIp: String + notificationSetting: TeamNotificationSetting! """ - A readable representation of the actor's location + The organization that owns this team. """ - actorLocation: ActorLocation + organization: Organization! """ - The username of the user who initiated the action + The parent team of the team. """ - actorLogin: String + parentTeam: Team """ - The HTTP path for the actor. + The level of privacy the team has. """ - actorResourcePath: URI + privacy: TeamPrivacy! """ - The HTTP URL for the actor. + Finds and returns the project according to the provided project number. """ - actorUrl: URI + projectV2( + """ + The Project number. + """ + number: Int! + ): ProjectV2 """ - The time the action was initiated + List of projects this team has collaborator access to. """ - createdAt: PreciseDateTime! + projectsV2( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The Node ID of the RepoArchivedAuditEntry object - """ - id: ID! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The corresponding operation type for the action - """ - operationType: OperationType + """ + Filtering options for projects returned from this connection + """ + filterBy: ProjectV2Filters = {} + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Filter projects based on user role. + """ + minPermissionLevel: ProjectV2PermissionLevel = READ + + """ + How to order the returned projects. + """ + orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + + """ + The query to search projects by. + """ + query: String = "" + ): ProjectV2Connection! """ - The Organization associated with the Audit Entry. + A list of repositories this team has access to. """ - organization: Organization + repositories( + """ + 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 + + """ + Order for the connection. + """ + orderBy: TeamRepositoryOrder + + """ + The search string to look for. Repositories will be returned where the name contains your search string. + """ + query: String + ): TeamRepositoryConnection! """ - The name of the Organization. + The HTTP path for this team's repositories """ - organizationName: String + repositoriesResourcePath: URI! """ - The HTTP path for the organization + The HTTP URL for this team's repositories """ - organizationResourcePath: URI + repositoriesUrl: URI! """ - The HTTP URL for the organization + The HTTP path for this team """ - organizationUrl: URI + resourcePath: URI! """ - The repository associated with the action + What algorithm is used for review assignment for this team """ - repository: Repository + reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm """ - The name of the repository + True if review assignment is enabled for this team """ - repositoryName: String + reviewRequestDelegationEnabled: Boolean! """ - The HTTP path for the repository + How many team members are required for review assignment for this team """ - repositoryResourcePath: URI + reviewRequestDelegationMemberCount: Int """ - The HTTP URL for the repository + When assigning team members via delegation, whether the entire team should be notified as well. """ - repositoryUrl: URI + reviewRequestDelegationNotifyTeam: Boolean! """ - The user affected by the action + The slug corresponding to the team. """ - user: User + slug: String! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The HTTP path for this team's teams """ - userLogin: String + teamsResourcePath: URI! """ - The HTTP path for the user. + The HTTP URL for this team's teams """ - userResourcePath: URI + teamsUrl: URI! """ - The HTTP URL for the user. + Identifies the date and time when the object was last updated. """ - userUrl: URI + updatedAt: DateTime! """ - The visibility of the repository + The HTTP URL for this team """ - visibility: RepoArchivedAuditEntryVisibility -} + url: URI! -""" -The privacy of a repository -""" -enum RepoArchivedAuditEntryVisibility { """ - The repository is visible only to users in the same enterprise. + Team is adminable by the viewer. """ - INTERNAL + viewerCanAdminister: Boolean! """ - The repository is visible only to those with explicit access. + Check if the viewer is able to change their subscription status for the subscribable entity. """ - PRIVATE + viewerCanSubscribe: Boolean! @deprecated(reason: "`Team.viewerCanSubscribe` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.") """ - The repository is visible to everyone. + Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. """ - PUBLIC + viewerSubscription: SubscriptionState @deprecated(reason: "`Team.viewerSubscription` will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.") } """ -Audit log entry for a repo.change_merge_setting event. +Audit log entry for a team.add_member event. """ -type RepoChangeMergeSettingAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type TeamAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the RepoChangeMergeSettingAuditEntry object + The Node ID of the TeamAddMemberAuditEntry object """ id: ID! """ - Whether the change was to enable (true) or disable (false) the merge type - """ - isEnabled: Boolean - - """ - The merge method affected by the change + Whether the team was mapped to an LDAP Group. """ - mergeType: RepoChangeMergeSettingAuditEntryMergeType + isLdapMapped: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The repository associated with the action + The team associated with the action """ - repository: Repository + team: Team """ - The name of the repository + The name of the team """ - repositoryName: String + teamName: String """ - The HTTP path for the repository + The HTTP path for this team """ - repositoryResourcePath: URI + teamResourcePath: URI """ - The HTTP URL for the repository + The HTTP URL for this team """ - repositoryUrl: URI + teamUrl: URI """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI -} - -""" -The merge options available for pull requests to this repository. -""" -enum RepoChangeMergeSettingAuditEntryMergeType { - """ - The pull request is added to the base branch in a merge commit. - """ - MERGE - - """ - Commits from the pull request are added onto the base branch individually without a merge commit. - """ - REBASE - - """ - The pull request's commits are squashed into a single commit before they are merged to the base branch. - """ - SQUASH + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a repo.config.disable_anonymous_git_access event. +Audit log entry for a team.add_repository event. """ -type RepoConfigDisableAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type TeamAddRepositoryAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TeamAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object + The Node ID of the TeamAddRepositoryAuditEntry object """ id: ID! + """ + Whether the team was mapped to an LDAP Group. + """ + isLdapMapped: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The repository associated with the action @@ -43222,560 +62382,641 @@ type RepoConfigDisableAnonymousGitAccessAuditEntry implements AuditEntry & Node """ repositoryUrl: URI + """ + The team associated with the action + """ + team: Team + + """ + The name of the team + """ + teamName: String + + """ + The HTTP path for this team + """ + teamResourcePath: URI + + """ + The HTTP URL for this team + """ + teamUrl: URI + """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a repo.config.disable_collaborators_only event. +Metadata for an audit entry with action team.* """ -type RepoConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +interface TeamAuditEntryData { + """ + The team associated with the action + """ + team: Team + + """ + The name of the team + """ + teamName: String + + """ + The HTTP path for this team + """ + teamResourcePath: URI + + """ + The HTTP URL for this team + """ + teamUrl: URI +} + +""" +Audit log entry for a team.change_parent_team event. +""" +type TeamChangeParentTeamAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object + The Node ID of the TeamChangeParentTeamAuditEntry object """ id: ID! + """ + Whether the team was mapped to an LDAP Group. + """ + isLdapMapped: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI - - """ - The repository associated with the action - """ - repository: Repository - - """ - The name of the repository - """ - repositoryName: String - - """ - The HTTP path for the repository - """ - repositoryResourcePath: URI - - """ - The HTTP URL for the repository - """ - repositoryUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user affected by the action + The new parent team. """ - user: User + parentTeam: Team @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The name of the new parent team """ - userLogin: String + parentTeamName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the user. + The name of the former parent team """ - userResourcePath: URI + parentTeamNameWas: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP URL for the user. + The HTTP path for the parent team """ - userUrl: URI -} + parentTeamResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") -""" -Audit log entry for a repo.config.disable_contributors_only event. -""" -type RepoConfigDisableContributorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { """ - The action name + The HTTP URL for the parent team """ - action: String! + parentTeamUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The user who initiated the action + The former parent team. """ - actor: AuditEntryActor + parentTeamWas: Team @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The IP address of the actor + The HTTP path for the previous parent team """ - actorIp: String + parentTeamWasResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A readable representation of the actor's location + The HTTP URL for the previous parent team """ - actorLocation: ActorLocation + parentTeamWasUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The username of the user who initiated the action + The team associated with the action """ - actorLogin: String + team: Team """ - The HTTP path for the actor. + The name of the team """ - actorResourcePath: URI + teamName: String """ - The HTTP URL for the actor. + The HTTP path for this team """ - actorUrl: URI + teamResourcePath: URI """ - The time the action was initiated + The HTTP URL for this team """ - createdAt: PreciseDateTime! + teamUrl: URI """ - The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object + The user affected by the action """ - id: ID! + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The corresponding operation type for the action + For actions involving two users, the actor is the initiator and the user is the affected user. """ - operationType: OperationType + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Organization associated with the Audit Entry. + The HTTP path for the user. """ - organization: Organization + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The name of the Organization. + The HTTP URL for the user. """ - organizationName: String + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +The connection type for Team. +""" +type TeamConnection { """ - The HTTP path for the organization + A list of edges. """ - organizationResourcePath: URI + edges: [TeamEdge] """ - The HTTP URL for the organization + A list of nodes. """ - organizationUrl: URI + nodes: [Team] """ - The repository associated with the action + Information to aid in pagination. """ - repository: Repository + pageInfo: PageInfo! """ - The name of the repository + Identifies the total count of items in the connection. """ - repositoryName: String + totalCount: Int! +} +""" +An edge in a connection. +""" +type TeamEdge { """ - The HTTP path for the repository + A cursor for use in pagination. """ - repositoryResourcePath: URI + cursor: String! """ - The HTTP URL for the repository + The item at the end of the edge. """ - repositoryUrl: URI + node: Team +} +""" +The connection type for User. +""" +type TeamMemberConnection { """ - The user affected by the action + A list of edges. """ - user: User + edges: [TeamMemberEdge] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + A list of nodes. """ - userLogin: String + nodes: [User] """ - The HTTP path for the user. + Information to aid in pagination. """ - userResourcePath: URI + pageInfo: PageInfo! """ - The HTTP URL for the user. + Identifies the total count of items in the connection. """ - userUrl: URI + totalCount: Int! } """ -Audit log entry for a repo.config.disable_sockpuppet_disallowed event. +Represents a user who is a member of a team. """ -type RepoConfigDisableSockpuppetDisallowedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { - """ - The action name - """ - action: String! - - """ - The user who initiated the action - """ - actor: AuditEntryActor - +type TeamMemberEdge { """ - The IP address of the actor + A cursor for use in pagination. """ - actorIp: String + cursor: String! """ - A readable representation of the actor's location + The HTTP path to the organization's member access page. """ - actorLocation: ActorLocation + memberAccessResourcePath: URI! """ - The username of the user who initiated the action + The HTTP URL to the organization's member access page. """ - actorLogin: String + memberAccessUrl: URI! + node: User! """ - The HTTP path for the actor. + The role the member has on the team. """ - actorResourcePath: URI + role: TeamMemberRole! +} +""" +Ordering options for team member connections +""" +input TeamMemberOrder { """ - The HTTP URL for the actor. + The ordering direction. """ - actorUrl: URI + direction: OrderDirection! """ - The time the action was initiated + The field to order team members by. """ - createdAt: PreciseDateTime! + field: TeamMemberOrderField! +} +""" +Properties by which team member connections can be ordered. +""" +enum TeamMemberOrderField { """ - The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object + Order team members by creation time """ - id: ID! + CREATED_AT """ - The corresponding operation type for the action + Order team members by login """ - operationType: OperationType + LOGIN +} +""" +The possible team member roles; either 'maintainer' or 'member'. +""" +enum TeamMemberRole { """ - The Organization associated with the Audit Entry. + A team maintainer has permission to add and remove team members. """ - organization: Organization + MAINTAINER """ - The name of the Organization. + A team member has no administrative permissions on the team. """ - organizationName: String + MEMBER +} +""" +Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. +""" +enum TeamMembershipType { """ - The HTTP path for the organization + Includes immediate and child team members for the team. """ - organizationResourcePath: URI + ALL """ - The HTTP URL for the organization + Includes only child team members for the team. """ - organizationUrl: URI + CHILD_TEAM """ - The repository associated with the action + Includes only immediate members of the team. """ - repository: Repository + IMMEDIATE +} +""" +The possible team notification values. +""" +enum TeamNotificationSetting { """ - The name of the repository + No one will receive notifications. """ - repositoryName: String + NOTIFICATIONS_DISABLED """ - The HTTP path for the repository + Everyone will receive notifications when the team is @mentioned. """ - repositoryResourcePath: URI + NOTIFICATIONS_ENABLED +} +""" +Ways in which team connections can be ordered. +""" +input TeamOrder { """ - The HTTP URL for the repository + The direction in which to order nodes. """ - repositoryUrl: URI + direction: OrderDirection! """ - The user affected by the action + The field in which to order nodes by. """ - user: User + field: TeamOrderField! +} +""" +Properties by which team connections can be ordered. +""" +enum TeamOrderField { """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Allows ordering a list of teams by name. """ - userLogin: String + NAME +} +""" +The possible team privacy values. +""" +enum TeamPrivacy { """ - The HTTP path for the user. + A secret team can only be seen by its members. """ - userResourcePath: URI + SECRET """ - The HTTP URL for the user. + A visible team can be seen and @mentioned by every member of the organization. """ - userUrl: URI + VISIBLE } """ -Audit log entry for a repo.config.enable_anonymous_git_access event. +Audit log entry for a team.remove_member event. """ -type RepoConfigEnableAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type TeamRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object + The Node ID of the TeamRemoveMemberAuditEntry object """ id: ID! + """ + Whether the team was mapped to an LDAP Group. + """ + isLdapMapped: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The repository associated with the action + The team associated with the action """ - repository: Repository + team: Team """ - The name of the repository + The name of the team """ - repositoryName: String + teamName: String """ - The HTTP path for the repository + The HTTP path for this team """ - repositoryResourcePath: URI + teamResourcePath: URI """ - The HTTP URL for the repository + The HTTP URL for this team """ - repositoryUrl: URI + teamUrl: URI """ The user affected by the action """ - user: User + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ For actions involving two users, the actor is the initiator and the user is the affected user. """ - userLogin: String + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the user. """ - userResourcePath: URI + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the user. """ - userUrl: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") } """ -Audit log entry for a repo.config.enable_collaborators_only event. +Audit log entry for a team.remove_repository event. """ -type RepoConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type TeamRemoveRepositoryAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TeamAuditEntryData { """ The action name """ - action: String! + action: String! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The user who initiated the action """ - actor: AuditEntryActor + actor: AuditEntryActor @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The IP address of the actor """ - actorIp: String + actorIp: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ A readable representation of the actor's location """ - actorLocation: ActorLocation + actorLocation: ActorLocation @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The username of the user who initiated the action """ - actorLogin: String + actorLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the actor. """ - actorResourcePath: URI + actorResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the actor. """ - actorUrl: URI + actorUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The time the action was initiated """ - createdAt: PreciseDateTime! + createdAt: PreciseDateTime! @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object + The Node ID of the TeamRemoveRepositoryAuditEntry object """ id: ID! + """ + Whether the team was mapped to an LDAP Group. + """ + isLdapMapped: Boolean @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") + """ The corresponding operation type for the action """ - operationType: OperationType + operationType: OperationType @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The Organization associated with the Audit Entry. """ - organization: Organization + organization: Organization @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The name of the Organization. """ - organizationName: String + organizationName: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP path for the organization """ - organizationResourcePath: URI + organizationResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The HTTP URL for the organization """ - organizationUrl: URI + organizationUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ The repository associated with the action @@ -43798,1240 +63039,1469 @@ type RepoConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & repositoryUrl: URI """ - The user affected by the action - """ - user: User - - """ - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - userLogin: String - - """ - The HTTP path for the user. + The team associated with the action """ - userResourcePath: URI + team: Team """ - The HTTP URL for the user. + The name of the team """ - userUrl: URI -} + teamName: String -""" -Audit log entry for a repo.config.enable_contributors_only event. -""" -type RepoConfigEnableContributorsOnlyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { """ - The action name + The HTTP path for this team """ - action: String! + teamResourcePath: URI """ - The user who initiated the action + The HTTP URL for this team """ - actor: AuditEntryActor + teamUrl: URI """ - The IP address of the actor + The user affected by the action """ - actorIp: String + user: User @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - A readable representation of the actor's location + For actions involving two users, the actor is the initiator and the user is the affected user. """ - actorLocation: ActorLocation + userLogin: String @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The username of the user who initiated the action + The HTTP path for the user. """ - actorLogin: String + userResourcePath: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") """ - The HTTP path for the actor. + The HTTP URL for the user. """ - actorResourcePath: URI + userUrl: URI @deprecated(reason: "The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.") +} +""" +The connection type for Repository. +""" +type TeamRepositoryConnection { """ - The HTTP URL for the actor. + A list of edges. """ - actorUrl: URI + edges: [TeamRepositoryEdge] """ - The time the action was initiated + A list of nodes. """ - createdAt: PreciseDateTime! + nodes: [Repository] """ - The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object + Information to aid in pagination. """ - id: ID! + pageInfo: PageInfo! """ - The corresponding operation type for the action + Identifies the total count of items in the connection. """ - operationType: OperationType + totalCount: Int! +} +""" +Represents a team repository. +""" +type TeamRepositoryEdge { """ - The Organization associated with the Audit Entry. + A cursor for use in pagination. """ - organization: Organization + cursor: String! + node: Repository! """ - The name of the Organization. + The permission level the team has on the repository """ - organizationName: String + permission: RepositoryPermission! +} +""" +Ordering options for team repository connections +""" +input TeamRepositoryOrder { """ - The HTTP path for the organization + The ordering direction. """ - organizationResourcePath: URI + direction: OrderDirection! """ - The HTTP URL for the organization + The field to order repositories by. """ - organizationUrl: URI + field: TeamRepositoryOrderField! +} +""" +Properties by which team repository connections can be ordered. +""" +enum TeamRepositoryOrderField { """ - The repository associated with the action + Order repositories by creation time """ - repository: Repository + CREATED_AT """ - The name of the repository + Order repositories by name """ - repositoryName: String + NAME """ - The HTTP path for the repository + Order repositories by permission """ - repositoryResourcePath: URI + PERMISSION """ - The HTTP URL for the repository + Order repositories by push time """ - repositoryUrl: URI + PUSHED_AT """ - The user affected by the action + Order repositories by number of stargazers """ - user: User + STARGAZERS """ - For actions involving two users, the actor is the initiator and the user is the affected user. + Order repositories by update time """ - userLogin: String + UPDATED_AT +} +""" +The possible team review assignment algorithms +""" +enum TeamReviewAssignmentAlgorithm { """ - The HTTP path for the user. + Balance review load across the entire team """ - userResourcePath: URI + LOAD_BALANCE """ - The HTTP URL for the user. + Alternate reviews between each team member """ - userUrl: URI + ROUND_ROBIN } """ -Audit log entry for a repo.config.enable_sockpuppet_disallowed event. +Represents a team that can be requested to review a pull request. """ -type RepoConfigEnableSockpuppetDisallowedAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +interface TeamReviewRequestable { """ - The action name + The Node ID of the TeamReviewRequestable object """ - action: String! + id: ID! """ - The user who initiated the action + The name of the team. """ - actor: AuditEntryActor + name: String! """ - The IP address of the actor + A unique, human-readable identifier for the team. """ - actorIp: String + slug: String! +} +""" +The role of a user on a team. +""" +enum TeamRole { """ - A readable representation of the actor's location + User has admin rights on the team. """ - actorLocation: ActorLocation + ADMIN """ - The username of the user who initiated the action + User is a member of the team. """ - actorLogin: String + MEMBER +} +""" +A text match within a search result. +""" +type TextMatch { """ - The HTTP path for the actor. + The specific text fragment within the property matched on. """ - actorResourcePath: URI + fragment: String! """ - The HTTP URL for the actor. + Highlights within the matched fragment. """ - actorUrl: URI + highlights: [TextMatchHighlight!]! """ - The time the action was initiated + The property matched on. """ - createdAt: PreciseDateTime! + property: String! +} +""" +Represents a single highlight in a search result match. +""" +type TextMatchHighlight { """ - The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object + The indice in the fragment where the matched text begins. """ - id: ID! + beginIndice: Int! """ - The corresponding operation type for the action + The indice in the fragment where the matched text ends. """ - operationType: OperationType + endIndice: Int! """ - The Organization associated with the Audit Entry. + The text matched. """ - organization: Organization + text: String! +} +""" +The possible states of a thread subscription form action +""" +enum ThreadSubscriptionFormAction { """ - The name of the Organization. + The User cannot subscribe or unsubscribe to the thread """ - organizationName: String + NONE """ - The HTTP path for the organization + The User can subscribe to the thread """ - organizationResourcePath: URI + SUBSCRIBE """ - The HTTP URL for the organization + The User can unsubscribe to the thread """ - organizationUrl: URI + UNSUBSCRIBE +} +""" +The possible states of a subscription. +""" +enum ThreadSubscriptionState { """ - The repository associated with the action + The subscription status is currently disabled. """ - repository: Repository + DISABLED """ - The name of the repository + The User is never notified because they are ignoring the list """ - repositoryName: String + IGNORING_LIST """ - The HTTP path for the repository + The User is never notified because they are ignoring the thread """ - repositoryResourcePath: URI + IGNORING_THREAD """ - The HTTP URL for the repository + The User is not recieving notifications from this thread """ - repositoryUrl: URI + NONE """ - The user affected by the action + The User is notified becuase they are watching the list """ - user: User + SUBSCRIBED_TO_LIST """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The User is notified because they are subscribed to the thread """ - userLogin: String + SUBSCRIBED_TO_THREAD """ - The HTTP path for the user. + The User is notified because they chose custom settings for this thread. """ - userResourcePath: URI + SUBSCRIBED_TO_THREAD_EVENTS """ - The HTTP URL for the user. + The User is notified because they chose custom settings for this thread. + """ + SUBSCRIBED_TO_THREAD_TYPE + + """ + The subscription status is currently unavailable. """ - userUrl: URI + UNAVAILABLE } """ -Audit log entry for a repo.config.lock_anonymous_git_access event. +A topic aggregates entities that are related to a subject. """ -type RepoConfigLockAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type Topic implements Node & Starrable { """ - The action name + The Node ID of the Topic object """ - action: String! + id: ID! """ - The user who initiated the action + The topic's name. """ - actor: AuditEntryActor + name: String! """ - The IP address of the actor + A list of related topics, including aliases of this topic, sorted with the most relevant + first. Returns up to 10 Topics. """ - actorIp: String + relatedTopics( + """ + How many topics to return. + """ + first: Int = 3 + ): [Topic!]! """ - A readable representation of the actor's location + A list of repositories. """ - actorLocation: ActorLocation + repositories( + """ + Array of viewer's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + current viewer owns. + """ + affiliations: [RepositoryAffiliation] - """ - The username of the user who initiated the action - """ - actorLogin: String + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The HTTP path for the actor. - """ - actorResourcePath: URI + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String - """ - The HTTP URL for the actor. - """ - actorUrl: URI + """ + Returns the first _n_ elements from the list. + """ + first: Int - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! + """ + If non-null, filters repositories according to whether they have issues enabled + """ + hasIssuesEnabled: Boolean - """ - The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object - """ - id: ID! + """ + If non-null, filters repositories according to whether they have been locked + """ + isLocked: Boolean - """ - The corresponding operation type for the action - """ - operationType: OperationType + """ + Returns the last _n_ elements from the list. + """ + last: Int - """ - The Organization associated with the Audit Entry. - """ - organization: Organization + """ + Ordering options for repositories returned from the connection + """ + orderBy: RepositoryOrder + + """ + Array of owner's affiliation options for repositories returned from the + connection. For example, OWNER will include only repositories that the + organization or user being viewed owns. + """ + ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + + """ + If non-null, filters repositories according to privacy. Internal + repositories are considered private; consider using the visibility argument + if only internal repositories are needed. Cannot be combined with the + visibility argument. + """ + privacy: RepositoryPrivacy + + """ + If true, only repositories whose owner can be sponsored via GitHub Sponsors will be returned. + """ + sponsorableOnly: Boolean = false + + """ + If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. + """ + visibility: RepositoryVisibility + ): RepositoryConnection! """ - The name of the Organization. + Returns a count of how many stargazers there are on this object """ - organizationName: String + stargazerCount: Int! """ - The HTTP path for the organization + A list of users who have starred this starrable. """ - organizationResourcePath: URI + stargazers( + """ + 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 + + """ + Order for connection + """ + orderBy: StarOrder + ): StargazerConnection! """ - The HTTP URL for the organization + Returns a boolean indicating whether the viewing user has starred this starrable. """ - organizationUrl: URI + viewerHasStarred: Boolean! +} +""" +Metadata for an audit entry with a topic. +""" +interface TopicAuditEntryData { """ - The repository associated with the action + The name of the topic added to the repository """ - repository: Repository + topic: Topic """ - The name of the repository + The name of the topic added to the repository """ - repositoryName: String + topicName: String +} +""" +Reason that the suggested topic is declined. +""" +enum TopicSuggestionDeclineReason { """ - The HTTP path for the repository + The suggested topic is not relevant to the repository. """ - repositoryResourcePath: URI + NOT_RELEVANT @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") """ - The HTTP URL for the repository + The viewer does not like the suggested topic. """ - repositoryUrl: URI + PERSONAL_PREFERENCE @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") """ - The user affected by the action + The suggested topic is too general for the repository. """ - user: User + TOO_GENERAL @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). """ - userLogin: String + TOO_SPECIFIC @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") +} +""" +The possible states of a tracked issue. +""" +enum TrackedIssueStates { """ - The HTTP path for the user. + The tracked issue is closed """ - userResourcePath: URI + CLOSED """ - The HTTP URL for the user. + The tracked issue is open """ - userUrl: URI + OPEN } """ -Audit log entry for a repo.config.unlock_anonymous_git_access event. +Autogenerated input type of TransferEnterpriseOrganization """ -type RepoConfigUnlockAnonymousGitAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +input TransferEnterpriseOrganizationInput { """ - The action name + A unique identifier for the client performing the mutation. """ - action: String! + clientMutationId: String """ - The user who initiated the action + The ID of the enterprise where the organization should be transferred. """ - actor: AuditEntryActor + destinationEnterpriseId: ID! """ - The IP address of the actor + The ID of the organization to transfer. """ - actorIp: String + organizationId: ID! +} +""" +Autogenerated return type of TransferEnterpriseOrganization. +""" +type TransferEnterpriseOrganizationPayload { """ - A readable representation of the actor's location + A unique identifier for the client performing the mutation. """ - actorLocation: ActorLocation + clientMutationId: String """ - The username of the user who initiated the action + The organization for which a transfer was initiated. """ - actorLogin: String + organization: Organization +} +""" +Autogenerated input type of TransferIssue +""" +input TransferIssueInput { """ - The HTTP path for the actor. + A unique identifier for the client performing the mutation. """ - actorResourcePath: URI + clientMutationId: String """ - The HTTP URL for the actor. + Whether to create labels if they don't exist in the target repository (matched by name) """ - actorUrl: URI + createLabelsIfMissing: Boolean = false """ - The time the action was initiated + The Node ID of the issue to be transferred """ - createdAt: PreciseDateTime! + issueId: ID! """ - The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object + The Node ID of the repository the issue should be transferred to """ - id: ID! + repositoryId: ID! +} + +""" +Autogenerated return type of TransferIssue. +""" +type TransferIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The corresponding operation type for the action + The issue that was transferred """ - operationType: OperationType + issue: Issue +} +""" +Represents a 'transferred' event on a given issue or pull request. +""" +type TransferredEvent implements Node { """ - The Organization associated with the Audit Entry. + Identifies the actor who performed the event. """ - organization: Organization + actor: Actor """ - The name of the Organization. + Identifies the date and time when the object was created. """ - organizationName: String + createdAt: DateTime! """ - The HTTP path for the organization + The repository this came from """ - organizationResourcePath: URI + fromRepository: Repository """ - The HTTP URL for the organization + The Node ID of the TransferredEvent object """ - organizationUrl: URI + id: ID! """ - The repository associated with the action + Identifies the issue associated with the event. """ - repository: Repository + issue: Issue! +} +""" +Represents a Git tree. +""" +type Tree implements GitObject & Node { """ - The name of the repository + An abbreviated version of the Git object ID """ - repositoryName: String + abbreviatedOid: String! """ - The HTTP path for the repository + The HTTP path for this Git object """ - repositoryResourcePath: URI + commitResourcePath: URI! """ - The HTTP URL for the repository + The HTTP URL for this Git object """ - repositoryUrl: URI + commitUrl: URI! """ - The user affected by the action + A list of tree entries. """ - user: User + entries: [TreeEntry!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The Node ID of the Tree object """ - userLogin: String + id: ID! """ - The HTTP path for the user. + The Git object ID """ - userResourcePath: URI + oid: GitObjectID! """ - The HTTP URL for the user. + The Repository the Git object belongs to """ - userUrl: URI + repository: Repository! } """ -Audit log entry for a repo.create event. +Represents a Git tree entry. """ -type RepoCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type TreeEntry { """ - The action name + The extension of the file """ - action: String! + extension: String """ - The user who initiated the action + Whether or not this tree entry is generated """ - actor: AuditEntryActor + isGenerated: Boolean! """ - The IP address of the actor + The programming language this file is written in. """ - actorIp: String + language: Language """ - A readable representation of the actor's location + Number of lines in the file. """ - actorLocation: ActorLocation + lineCount: Int """ - The username of the user who initiated the action + Entry file mode. """ - actorLogin: String + mode: Int! """ - The HTTP path for the actor. + Entry file name. """ - actorResourcePath: URI + name: String! """ - The HTTP URL for the actor. + Entry file name. (Base64-encoded) """ - actorUrl: URI + nameRaw: Base64String! """ - The time the action was initiated + Entry file object. """ - createdAt: PreciseDateTime! + object: GitObject """ - The name of the parent repository for this forked repository. + Entry file Git object ID. """ - forkParentName: String + oid: GitObjectID! """ - The name of the root repository for this network. + The full path of the file. """ - forkSourceName: String + path: String """ - The Node ID of the RepoCreateAuditEntry object + The full path of the file. (Base64-encoded) """ - id: ID! + pathRaw: Base64String """ - The corresponding operation type for the action + The Repository the tree entry belongs to """ - operationType: OperationType + repository: Repository! """ - The Organization associated with the Audit Entry. + Entry byte size """ - organization: Organization + size: Int! """ - The name of the Organization. + If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule """ - organizationName: String + submodule: Submodule """ - The HTTP path for the organization + Entry file type. """ - organizationResourcePath: URI + type: String! +} +""" +Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. +""" +enum TwoFactorCredentialSecurityType { """ - The HTTP URL for the organization + No method of two-factor authentication. """ - organizationUrl: URI + DISABLED """ - The repository associated with the action + Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication. """ - repository: Repository + INSECURE """ - The name of the repository + Has only secure methods of two-factor authentication. """ - repositoryName: String + SECURE +} + +""" +An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. +""" +scalar URI +""" +Autogenerated input type of UnarchiveProjectV2Item +""" +input UnarchiveProjectV2ItemInput { """ - The HTTP path for the repository + A unique identifier for the client performing the mutation. """ - repositoryResourcePath: URI + clientMutationId: String """ - The HTTP URL for the repository + The ID of the ProjectV2Item to unarchive. """ - repositoryUrl: URI + itemId: ID! """ - The user affected by the action + The ID of the Project to archive the item from. """ - user: User + projectId: ID! +} +""" +Autogenerated return type of UnarchiveProjectV2Item. +""" +type UnarchiveProjectV2ItemPayload { """ - For actions involving two users, the actor is the initiator and the user is the affected user. + A unique identifier for the client performing the mutation. """ - userLogin: String + clientMutationId: String """ - The HTTP path for the user. + The item unarchived from the project. """ - userResourcePath: URI + item: ProjectV2Item +} +""" +Autogenerated input type of UnarchivePullRequest +""" +input UnarchivePullRequestInput { """ - The HTTP URL for the user. + A unique identifier for the client performing the mutation. """ - userUrl: URI + clientMutationId: String """ - The visibility of the repository + The Node ID of the pull request to unarchive. """ - visibility: RepoCreateAuditEntryVisibility + pullRequestId: ID! } """ -The privacy of a repository +Autogenerated return type of UnarchivePullRequest. """ -enum RepoCreateAuditEntryVisibility { +type UnarchivePullRequestPayload { """ - The repository is visible only to users in the same enterprise. + A unique identifier for the client performing the mutation. """ - INTERNAL + clientMutationId: String """ - The repository is visible only to those with explicit access. + The pull request that was unarchived. """ - PRIVATE + pullRequest: PullRequest +} + +""" +Autogenerated input type of UnarchiveRepository +""" +input UnarchiveRepositoryInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The repository is visible to everyone. + The ID of the repository to unarchive. """ - PUBLIC + repositoryId: ID! } """ -Audit log entry for a repo.destroy event. +Autogenerated return type of UnarchiveRepository. """ -type RepoDestroyAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type UnarchiveRepositoryPayload { """ - The action name + A unique identifier for the client performing the mutation. """ - action: String! + clientMutationId: String """ - The user who initiated the action + The repository that was unarchived. """ - actor: AuditEntryActor + repository: Repository +} +""" +Represents an 'unassigned' event on any assignable object. +""" +type UnassignedEvent implements Node { """ - The IP address of the actor + Identifies the actor who performed the event. """ - actorIp: String + actor: Actor """ - A readable representation of the actor's location + Identifies the assignable associated with the event. """ - actorLocation: ActorLocation + assignable: Assignable! """ - The username of the user who initiated the action + Identifies the user or mannequin that was unassigned. """ - actorLogin: String + assignee: Assignee """ - The HTTP path for the actor. + Identifies the date and time when the object was created. """ - actorResourcePath: URI + createdAt: DateTime! """ - The HTTP URL for the actor. + The Node ID of the UnassignedEvent object """ - actorUrl: URI + id: ID! """ - The time the action was initiated + Identifies the subject (user) who was unassigned. """ - createdAt: PreciseDateTime! + user: User @deprecated(reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC.") +} +""" +Autogenerated input type of UnfollowOrganization +""" +input UnfollowOrganizationInput { """ - The Node ID of the RepoDestroyAuditEntry object + A unique identifier for the client performing the mutation. """ - id: ID! + clientMutationId: String """ - The corresponding operation type for the action + ID of the organization to unfollow. """ - operationType: OperationType + organizationId: ID! +} +""" +Autogenerated return type of UnfollowOrganization. +""" +type UnfollowOrganizationPayload { """ - The Organization associated with the Audit Entry. + A unique identifier for the client performing the mutation. """ - organization: Organization + clientMutationId: String """ - The name of the Organization. + The organization that was unfollowed. """ - organizationName: String + organization: Organization +} +""" +Autogenerated input type of UnfollowUser +""" +input UnfollowUserInput { """ - The HTTP path for the organization + A unique identifier for the client performing the mutation. """ - organizationResourcePath: URI + clientMutationId: String """ - The HTTP URL for the organization + ID of the user to unfollow. """ - organizationUrl: URI + userId: ID! +} +""" +Autogenerated return type of UnfollowUser. +""" +type UnfollowUserPayload { """ - The repository associated with the action + A unique identifier for the client performing the mutation. """ - repository: Repository + clientMutationId: String """ - The name of the repository + The user that was unfollowed. """ - repositoryName: String + user: User +} +""" +Represents a type that can be retrieved by a URL. +""" +interface UniformResourceLocatable { """ - The HTTP path for the repository + The HTML path to this resource. """ - repositoryResourcePath: URI + resourcePath: URI! """ - The HTTP URL for the repository + The URL to this resource. """ - repositoryUrl: URI + url: URI! +} +""" +Represents an unknown signature on a Commit or Tag. +""" +type UnknownSignature implements GitSignature { """ - The user affected by the action + Email used to sign this object. """ - user: User + email: String! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + True if the signature is valid and verified by GitHub. """ - userLogin: String + isValid: Boolean! """ - The HTTP path for the user. + Payload for GPG signing object. Raw ODB object without the signature header. """ - userResourcePath: URI + payload: String! """ - The HTTP URL for the user. + ASCII-armored signature header from object. """ - userUrl: URI + signature: String! """ - The visibility of the repository + GitHub user corresponding to the email signing this commit. """ - visibility: RepoDestroyAuditEntryVisibility -} + signer: User -""" -The privacy of a repository -""" -enum RepoDestroyAuditEntryVisibility { """ - The repository is visible only to users in the same enterprise. + The state of this signature. `VALID` if signature is valid and verified by + GitHub, otherwise represents reason why signature is considered invalid. """ - INTERNAL + state: GitSignatureState! """ - The repository is visible only to those with explicit access. + The date the signature was verified, if valid """ - PRIVATE + verifiedAt: DateTime """ - The repository is visible to everyone. + True if the signature was made with GitHub's signing key. """ - PUBLIC + wasSignedByGitHub: Boolean! } """ -Audit log entry for a repo.remove_member event. +Represents an 'unlabeled' event on a given issue or pull request. """ -type RepoRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData { +type UnlabeledEvent implements Node { """ - The action name + Identifies the actor who performed the event. """ - action: String! + actor: Actor """ - The user who initiated the action + Identifies the date and time when the object was created. """ - actor: AuditEntryActor + createdAt: DateTime! """ - The IP address of the actor + The Node ID of the UnlabeledEvent object """ - actorIp: String + id: ID! """ - A readable representation of the actor's location + The intent behind the agent's action, including rationale and confidence. """ - actorLocation: ActorLocation + intent: IssueUpdateIntent """ - The username of the user who initiated the action + Identifies the label associated with the 'unlabeled' event. """ - actorLogin: String + label: Label! """ - The HTTP path for the actor. + Identifies the `Labelable` associated with the event. """ - actorResourcePath: URI + labelable: Labelable! """ - The HTTP URL for the actor. + The rationale associated with this event. Always returns null; use `intent` instead. """ - actorUrl: URI + rationale: IssueEventRationale @deprecated(reason: "Use `intent` instead. This field is being removed and now always returns null.") +} +""" +Autogenerated input type of UnlinkProjectV2FromRepository +""" +input UnlinkProjectV2FromRepositoryInput { """ - The time the action was initiated + A unique identifier for the client performing the mutation. """ - createdAt: PreciseDateTime! + clientMutationId: String """ - The Node ID of the RepoRemoveMemberAuditEntry object + The ID of the project to unlink from the repository. """ - id: ID! + projectId: ID! """ - The corresponding operation type for the action + The ID of the repository to unlink from the project. """ - operationType: OperationType + repositoryId: ID! +} +""" +Autogenerated return type of UnlinkProjectV2FromRepository. +""" +type UnlinkProjectV2FromRepositoryPayload { """ - The Organization associated with the Audit Entry. + A unique identifier for the client performing the mutation. """ - organization: Organization + clientMutationId: String """ - The name of the Organization. + The repository the project is no longer linked to. """ - organizationName: String + repository: Repository +} +""" +Autogenerated input type of UnlinkProjectV2FromTeam +""" +input UnlinkProjectV2FromTeamInput { """ - The HTTP path for the organization + A unique identifier for the client performing the mutation. """ - organizationResourcePath: URI + clientMutationId: String """ - The HTTP URL for the organization + The ID of the project to unlink from the team. """ - organizationUrl: URI + projectId: ID! """ - The repository associated with the action + The ID of the team to unlink from the project. """ - repository: Repository + teamId: ID! +} +""" +Autogenerated return type of UnlinkProjectV2FromTeam. +""" +type UnlinkProjectV2FromTeamPayload { """ - The name of the repository + A unique identifier for the client performing the mutation. """ - repositoryName: String + clientMutationId: String """ - The HTTP path for the repository + The team the project is unlinked from """ - repositoryResourcePath: URI + team: Team +} +""" +Autogenerated input type of UnlinkRepositoryFromProject +""" +input UnlinkRepositoryFromProjectInput { """ - The HTTP URL for the repository + A unique identifier for the client performing the mutation. """ - repositoryUrl: URI + clientMutationId: String """ - The user affected by the action + The ID of the Project linked to the Repository. """ - user: User + projectId: ID! """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The ID of the Repository linked to the Project. """ - userLogin: String + repositoryId: ID! +} +""" +Autogenerated return type of UnlinkRepositoryFromProject. +""" +type UnlinkRepositoryFromProjectPayload { """ - The HTTP path for the user. + A unique identifier for the client performing the mutation. """ - userResourcePath: URI + clientMutationId: String """ - The HTTP URL for the user. + The linked Project. """ - userUrl: URI + project: Project """ - The visibility of the repository + The linked Repository. """ - visibility: RepoRemoveMemberAuditEntryVisibility + repository: Repository } """ -The privacy of a repository +Autogenerated input type of UnlockLockable """ -enum RepoRemoveMemberAuditEntryVisibility { - """ - The repository is visible only to users in the same enterprise. - """ - INTERNAL - +input UnlockLockableInput { """ - The repository is visible only to those with explicit access. + A unique identifier for the client performing the mutation. """ - PRIVATE + clientMutationId: String """ - The repository is visible to everyone. + ID of the item to be unlocked. """ - PUBLIC + lockableId: ID! } """ -Audit log entry for a repo.remove_topic event. +Autogenerated return type of UnlockLockable. """ -type RepoRemoveTopicAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TopicAuditEntryData { +type UnlockLockablePayload { """ - The action name + Identifies the actor who performed the event. """ - action: String! + actor: Actor """ - The user who initiated the action + A unique identifier for the client performing the mutation. """ - actor: AuditEntryActor + clientMutationId: String """ - The IP address of the actor + The item that was unlocked. """ - actorIp: String + unlockedRecord: Lockable +} +""" +Represents an 'unlocked' event on a given issue or pull request. +""" +type UnlockedEvent implements Node { """ - A readable representation of the actor's location + Identifies the actor who performed the event. """ - actorLocation: ActorLocation + actor: Actor """ - The username of the user who initiated the action + Identifies the date and time when the object was created. """ - actorLogin: String + createdAt: DateTime! """ - The HTTP path for the actor. + The Node ID of the UnlockedEvent object """ - actorResourcePath: URI + id: ID! """ - The HTTP URL for the actor. + Object that was unlocked. """ - actorUrl: URI + lockable: Lockable! +} +""" +Autogenerated input type of UnmarkDiscussionCommentAsAnswer +""" +input UnmarkDiscussionCommentAsAnswerInput { """ - The time the action was initiated + A unique identifier for the client performing the mutation. """ - createdAt: PreciseDateTime! + clientMutationId: String """ - The Node ID of the RepoRemoveTopicAuditEntry object + The Node ID of the discussion comment to unmark as an answer. """ id: ID! +} +""" +Autogenerated return type of UnmarkDiscussionCommentAsAnswer. +""" +type UnmarkDiscussionCommentAsAnswerPayload { """ - The corresponding operation type for the action + A unique identifier for the client performing the mutation. """ - operationType: OperationType + clientMutationId: String """ - The Organization associated with the Audit Entry. + The discussion that includes the comment. """ - organization: Organization + discussion: Discussion +} + +""" +Autogenerated input type of UnmarkFileAsViewed +""" +input UnmarkFileAsViewedInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The name of the Organization. + The path of the file to mark as unviewed """ - organizationName: String + path: String! """ - The HTTP path for the organization + The Node ID of the pull request. """ - organizationResourcePath: URI + pullRequestId: ID! +} +""" +Autogenerated return type of UnmarkFileAsViewed. +""" +type UnmarkFileAsViewedPayload { """ - The HTTP URL for the organization + A unique identifier for the client performing the mutation. """ - organizationUrl: URI + clientMutationId: String """ - The repository associated with the action + The updated pull request. """ - repository: Repository + pullRequest: PullRequest +} +""" +Autogenerated input type of UnmarkIssueAsDuplicate +""" +input UnmarkIssueAsDuplicateInput { """ - The name of the repository + ID of the issue or pull request currently considered canonical/authoritative/original. """ - repositoryName: String + canonicalId: ID! """ - The HTTP path for the repository + A unique identifier for the client performing the mutation. """ - repositoryResourcePath: URI + clientMutationId: String """ - The HTTP URL for the repository + ID of the issue or pull request currently marked as a duplicate. """ - repositoryUrl: URI + duplicateId: ID! +} +""" +Autogenerated return type of UnmarkIssueAsDuplicate. +""" +type UnmarkIssueAsDuplicatePayload { """ - The name of the topic added to the repository + A unique identifier for the client performing the mutation. """ - topic: Topic + clientMutationId: String """ - The name of the topic added to the repository + The issue or pull request that was marked as a duplicate. """ - topicName: String + duplicate: IssueOrPullRequest +} +""" +Autogenerated input type of UnmarkProjectV2AsTemplate +""" +input UnmarkProjectV2AsTemplateInput { """ - The user affected by the action + A unique identifier for the client performing the mutation. """ - user: User + clientMutationId: String """ - For actions involving two users, the actor is the initiator and the user is the affected user. + The ID of the Project to unmark as a template. """ - userLogin: String + projectId: ID! +} +""" +Autogenerated return type of UnmarkProjectV2AsTemplate. +""" +type UnmarkProjectV2AsTemplatePayload { """ - The HTTP path for the user. + A unique identifier for the client performing the mutation. """ - userResourcePath: URI + clientMutationId: String """ - The HTTP URL for the user. + The project. """ - userUrl: URI + projectV2: ProjectV2 } """ -The reasons a piece of content can be reported or minimized. +Represents an 'unmarked_as_duplicate' event on a given issue or pull request. """ -enum ReportedContentClassifiers { +type UnmarkedAsDuplicateEvent implements Node { """ - An abusive or harassing piece of content + Identifies the actor who performed the event. """ - ABUSE + actor: Actor """ - A duplicated piece of content + The authoritative issue or pull request which has been duplicated by another. """ - DUPLICATE + canonical: IssueOrPullRequest """ - An irrelevant piece of content + Identifies the date and time when the object was created. """ - OFF_TOPIC + createdAt: DateTime! """ - An outdated piece of content + The issue or pull request which has been marked as a duplicate of another. """ - OUTDATED + duplicate: IssueOrPullRequest """ - The content has been resolved + The Node ID of the UnmarkedAsDuplicateEvent object """ - RESOLVED + id: ID! """ - A spammy piece of content + Canonical and duplicate belong to different repositories. """ - SPAM + isCrossRepository: Boolean! } """ -A repository contains the content for a project. +Autogenerated input type of UnminimizeComment """ -type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent & RepositoryInfo & Starrable & Subscribable & UniformResourceLocatable { +input UnminimizeCommentInput { """ - Whether or not a pull request head branch that is behind its base branch can - always be updated even if it is not required to be up to date before merging. + A unique identifier for the client performing the mutation. """ - allowUpdateBranch: Boolean! + clientMutationId: String """ - Identifies the date and time when the repository was archived. + The Node ID of the subject to modify. """ - archivedAt: DateTime + subjectId: ID! +} +""" +Autogenerated return type of UnminimizeComment. +""" +type UnminimizeCommentPayload { """ - A list of users that can be assigned to issues in this repository. + A unique identifier for the client performing the mutation. """ - assignableUsers( - """ - 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 - - """ - Filters users with query on user name and login. - """ - query: String - ): UserConnection! + clientMutationId: String """ - Whether or not Auto-merge can be enabled on pull requests in this repository. + The comment that was unminimized. """ - autoMergeAllowed: Boolean! + unminimizedComment: Minimizable +} +""" +Autogenerated input type of UnpinIssueComment +""" +input UnpinIssueCommentInput { """ - A list of branch protection rules for this repository. + A unique identifier for the client performing the mutation. """ - branchProtectionRules( - """ - 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 - ): BranchProtectionRuleConnection! + clientMutationId: String """ - Returns the code of conduct for this repository + The ID of the Issue Comment to unpin. Comment pinning is not supported on Pull Requests. """ - codeOfConduct: CodeOfConduct + issueCommentId: ID! +} +""" +Autogenerated return type of UnpinIssueComment. +""" +type UnpinIssueCommentPayload { """ - Information extracted from the repository's `CODEOWNERS` file. + A unique identifier for the client performing the mutation. """ - codeowners( - """ - The ref name used to return the associated `CODEOWNERS` file. - """ - refName: String - ): RepositoryCodeowners + clientMutationId: String """ - A list of collaborators associated with the repository. + The Issue Comment that was unpinned """ - collaborators( - """ - Collaborators affiliation level with a repository. - """ - affiliation: CollaboratorAffiliation - - """ - 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 - - """ - The login of one specific collaborator. - """ - login: String - - """ - Filters users with query on user name and login - """ - query: String - ): RepositoryCollaboratorConnection + issueComment: IssueComment +} +""" +Autogenerated input type of UnpinIssue +""" +input UnpinIssueInput { """ - A list of commit comments associated with the repository. + A unique identifier for the client performing the mutation. """ - commitComments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The ID of the issue to be unpinned + """ + issueId: ID! +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated return type of UnpinIssue. +""" +type UnpinIssuePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): CommitCommentConnection! + """ + The id of the pinned issue that was unpinned + """ + id: ID """ - Returns a list of contact links associated to the repository + The issue that was unpinned """ - contactLinks: [RepositoryContactLink!] + issue: Issue +} +""" +Represents an 'unpinned' event on a given issue or pull request. +""" +type UnpinnedEvent implements Node { """ - Returns the contributing guidelines for this repository. + Identifies the actor who performed the event. """ - contributingGuidelines: ContributingGuidelines + actor: Actor """ Identifies the date and time when the object was created. @@ -45039,14799 +64509,12141 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent createdAt: DateTime! """ - Identifies the primary key from the database. + The Node ID of the UnpinnedEvent object """ - databaseId: Int + id: ID! """ - The Ref associated with the repository's default branch. + Identifies the issue associated with the event. """ - defaultBranchRef: Ref + issue: Issue! +} +""" +Autogenerated input type of UnresolveReviewThread +""" +input UnresolveReviewThreadInput { """ - Whether or not branches are automatically deleted when merged in this repository. + A unique identifier for the client performing the mutation. """ - deleteBranchOnMerge: Boolean! + clientMutationId: String """ - A list of dependency manifests contained in the repository + The ID of the thread to unresolve """ - dependencyGraphManifests( - """ - 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 - - """ - Cursor to paginate dependencies - """ - dependenciesAfter: String - - """ - Number of dependencies to fetch - """ - dependenciesFirst: Int - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Flag to scope to only manifests with dependencies - """ - withDependencies: Boolean - ): DependencyGraphManifestConnection + threadId: ID! +} +""" +Autogenerated return type of UnresolveReviewThread. +""" +type UnresolveReviewThreadPayload { """ - A list of deploy keys that are on this repository. + A unique identifier for the client performing the mutation. """ - deployKeys( - """ - 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 - ): DeployKeyConnection! + clientMutationId: String """ - Deployments associated with the repository + The thread to resolve. """ - deployments( - """ - 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 - - """ - Environments to list deployments for - """ - environments: [String!] - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for deployments returned from the connection. - """ - orderBy: DeploymentOrder = {field: CREATED_AT, direction: ASC} - ): DeploymentConnection! + thread: PullRequestReviewThread +} +""" +Represents an 'unsubscribed' event on a given `Subscribable`. +""" +type UnsubscribedEvent implements Node { """ - The description of the repository. + Identifies the actor who performed the event. """ - description: String + actor: Actor """ - The description of the repository rendered to HTML. + Identifies the date and time when the object was created. """ - descriptionHTML: HTML! + createdAt: DateTime! """ - Returns a single discussion from the current repository by number. + The Node ID of the UnsubscribedEvent object """ - discussion( - """ - The number for the discussion to be returned. - """ - number: Int! - ): Discussion + id: ID! """ - A list of discussion categories that are available in the repository. + Object referenced by event. """ - discussionCategories( - """ - 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 - - """ - Filter by categories that are assignable by the viewer. - """ - filterByAssignable: Boolean = false - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): DiscussionCategoryConnection! + subscribable: Subscribable! +} +""" +Entities that can be updated. +""" +interface Updatable { """ - A discussion category by slug. + Check if the current viewer can update this object. """ - discussionCategory( - """ - The slug of the discussion category to be returned. - """ - slug: String! - ): DiscussionCategory + viewerCanUpdate: Boolean! +} +""" +Comments that can be updated. +""" +interface UpdatableComment { """ - A list of discussions that have been opened in the repository. + Reasons why the current viewer can not update this comment. """ - discussions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Only show answered or unanswered discussions - """ - answered: Boolean = null - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Only include discussions that belong to the category with this ID. - """ - categoryId: ID = null - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for discussions returned from the connection. - """ - orderBy: DiscussionOrder = {field: UPDATED_AT, direction: DESC} + viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! +} - """ - A list of states to filter the discussions by. - """ - states: [DiscussionState!] = [] - ): DiscussionConnection! +""" +Autogenerated input type of UpdateBranchProtectionRule +""" +input UpdateBranchProtectionRuleInput { + """ + Can this branch be deleted. + """ + allowsDeletions: Boolean """ - The number of kilobytes this repository occupies on disk. + Are force pushes allowed on this branch. """ - diskUsage: Int + allowsForcePushes: Boolean """ - Returns a single active environment from the current repository by name. + Is branch creation a protected operation. """ - environment( - """ - The name of the environment to be returned. - """ - name: String! - ): Environment + blocksCreations: Boolean """ - A list of environments that are in this repository. + The global relay id of the branch protection rule to be updated. """ - environments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + branchProtectionRuleId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. + """ + bypassForcePushActorIds: [ID!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. + """ + bypassPullRequestActorIds: [ID!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - The names of the environments to be returned. - """ - names: [String!] = [] + """ + Will new commits pushed to matching branches dismiss pull request review approvals. + """ + dismissesStaleReviews: Boolean - """ - Ordering options for the environments - """ - orderBy: Environments = {field: NAME, direction: ASC} + """ + Can admins override branch protection. + """ + isAdminEnforced: Boolean - """ - Filter to control pinned environments return - """ - pinnedEnvironmentFilter: EnvironmentPinnedFilterField = ALL - ): EnvironmentConnection! + """ + Whether users can pull changes from upstream when the branch is locked. Set to + `true` to allow fork syncing. Set to `false` to prevent fork syncing. + """ + lockAllowsFetchAndMerge: Boolean """ - Returns how many forks there are of this repository in the whole network. + Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. """ - forkCount: Int! + lockBranch: Boolean """ - Whether this repository allows forks. + The glob-like pattern used to determine matching branches. """ - forkingAllowed: Boolean! + pattern: String """ - A list of direct forked repositories. + A list of User, Team, or App IDs allowed to push to matching branches. """ - forks( - """ - Array of viewer's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - current viewer owns. - """ - affiliations: [RepositoryAffiliation] + pushActorIds: [ID!] - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + Whether the most recent push must be approved by someone other than the person who pushed it + """ + requireLastPushApproval: Boolean - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Number of approving reviews required to update matching branches. + """ + requiredApprovingReviewCount: Int - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The list of required deployment environments + """ + requiredDeploymentEnvironments: [String!] - """ - If non-null, filters repositories according to whether they have issues enabled - """ - hasIssuesEnabled: Boolean + """ + List of required status check contexts that must pass for commits to be accepted to matching branches. + """ + requiredStatusCheckContexts: [String!] - """ - If non-null, filters repositories according to whether they have been locked - """ - isLocked: Boolean + """ + The list of required status checks + """ + requiredStatusChecks: [RequiredStatusCheckInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + Are approving reviews required to update matching branches. + """ + requiresApprovingReviews: Boolean - """ - Ordering options for repositories returned from the connection - """ - orderBy: RepositoryOrder + """ + Are reviews from code owners required to update matching branches. + """ + requiresCodeOwnerReviews: Boolean - """ - Array of owner's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - organization or user being viewed owns. - """ - ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + """ + Are commits required to be signed. + """ + requiresCommitSignatures: Boolean - """ - If non-null, filters repositories according to privacy. Internal - repositories are considered private; consider using the visibility argument - if only internal repositories are needed. Cannot be combined with the - visibility argument. - """ - privacy: RepositoryPrivacy + """ + Are conversations required to be resolved before merging. + """ + requiresConversationResolution: Boolean - """ - If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. - """ - visibility: RepositoryVisibility - ): RepositoryConnection! + """ + Are successful deployments required before merging. + """ + requiresDeployments: Boolean """ - The funding links for this repository + Are merge commits prohibited from being pushed to this branch. """ - fundingLinks: [FundingLink!]! + requiresLinearHistory: Boolean """ - Indicates if the repository has the Discussions feature enabled. + Are status checks required to update matching branches. """ - hasDiscussionsEnabled: Boolean! + requiresStatusChecks: Boolean """ - Indicates if the repository has issues feature enabled. + Are branches required to be up to date before merging. """ - hasIssuesEnabled: Boolean! + requiresStrictStatusChecks: Boolean """ - Indicates if the repository has the Projects feature enabled. + Is pushing to matching branches restricted. """ - hasProjectsEnabled: Boolean! + restrictsPushes: Boolean """ - Indicates if the repository displays a Sponsor button for financial contributions. + Is dismissal of pull request reviews restricted. """ - hasSponsorshipsEnabled: Boolean! + restrictsReviewDismissals: Boolean """ - Whether vulnerability alerts are enabled for the repository. + A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. """ - hasVulnerabilityAlertsEnabled: Boolean! + reviewDismissalActorIds: [ID!] +} +""" +Autogenerated return type of UpdateBranchProtectionRule. +""" +type UpdateBranchProtectionRulePayload { """ - Indicates if the repository has wiki feature enabled. + The newly created BranchProtectionRule. """ - hasWikiEnabled: Boolean! + branchProtectionRule: BranchProtectionRule """ - The repository's URL. + A unique identifier for the client performing the mutation. """ - homepageUrl: URI + clientMutationId: String +} +""" +Autogenerated input type of UpdateCheckRun +""" +input UpdateCheckRunInput { """ - The Node ID of the Repository object + Possible further actions the integrator can perform, which a user may trigger. """ - id: ID! + actions: [CheckRunAction!] """ - The interaction ability settings for this repository. + The node of the check. """ - interactionAbility: RepositoryInteractionAbility + checkRunId: ID! """ - Indicates if the repository is unmaintained. + A unique identifier for the client performing the mutation. """ - isArchived: Boolean! + clientMutationId: String """ - Returns true if blank issue creation is allowed + The time that the check run finished. """ - isBlankIssuesEnabled: Boolean! + completedAt: DateTime """ - Returns whether or not this repository disabled. + The final conclusion of the check. """ - isDisabled: Boolean! + conclusion: CheckConclusionState """ - Returns whether or not this repository is empty. + The URL of the integrator's site that has the full details of the check. """ - isEmpty: Boolean! + detailsUrl: URI """ - Identifies if the repository is a fork. + A reference for the run on the integrator's system. """ - isFork: Boolean! + externalId: String """ - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. + The name of the check. """ - isInOrganization: Boolean! + name: String """ - Indicates if the repository has been locked or not. + Descriptive details about the run. """ - isLocked: Boolean! + output: CheckRunOutput """ - Identifies if the repository is a mirror. + The node ID of the repository. """ - isMirror: Boolean! + repositoryId: ID! """ - Identifies if the repository is private or internal. + The time that the check run began. """ - isPrivate: Boolean! + startedAt: DateTime """ - Returns true if this repository has a security policy + The current status. """ - isSecurityPolicyEnabled: Boolean + status: RequestableCheckStatusState +} +""" +Autogenerated return type of UpdateCheckRun. +""" +type UpdateCheckRunPayload { """ - Identifies if the repository is a template that can be used to generate new repositories. + The updated check run. """ - isTemplate: Boolean! + checkRun: CheckRun """ - Is this repository a user configuration repository? + A unique identifier for the client performing the mutation. """ - isUserConfigurationRepository: Boolean! + clientMutationId: String +} +""" +Autogenerated input type of UpdateCheckSuitePreferences +""" +input UpdateCheckSuitePreferencesInput { """ - Returns a single issue from the current repository by number. + The check suite preferences to modify. """ - issue( - """ - The number for the issue to be returned. - """ - number: Int! - ): Issue + autoTriggerPreferences: [CheckSuiteAutoTriggerPreference!]! """ - Returns a single issue-like object from the current repository by number. + A unique identifier for the client performing the mutation. """ - issueOrPullRequest( - """ - The number for the issue to be returned. - """ - number: Int! - ): IssueOrPullRequest + clientMutationId: String """ - Returns a list of issue templates associated to the repository + The Node ID of the repository. """ - issueTemplates: [IssueTemplate!] + repositoryId: ID! +} +""" +Autogenerated return type of UpdateCheckSuitePreferences. +""" +type UpdateCheckSuitePreferencesPayload { """ - A list of issues that have been opened in the repository. + A unique identifier for the client performing the mutation. """ - issues( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The updated repository. + """ + repository: Repository +} - """ - Filtering options for issues returned from the connection. - """ - filterBy: IssueFilters +""" +Autogenerated input type of UpdateDiscussionComment +""" +input UpdateDiscussionCommentInput { + """ + The new contents of the comment body. + """ + body: String! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] + """ + The Node ID of the discussion comment to update. + """ + commentId: ID! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +Autogenerated return type of UpdateDiscussionComment. +""" +type UpdateDiscussionCommentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Ordering options for issues returned from the connection. - """ - orderBy: IssueOrder + """ + The modified discussion comment. + """ + comment: DiscussionComment +} - """ - A list of states to filter the issues by. - """ - states: [IssueState!] - ): IssueConnection! +""" +Autogenerated input type of UpdateDiscussion +""" +input UpdateDiscussionInput { + """ + The new contents of the discussion body. + """ + body: String """ - Returns a single label by name + The Node ID of a discussion category within the same repository to change this discussion to. """ - label( - """ - Label name - """ - name: String! - ): Label + categoryId: ID """ - A list of labels associated with the repository. + A unique identifier for the client performing the mutation. """ - labels( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The Node ID of the discussion to update. + """ + discussionId: ID! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The new discussion title. + """ + title: String +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +Autogenerated return type of UpdateDiscussion. +""" +type UpdateDiscussionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Ordering options for labels returned from the connection. - """ - orderBy: LabelOrder = {field: CREATED_AT, direction: ASC} + """ + The modified discussion. + """ + discussion: Discussion +} - """ - If provided, searches labels by name and description. - """ - query: String - ): LabelConnection +""" +Autogenerated input type of UpdateEnterpriseAdministratorRole +""" +input UpdateEnterpriseAdministratorRoleInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - A list containing a breakdown of the language composition of the repository. + The ID of the Enterprise which the admin belongs to. """ - languages( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterpriseId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The login of a administrator whose role is being changed. + """ + login: String! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The new role for the Enterprise administrator. + """ + role: EnterpriseAdministratorRole! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +Autogenerated return type of UpdateEnterpriseAdministratorRole. +""" +type UpdateEnterpriseAdministratorRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Order for connection - """ - orderBy: LanguageOrder - ): LanguageConnection + """ + A message confirming the result of changing the administrator's role. + """ + message: String +} +""" +Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting +""" +input UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput { """ - Get the latest release for the repository if one exists. + A unique identifier for the client performing the mutation. """ - latestRelease: Release + clientMutationId: String """ - The license associated with the repository + The ID of the enterprise on which to set the allow private repository forking setting. """ - licenseInfo: License + enterpriseId: ID! """ - The reason the repository has been locked. + The value for the allow private repository forking policy on the enterprise. """ - lockReason: RepositoryLockReason + policyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue """ - A list of Users that can be mentioned in the context of the repository. + The value for the allow private repository forking setting on the enterprise. """ - mentionableUsers( - """ - 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 - - """ - Filters users with query on user name and login - """ - query: String - ): UserConnection! + settingValue: EnterpriseEnabledDisabledSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting. +""" +type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload { """ - Whether or not PRs are merged with a merge commit on this repository. + A unique identifier for the client performing the mutation. """ - mergeCommitAllowed: Boolean! + clientMutationId: String """ - How the default commit message will be generated when merging a pull request. + The enterprise with the updated allow private repository forking setting. """ - mergeCommitMessage: MergeCommitMessage! + enterprise: Enterprise """ - How the default commit title will be generated when merging a pull request. + A message confirming the result of updating the allow private repository forking setting. """ - mergeCommitTitle: MergeCommitTitle! + message: String +} +""" +Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting +""" +input UpdateEnterpriseDefaultRepositoryPermissionSettingInput { """ - The merge queue for a specified branch, otherwise the default branch if not provided. + A unique identifier for the client performing the mutation. """ - mergeQueue( - """ - The name of the branch to get the merge queue for. Case sensitive. - """ - branch: String - ): MergeQueue + clientMutationId: String """ - Returns a single milestone from the current repository by number. + The ID of the enterprise on which to set the base repository permission setting. """ - milestone( - """ - The number for the milestone to be returned. - """ - number: Int! - ): Milestone + enterpriseId: ID! """ - A list of milestones associated with the repository. + The value for the base repository permission setting on the enterprise. """ - milestones( - """ - 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 milestones. - """ - orderBy: MilestoneOrder - - """ - Filters milestones with a query on the title - """ - query: String - - """ - Filter by the state of the milestones. - """ - states: [MilestoneState!] - ): MilestoneConnection + settingValue: EnterpriseDefaultRepositoryPermissionSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting. +""" +type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload { """ - The repository's original mirror URL. + A unique identifier for the client performing the mutation. """ - mirrorUrl: URI + clientMutationId: String """ - The name of the repository. + The enterprise with the updated base repository permission setting. """ - name: String! + enterprise: Enterprise """ - The repository's name with owner. + A message confirming the result of updating the base repository permission setting. """ - nameWithOwner: String! + message: String +} +""" +Autogenerated input type of UpdateEnterpriseDeployKeySetting +""" +input UpdateEnterpriseDeployKeySettingInput { """ - A Git object in the repository + A unique identifier for the client performing the mutation. """ - object( - """ - A Git revision expression suitable for rev-parse - """ - expression: String - - """ - The Git object ID - """ - oid: GitObjectID - ): GitObject + clientMutationId: String """ - The image used to represent this repository in Open Graph data. + The ID of the enterprise on which to set the deploy key setting. """ - openGraphImageUrl: URI! + enterpriseId: ID! """ - The User owner of the repository. + The value for the deploy key setting on the enterprise. """ - owner: RepositoryOwner! + settingValue: EnterpriseEnabledDisabledSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseDeployKeySetting. +""" +type UpdateEnterpriseDeployKeySettingPayload { """ - A list of packages under the owner. + A unique identifier for the client performing the mutation. """ - packages( - """ - 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 - - """ - Find packages by their names. - """ - names: [String] - - """ - Ordering of the returned packages. - """ - orderBy: PackageOrder = {field: CREATED_AT, direction: DESC} - - """ - Filter registry package by type. - """ - packageType: PackageType - - """ - Find packages in a repository by ID. - """ - repositoryId: ID - ): PackageConnection! + clientMutationId: String """ - The repository parent, if this is a fork. + The enterprise with the updated deploy key setting. """ - parent: Repository + enterprise: Enterprise """ - A list of discussions that have been pinned in this repository. + A message confirming the result of updating the deploy key setting. """ - pinnedDiscussions( - """ - 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 + message: String +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PinnedDiscussionConnection! +""" +Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting +""" +input UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - A list of pinned environments for this repository. + The ID of the enterprise on which to set the members can change repository visibility setting. """ - pinnedEnvironments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterpriseId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The value for the members can change repository visibility setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting. +""" +type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The enterprise with the updated members can change repository visibility setting. + """ + enterprise: Enterprise - """ - Ordering options for the environments - """ - orderBy: PinnedEnvironmentOrder = {field: POSITION, direction: ASC} - ): PinnedEnvironmentConnection + """ + A message confirming the result of updating the members can change repository visibility setting. + """ + message: String +} +""" +Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting +""" +input UpdateEnterpriseMembersCanCreateRepositoriesSettingInput { """ - A list of pinned issues for this repository. + A unique identifier for the client performing the mutation. """ - pinnedIssues( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The ID of the enterprise on which to set the members can create repositories setting. + """ + enterpriseId: ID! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + Allow members to create internal repositories. Defaults to current value. + """ + membersCanCreateInternalRepositories: Boolean - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): PinnedIssueConnection + """ + Allow members to create private repositories. Defaults to current value. + """ + membersCanCreatePrivateRepositories: Boolean """ - Returns information about the availability of certain features and limits based on the repository's billing plan. + Allow members to create public repositories. Defaults to current value. """ - planFeatures: RepositoryPlanFeatures! + membersCanCreatePublicRepositories: Boolean """ - The primary language of the repository's code. + When false, allow member organizations to set their own repository creation member privileges. """ - primaryLanguage: Language + membersCanCreateRepositoriesPolicyEnabled: Boolean """ - Find project by number. + Value for the members can create repositories setting on the enterprise. This + or the granular public/private/internal allowed fields (but not both) must be provided. """ - project( - """ - The project number to find. - """ - number: Int! - ): Project @deprecated(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.") + settingValue: EnterpriseMembersCanCreateRepositoriesSettingValue +} +""" +Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting. +""" +type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload { """ - Finds and returns the Project according to the provided Project number. + A unique identifier for the client performing the mutation. """ - projectV2( - """ - The Project number. - """ - number: Int! - ): ProjectV2 + clientMutationId: String """ - A list of projects under the owner. + The enterprise with the updated members can create repositories setting. """ - projects( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterprise: Enterprise - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A message confirming the result of updating the members can create repositories setting. + """ + message: String +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting +""" +input UpdateEnterpriseMembersCanDeleteIssuesSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The ID of the enterprise on which to set the members can delete issues setting. + """ + enterpriseId: ID! - """ - Ordering options for projects returned from the connection - """ - orderBy: ProjectOrder + """ + The value for the members can delete issues setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Query to search projects by, currently only searching by name. - """ - search: String +""" +Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting. +""" +type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - A list of states to filter the projects by. - """ - states: [ProjectState!] - ): ProjectConnection! @deprecated(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.") + """ + The enterprise with the updated members can delete issues setting. + """ + enterprise: Enterprise """ - The HTTP path listing the repository's projects + A message confirming the result of updating the members can delete issues setting. """ - projectsResourcePath: URI! + message: String +} +""" +Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting +""" +input UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput { """ - The HTTP URL listing the repository's projects + A unique identifier for the client performing the mutation. """ - projectsUrl: URI! + clientMutationId: String """ - List of projects linked to this repository. + The ID of the enterprise on which to set the members can delete repositories setting. """ - projectsV2( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterpriseId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The value for the members can delete repositories setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting. +""" +type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The enterprise with the updated members can delete repositories setting. + """ + enterprise: Enterprise - """ - Filter projects based on user role. - """ - minPermissionLevel: ProjectV2PermissionLevel = READ + """ + A message confirming the result of updating the members can delete repositories setting. + """ + message: String +} - """ - How to order the returned projects. - """ - orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} +""" +Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting +""" +input UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - A project to search for linked to the repo. - """ - query: String - ): ProjectV2Connection! + """ + The ID of the enterprise on which to set the members can invite collaborators setting. + """ + enterpriseId: ID! """ - Returns a single pull request from the current repository by number. + The value for the members can invite collaborators setting on the enterprise. """ - pullRequest( - """ - The number for the pull request to be returned. - """ - number: Int! - ): PullRequest + settingValue: EnterpriseEnabledDisabledSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting. +""" +type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload { """ - Returns a list of pull request templates associated to the repository + A unique identifier for the client performing the mutation. """ - pullRequestTemplates: [PullRequestTemplate!] + clientMutationId: String """ - A list of pull requests that have been opened in the repository. + The enterprise with the updated members can invite collaborators setting. """ - pullRequests( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - The base ref name to filter the pull requests by. - """ - baseRefName: 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 - - """ - The head ref name to filter the pull requests by. - """ - headRefName: String - - """ - A list of label names to filter the pull requests by. - """ - labels: [String!] - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for pull requests returned from the connection. - """ - orderBy: IssueOrder - - """ - A list of states to filter the pull requests by. - """ - states: [PullRequestState!] - ): PullRequestConnection! + enterprise: Enterprise """ - Identifies the date and time when the repository was last pushed to. + A message confirming the result of updating the members can invite collaborators setting. """ - pushedAt: DateTime + message: String +} +""" +Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting +""" +input UpdateEnterpriseMembersCanMakePurchasesSettingInput { """ - Whether or not rebase-merging is enabled on this repository. + A unique identifier for the client performing the mutation. """ - rebaseMergeAllowed: Boolean! + clientMutationId: String """ - Recent projects that this user has modified in the context of the owner. + The ID of the enterprise on which to set the members can make purchases setting. """ - recentProjects( - """ - 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 + enterpriseId: ID! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): ProjectV2Connection! + """ + The value for the members can make purchases setting on the enterprise. + """ + settingValue: EnterpriseMembersCanMakePurchasesSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting. +""" +type UpdateEnterpriseMembersCanMakePurchasesSettingPayload { """ - Fetch a given ref from the repository + A unique identifier for the client performing the mutation. """ - ref( - """ - The ref to retrieve. Fully qualified matches are checked in order - (`refs/heads/master`) before falling back onto checks for short name matches (`master`). - """ - qualifiedName: String! - ): Ref + clientMutationId: String """ - Fetch a list of refs from the repository + The enterprise with the updated members can make purchases setting. """ - refs( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterprise: Enterprise - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + A message confirming the result of updating the members can make purchases setting. + """ + message: String +} - """ - DEPRECATED: use orderBy. The ordering direction. - """ - direction: OrderDirection +""" +Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting +""" +input UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The ID of the enterprise on which to set the members can update protected branches setting. + """ + enterpriseId: ID! - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The value for the members can update protected branches setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Ordering options for refs returned from the connection. - """ - orderBy: RefOrder +""" +Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting. +""" +type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Filters refs with query on name - """ - query: String + """ + The enterprise with the updated members can update protected branches setting. + """ + enterprise: Enterprise - """ - A ref name prefix like `refs/heads/`, `refs/tags/`, etc. - """ - refPrefix: String! - ): RefConnection + """ + A message confirming the result of updating the members can update protected branches setting. + """ + message: String +} +""" +Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting +""" +input UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput { """ - Lookup a single release given various criteria. + A unique identifier for the client performing the mutation. """ - release( - """ - The name of the Tag the Release was created from - """ - tagName: String! - ): Release + clientMutationId: String """ - List of releases which are dependent on this repository. + The ID of the enterprise on which to set the members can view dependency insights setting. """ - releases( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterpriseId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The value for the members can view dependency insights setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting. +""" +type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The enterprise with the updated members can view dependency insights setting. + """ + enterprise: Enterprise - """ - Order for connection - """ - orderBy: ReleaseOrder - ): ReleaseConnection! + """ + A message confirming the result of updating the members can view dependency insights setting. + """ + message: String +} +""" +Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting +""" +input UpdateEnterpriseOrganizationProjectsSettingInput { """ - A list of applied repository-topic associations for this repository. + A unique identifier for the client performing the mutation. """ - repositoryTopics( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The ID of the enterprise on which to set the organization projects setting. + """ + enterpriseId: ID! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The value for the organization projects setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RepositoryTopicConnection! +""" +Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting. +""" +type UpdateEnterpriseOrganizationProjectsSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The HTTP path for this repository + The enterprise with the updated organization projects setting. """ - resourcePath: URI! + enterprise: Enterprise """ - Returns a single ruleset from the current repository by ID. + A message confirming the result of updating the organization projects setting. """ - ruleset( - """ - The ID of the ruleset to be returned. - """ - databaseId: Int! + message: String +} - """ - Include rulesets configured at higher levels that apply to this repository - """ - includeParents: Boolean = true - ): RepositoryRuleset +""" +Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole +""" +input UpdateEnterpriseOwnerOrganizationRoleInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - A list of rulesets for this repository. + The ID of the Enterprise which the owner belongs to. """ - rulesets( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + enterpriseId: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The ID of the organization for membership change. + """ + organizationId: ID! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The role to assume in the organization. + """ + organizationRole: RoleInOrganization! +} - """ - Return rulesets configured at higher levels that apply to this repository - """ - includeParents: Boolean = true +""" +Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole. +""" +type UpdateEnterpriseOwnerOrganizationRolePayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + A message confirming the result of changing the owner's organization role. + """ + message: String +} - """ - Return rulesets that apply to the specified target - """ - targets: [RepositoryRulesetTarget!] = null - ): RepositoryRulesetConnection +""" +Autogenerated input type of UpdateEnterpriseProfile +""" +input UpdateEnterpriseProfileInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - The security policy URL. + The description of the enterprise. """ - securityPolicyUrl: URI + description: String """ - A description of the repository, rendered to HTML without any links in it. + The Enterprise ID to update. """ - shortDescriptionHTML( - """ - How many characters to return. - """ - limit: Int = 200 - ): HTML! + enterpriseId: ID! """ - Whether or not squash-merging is enabled on this repository. + The location of the enterprise. """ - squashMergeAllowed: Boolean! + location: String """ - How the default commit message will be generated when squash merging a pull request. + The name of the enterprise. """ - squashMergeCommitMessage: SquashMergeCommitMessage! + name: String """ - How the default commit title will be generated when squash merging a pull request. + The security contact email address of the enterprise. """ - squashMergeCommitTitle: SquashMergeCommitTitle! + securityContactEmail: String """ - Whether a squash merge commit can use the pull request title as default. + The URL of the enterprise's website. """ - squashPrTitleUsedAsDefault: Boolean! @deprecated(reason: "`squashPrTitleUsedAsDefault` will be removed. Use `Repository.squashMergeCommitTitle` instead. Removal on 2023-04-01 UTC.") + websiteUrl: String +} +""" +Autogenerated return type of UpdateEnterpriseProfile. +""" +type UpdateEnterpriseProfilePayload { """ - The SSH URL to clone this repository + A unique identifier for the client performing the mutation. """ - sshUrl: GitSSHRemote! + clientMutationId: String """ - Returns a count of how many stargazers there are on this object + The updated enterprise. """ - stargazerCount: Int! + enterprise: Enterprise +} +""" +Autogenerated input type of UpdateEnterpriseProofOfPresenceRequiredSetting +""" +input UpdateEnterpriseProofOfPresenceRequiredSettingInput { """ - A list of users who have starred this starrable. + A unique identifier for the client performing the mutation. """ - stargazers( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The ID of the enterprise on which to set the proof of presence required setting. + """ + enterpriseId: ID! - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The proof of presence requirement to set on the enterprise. + """ + settingValue: ProofOfPresenceRequirement! +} - """ - Returns the last _n_ elements from the list. - """ - last: Int +""" +Autogenerated return type of UpdateEnterpriseProofOfPresenceRequiredSetting. +""" +type UpdateEnterpriseProofOfPresenceRequiredSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Order for connection - """ - orderBy: StarOrder - ): StargazerConnection! + """ + The enterprise with the updated proof of presence required setting. + """ + enterprise: Enterprise """ - Returns a list of all submodules in this repository parsed from the - .gitmodules file as of the default branch's HEAD commit. + A message confirming the result of updating the proof of presence required setting. """ - submodules( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + message: String +} - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String +""" +Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting +""" +input UpdateEnterpriseRepositoryProjectsSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The ID of the enterprise on which to set the repository projects setting. + """ + enterpriseId: ID! - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): SubmoduleConnection! + """ + The value for the repository projects setting on the enterprise. + """ + settingValue: EnterpriseEnabledDisabledSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting. +""" +type UpdateEnterpriseRepositoryProjectsSettingPayload { """ - Temporary authentication token for cloning this repository. + A unique identifier for the client performing the mutation. """ - tempCloneToken: String + clientMutationId: String """ - The repository from which this repository was generated, if any. + The enterprise with the updated repository projects setting. """ - templateRepository: Repository + enterprise: Enterprise """ - Identifies the date and time when the object was last updated. + A message confirming the result of updating the repository projects setting. """ - updatedAt: DateTime! + message: String +} +""" +Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting +""" +input UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput { """ - The HTTP URL for this repository + A unique identifier for the client performing the mutation. """ - url: URI! + clientMutationId: String """ - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. + The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. """ - usesCustomOpenGraphImage: Boolean! + enterpriseId: ID! """ - Indicates whether the viewer has admin permissions on this repository. + The value for the two-factor authentication disallowed methods setting on the enterprise. """ - viewerCanAdminister: Boolean! + settingValue: EnterpriseDisallowedMethodsSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting. +""" +type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload { """ - Can the current viewer create new projects on this owner. + A unique identifier for the client performing the mutation. """ - viewerCanCreateProjects: Boolean! + clientMutationId: String """ - Check if the viewer is able to change their subscription status for the repository. + The enterprise with the updated two-factor authentication disallowed methods setting. """ - viewerCanSubscribe: Boolean! + enterprise: Enterprise """ - Indicates whether the viewer can update the topics of this repository. + A message confirming the result of updating the two-factor authentication disallowed methods setting. """ - viewerCanUpdateTopics: Boolean! + message: String +} +""" +Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting +""" +input UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput { """ - The last commit email for the viewer. + A unique identifier for the client performing the mutation. """ - viewerDefaultCommitEmail: String + clientMutationId: String """ - The last used merge method by the viewer or the default for the repository. + The ID of the enterprise on which to set the two factor authentication required setting. """ - viewerDefaultMergeMethod: PullRequestMergeMethod! + enterpriseId: ID! """ - Returns a boolean indicating whether the viewing user has starred this starrable. + The value for the two factor authentication required setting on the enterprise. """ - viewerHasStarred: Boolean! + settingValue: EnterpriseEnabledSettingValue! +} +""" +Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting. +""" +type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload { """ - The users permission level on the repository. Will return null if authenticated as an GitHub App. + A unique identifier for the client performing the mutation. """ - viewerPermission: RepositoryPermission + clientMutationId: String """ - A list of emails this viewer can commit with. + The enterprise with the updated two factor authentication required setting. """ - viewerPossibleCommitEmails: [String!] + enterprise: Enterprise """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + A message confirming the result of updating the two factor authentication required setting. """ - viewerSubscription: SubscriptionState + message: String +} +""" +Autogenerated input type of UpdateEnvironment +""" +input UpdateEnvironmentInput { """ - Indicates the repository's visibility level. + A unique identifier for the client performing the mutation. """ - visibility: RepositoryVisibility! + clientMutationId: String """ - Returns a single vulnerability alert from the current repository by number. + The node ID of the environment. """ - vulnerabilityAlert( - """ - The number for the vulnerability alert to be returned. - """ - number: Int! - ): RepositoryVulnerabilityAlert + environmentId: ID! """ - A list of vulnerability alerts that are on this repository. + Whether deployments to this environment can be approved by the user who created the deployment. """ - vulnerabilityAlerts( - """ - 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 - - """ - Filter by the scope of the alert's dependency - """ - dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!] - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Filter by the state of the alert - """ - states: [RepositoryVulnerabilityAlertState!] - ): RepositoryVulnerabilityAlertConnection + preventSelfReview: Boolean """ - A list of users watching the repository. + The ids of users or teams that can approve deployments to this environment """ - watchers( - """ - 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 + reviewers: [ID!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The wait timer in minutes. + """ + waitTimer: Int +} - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserConnection! +""" +Autogenerated return type of UpdateEnvironment. +""" +type UpdateEnvironmentPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - Whether contributors are required to sign off on web-based commits in this repository. + The updated environment. """ - webCommitSignoffRequired: Boolean! + environment: Environment } """ -The affiliation of a user to a repository +Autogenerated input type of UpdateIpAllowListEnabledSetting """ -enum RepositoryAffiliation { +input UpdateIpAllowListEnabledSettingInput { """ - Repositories that the user has been added to as a collaborator. + A unique identifier for the client performing the mutation. """ - COLLABORATOR + clientMutationId: String """ - Repositories that the user has access to through being a member of an - organization. This includes every repository on every team that the user is on. + The ID of the owner on which to set the IP allow list enabled setting. """ - ORGANIZATION_MEMBER + ownerId: ID! """ - Repositories that are owned by the authenticated user. + The value for the IP allow list enabled setting. """ - OWNER + settingValue: IpAllowListEnabledSettingValue! } """ -Metadata for an audit entry with action repo.* +Autogenerated return type of UpdateIpAllowListEnabledSetting. """ -interface RepositoryAuditEntryData { +type UpdateIpAllowListEnabledSettingPayload { """ - The repository associated with the action + A unique identifier for the client performing the mutation. """ - repository: Repository + clientMutationId: String """ - The name of the repository + The IP allow list owner on which the setting was updated. """ - repositoryName: String + owner: IpAllowListOwner +} +""" +Autogenerated input type of UpdateIpAllowListEntry +""" +input UpdateIpAllowListEntryInput { """ - The HTTP path for the repository + An IP address or range of addresses in CIDR notation. Ranges that cover the + entire address space, such as `0.0.0.0/0` or `::/0`, are not accepted for + organizations or enterprises. """ - repositoryResourcePath: URI + allowListValue: String! """ - The HTTP URL for the repository + A unique identifier for the client performing the mutation. """ - repositoryUrl: URI -} + clientMutationId: String -""" -Information extracted from a repository's `CODEOWNERS` file. -""" -type RepositoryCodeowners { """ - Any problems that were encountered while parsing the `CODEOWNERS` file. + The ID of the IP allow list entry to update. """ - errors: [RepositoryCodeownersError!]! + ipAllowListEntryId: ID! + + """ + Whether the IP allow list entry is active when an IP allow list is enabled. + """ + isActive: Boolean! + + """ + An optional name for the IP allow list entry. + """ + name: String } """ -An error in a `CODEOWNERS` file. +Autogenerated return type of UpdateIpAllowListEntry. """ -type RepositoryCodeownersError { +type UpdateIpAllowListEntryPayload { """ - The column number where the error occurs. + A unique identifier for the client performing the mutation. """ - column: Int! + clientMutationId: String """ - A short string describing the type of error. + The IP allow list entry that was updated. """ - kind: String! + ipAllowListEntry: IpAllowListEntry +} +""" +Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting +""" +input UpdateIpAllowListForInstalledAppsEnabledSettingInput { """ - The line number where the error occurs. + A unique identifier for the client performing the mutation. """ - line: Int! + clientMutationId: String """ - A complete description of the error, combining information from other fields. + The ID of the owner. """ - message: String! + ownerId: ID! """ - The path to the file when the error occurs. + The value for the IP allow list configuration for installed GitHub Apps setting. """ - path: String! + settingValue: IpAllowListForInstalledAppsEnabledSettingValue! +} +""" +Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting. +""" +type UpdateIpAllowListForInstalledAppsEnabledSettingPayload { """ - The content of the line where the error occurs. + A unique identifier for the client performing the mutation. """ - source: String! + clientMutationId: String """ - A suggestion of how to fix the error. + The IP allow list owner on which the setting was updated. """ - suggestion: String + owner: IpAllowListOwner } """ -The connection type for User. +Autogenerated input type of UpdateIpAllowListUserLevelEnforcementEnabledSetting """ -type RepositoryCollaboratorConnection { +input UpdateIpAllowListUserLevelEnforcementEnabledSettingInput { """ - A list of edges. + A unique identifier for the client performing the mutation. """ - edges: [RepositoryCollaboratorEdge] + clientMutationId: String """ - A list of nodes. + The ID of the owner. """ - nodes: [User] + ownerId: ID! """ - Information to aid in pagination. + The value for the IP allow list user-level enforcement enabled setting. """ - pageInfo: PageInfo! + settingValue: IpAllowListUserLevelEnforcementEnabledSettingValue! +} + +""" +Autogenerated return type of UpdateIpAllowListUserLevelEnforcementEnabledSetting. +""" +type UpdateIpAllowListUserLevelEnforcementEnabledSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String """ - Identifies the total count of items in the connection. + The IP allow list owner on which the setting was updated. """ - totalCount: Int! + owner: IpAllowListOwner } """ -Represents a user who is a collaborator of a repository. +Autogenerated input type of UpdateIssueComment """ -type RepositoryCollaboratorEdge { +input UpdateIssueCommentInput { """ - A cursor for use in pagination. + The updated text of the comment. """ - cursor: String! - node: User! + body: String! """ - The permission the user has on the repository. + A unique identifier for the client performing the mutation. """ - permission: RepositoryPermission! + clientMutationId: String """ - A list of sources for the user's access to the repository. + The ID of the IssueComment to modify. """ - permissionSources: [PermissionSource!] + id: ID! } """ -A list of repositories owned by the subject. +Autogenerated return type of UpdateIssueComment. """ -type RepositoryConnection { +type UpdateIssueCommentPayload { """ - A list of edges. + A unique identifier for the client performing the mutation. """ - edges: [RepositoryEdge] + clientMutationId: String """ - A list of nodes. + The updated comment. """ - nodes: [Repository] + issueComment: IssueComment +} +""" +Autogenerated input type of UpdateIssueField +""" +input UpdateIssueFieldInput { """ - Information to aid in pagination. + A unique identifier for the client performing the mutation. """ - pageInfo: PageInfo! + clientMutationId: String """ - Identifies the total count of items in the connection. + A description of the issue field. """ - totalCount: Int! + description: String """ - The total size in kilobytes of all repositories in the connection. Value will - never be larger than max 32-bit signed integer. + The ID of the issue field to update. """ - totalDiskUsage: Int! -} + id: ID! -""" -A repository contact link. -""" -type RepositoryContactLink { """ - The contact link purpose. + The name of the issue field. """ - about: String! + name: String """ - The contact link name. + The options for the issue field if applicable. """ - name: String! + options: [IssueFieldSingleSelectOptionInput!] """ - The contact link URL. + The visibility of the issue field. """ - url: URI! + visibility: IssueFieldVisibility } """ -The reason a repository is listed as 'contributed'. +Autogenerated return type of UpdateIssueField. """ -enum RepositoryContributionType { +type UpdateIssueFieldPayload { """ - Created a commit + A unique identifier for the client performing the mutation. """ - COMMIT + clientMutationId: String """ - Created an issue + The updated issue field. """ - ISSUE + issueField: IssueFields +} +""" +Autogenerated input type of UpdateIssueFieldValue +""" +input UpdateIssueFieldValueInput { """ - Created a pull request + A unique identifier for the client performing the mutation. """ - PULL_REQUEST + clientMutationId: String """ - Reviewed a pull request + The field value to update. May include an optional `rationale` or be flagged + with `suggest: true` to be stored as a pending suggestion instead of being + applied directly. """ - PULL_REQUEST_REVIEW + issueField: IssueFieldCreateOrUpdateInput! """ - Created the repository + The ID of the issue. """ - REPOSITORY + issueId: ID! } """ -Represents an author of discussions in repositories. +Autogenerated return type of UpdateIssueFieldValue. """ -interface RepositoryDiscussionAuthor { +type UpdateIssueFieldValuePayload { """ - Discussions this user has started. + A unique identifier for the client performing the mutation. """ - repositoryDiscussions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + clientMutationId: String - """ - Filter discussions to only those that have been answered or not. Defaults to - including both answered and unanswered discussions. - """ - answered: Boolean = null + """ + The issue object. + """ + issue: Issue - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + The updated issue field value. + """ + issueFieldValue: IssueFieldValue +} - """ - Returns the first _n_ elements from the list. - """ - first: Int +""" +Autogenerated input type of UpdateIssue +""" +input UpdateIssueInput { + """ + Configuration for assigning an AI agent to this issue. + """ + agentAssignment: AgentAssignmentInput - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of Node IDs of users or bots for this issue. + """ + assigneeIds: [ID!] - """ - Ordering options for discussions returned from the connection. - """ - orderBy: DiscussionOrder = {field: CREATED_AT, direction: DESC} + """ + An array of actors to assign to this issue, each with optional rationale or + suggest flag. Mutually exclusive with `assigneeIds`. + """ + assignees: [AssigneeUpdateInput!] - """ - Filter discussions to only those in a specific repository. - """ - repositoryId: ID + """ + The body for the issue description. + """ + body: String - """ - A list of states to filter the discussions by. - """ - states: [DiscussionState!] = [] - ): DiscussionConnection! -} + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String -""" -Represents an author of discussion comments in repositories. -""" -interface RepositoryDiscussionCommentAuthor { """ - Discussion comments this user has authored. + The ID of the Issue to modify. """ - repositoryDiscussionComments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + id: ID! - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + Issue field updates resolved by field and option names. + """ + issueFieldUpdates: [IssueFieldUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + The Issue Type to set on this issue, with optional rationale. Mutually exclusive with `issueTypeId`. + """ + issueType: IssueTypeUpdateInput - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + The ID of the Issue Type for this issue. + """ + issueTypeId: ID - """ - Filter discussion comments to only those that were marked as the answer - """ - onlyAnswers: Boolean = false + """ + An array of Node IDs of labels for this issue. + """ + labelIds: [ID!] @deprecated(reason: "Prefer `labels` when available, which accepts an optional rationale and suggest flag per label.") - """ - Filter discussion comments to only those in a specific repository. - """ - repositoryId: ID - ): DiscussionCommentConnection! -} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: Repository -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_id condition -""" -type RepositoryIdConditionTarget { """ - One of these repo IDs must match the repo. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryIds: [ID!]! -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_id condition -""" -input RepositoryIdConditionTargetInput { """ - One of these repo IDs must match the repo. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryIds: [ID!]! -} + labels: [LabelUpdateInput!] -""" -A subset of repository info. -""" -interface RepositoryInfo { """ - Identifies the date and time when the repository was archived. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - archivedAt: DateTime + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The description of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - The description of the repository rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - descriptionHTML: HTML! + labels: [LabelUpdateInput!] """ - Returns how many forks there are of this repository in the whole network. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - forkCount: Int! + labels: [LabelUpdateInput!] """ - Indicates if the repository has the Discussions feature enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasDiscussionsEnabled: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if the repository has issues feature enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasIssuesEnabled: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if the repository has the Projects feature enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasProjectsEnabled: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if the repository displays a Sponsor button for financial contributions. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasSponsorshipsEnabled: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if the repository has wiki feature enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasWikiEnabled: Boolean! + labels: [LabelUpdateInput!] """ - The repository's URL. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - homepageUrl: URI + labels: [LabelUpdateInput!] """ - Indicates if the repository is unmaintained. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isArchived: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the repository is a fork. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isFork: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isInOrganization: Boolean! + labels: [LabelUpdateInput!] """ - Indicates if the repository has been locked or not. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLocked: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the repository is a mirror. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isMirror: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the repository is private or internal. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPrivate: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the repository is a template that can be used to generate new repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isTemplate: Boolean! + labels: [LabelUpdateInput!] """ - The license associated with the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - licenseInfo: License + labels: [LabelUpdateInput!] """ - The reason the repository has been locked. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockReason: RepositoryLockReason + labels: [LabelUpdateInput!] """ - The repository's original mirror URL. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - mirrorUrl: URI + labels: [LabelUpdateInput!] """ - The name of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - The repository's name with owner. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nameWithOwner: String! + labels: [LabelUpdateInput!] """ - The image used to represent this repository in Open Graph data. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - openGraphImageUrl: URI! + labels: [LabelUpdateInput!] """ - The User owner of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - owner: RepositoryOwner! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the repository was last pushed to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pushedAt: DateTime + labels: [LabelUpdateInput!] """ - The HTTP path for this repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - A description of the repository, rendered to HTML without any links in it. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - shortDescriptionHTML( - """ - How many characters to return. - """ - limit: Int = 200 - ): HTML! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP URL for this repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! + labels: [LabelUpdateInput!] """ - Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - usesCustomOpenGraphImage: Boolean! + labels: [LabelUpdateInput!] """ - Indicates the repository's visibility level. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - visibility: RepositoryVisibility! -} + labels: [LabelUpdateInput!] -""" -Repository interaction limit that applies to this object. -""" -type RepositoryInteractionAbility { """ - The time the currently active limit expires. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - expiresAt: DateTime + labels: [LabelUpdateInput!] """ - The current limit that is enabled on this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - limit: RepositoryInteractionLimit! + labels: [LabelUpdateInput!] """ - The origin of the currently active interaction limit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - origin: RepositoryInteractionLimitOrigin! -} + labels: [LabelUpdateInput!] -""" -A repository interaction limit. -""" -enum RepositoryInteractionLimit { """ - Users that are not collaborators will not be able to interact with the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COLLABORATORS_ONLY + labels: [LabelUpdateInput!] """ - Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CONTRIBUTORS_ONLY + labels: [LabelUpdateInput!] """ - Users that have recently created their account will be unable to interact with the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EXISTING_USERS + labels: [LabelUpdateInput!] """ - No interaction limits are enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NO_LIMIT -} + labels: [LabelUpdateInput!] -""" -The length for a repository interaction limit to be enabled for. -""" -enum RepositoryInteractionLimitExpiry { """ - The interaction limit will expire after 1 day. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ONE_DAY + labels: [LabelUpdateInput!] """ - The interaction limit will expire after 1 month. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ONE_MONTH + labels: [LabelUpdateInput!] """ - The interaction limit will expire after 1 week. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ONE_WEEK + labels: [LabelUpdateInput!] """ - The interaction limit will expire after 6 months. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SIX_MONTHS + labels: [LabelUpdateInput!] """ - The interaction limit will expire after 3 days. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - THREE_DAYS -} + labels: [LabelUpdateInput!] -""" -Indicates where an interaction limit is configured. -""" -enum RepositoryInteractionLimitOrigin { """ - A limit that is configured at the organization level. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ORGANIZATION + labels: [LabelUpdateInput!] """ - A limit that is configured at the repository level. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REPOSITORY + labels: [LabelUpdateInput!] """ - A limit that is configured at the user-wide level. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - USER -} + labels: [LabelUpdateInput!] -""" -An invitation for a user to be added to a repository. -""" -type RepositoryInvitation implements Node { """ - The email address that received the invitation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - email: String + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryInvitation object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The user who received the invitation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - invitee: User + labels: [LabelUpdateInput!] """ - The user who created the invitation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - inviter: User! + labels: [LabelUpdateInput!] """ - The permalink for this repository invitation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - permalink: URI! + labels: [LabelUpdateInput!] """ - The permission granted on this repository by this invitation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - permission: RepositoryPermission! + labels: [LabelUpdateInput!] """ - The Repository the user is invited to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: RepositoryInfo -} + labels: [LabelUpdateInput!] -""" -A list of repository invitations. -""" -type RepositoryInvitationConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryInvitationEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryInvitation] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryInvitationEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryInvitation -} + labels: [LabelUpdateInput!] -""" -Ordering options for repository invitation connections. -""" -input RepositoryInvitationOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order repository invitations by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: RepositoryInvitationOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which repository invitation connections can be ordered. -""" -enum RepositoryInvitationOrderField { """ - Order repository invitations by creation time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT -} + labels: [LabelUpdateInput!] -""" -The possible reasons a given repository could be in a locked state. -""" -enum RepositoryLockReason { """ - The repository is locked due to a billing related reason. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BILLING + labels: [LabelUpdateInput!] """ - The repository is locked due to a migration. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MIGRATING + labels: [LabelUpdateInput!] """ - The repository is locked due to a move. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MOVING + labels: [LabelUpdateInput!] """ - The repository is locked due to a rename. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RENAME + labels: [LabelUpdateInput!] """ - The repository is locked due to a trade controls related reason. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TRADE_RESTRICTION + labels: [LabelUpdateInput!] """ - The repository is locked due to an ownership transfer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TRANSFERRING_OWNERSHIP -} + labels: [LabelUpdateInput!] -""" -A GitHub Enterprise Importer (GEI) repository migration. -""" -type RepositoryMigration implements Migration & Node { """ - The migration flag to continue on error. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - continueOnError: Boolean! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: String + labels: [LabelUpdateInput!] """ - The reason the migration failed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - failureReason: String + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryMigration object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The URL for the migration log (expires 1 day after migration completes). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - migrationLogUrl: URI + labels: [LabelUpdateInput!] """ - The migration source. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - migrationSource: MigrationSource! + labels: [LabelUpdateInput!] """ - The target repository name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: String! + labels: [LabelUpdateInput!] """ - The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sourceUrl: URI! + labels: [LabelUpdateInput!] """ - The migration state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: MigrationState! + labels: [LabelUpdateInput!] """ - The number of warnings encountered for this migration. To review the warnings, - check the [Migration Log](https://docs.github.com/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - warningsCount: Int! -} + labels: [LabelUpdateInput!] -""" -A list of migrations. -""" -type RepositoryMigrationConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryMigrationEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryMigration] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a repository migration. -""" -type RepositoryMigrationEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryMigration -} + labels: [LabelUpdateInput!] -""" -Ordering options for repository migrations. -""" -input RepositoryMigrationOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: RepositoryMigrationOrderDirection! + labels: [LabelUpdateInput!] """ - The field to order repository migrations by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: RepositoryMigrationOrderField! -} + labels: [LabelUpdateInput!] -""" -Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. -""" -enum RepositoryMigrationOrderDirection { """ - Specifies an ascending order for a given `orderBy` argument. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ASC + labels: [LabelUpdateInput!] """ - Specifies a descending order for a given `orderBy` argument. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DESC -} + labels: [LabelUpdateInput!] -""" -Properties by which repository migrations can be ordered. -""" -enum RepositoryMigrationOrderField { """ - Order mannequins why when they were created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_name condition -""" -type RepositoryNameConditionTarget { """ - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - exclude: [String!]! + labels: [LabelUpdateInput!] """ - Array of repository names or patterns to include. One of these patterns must - match for the condition to pass. Also accepts `~ALL` to include all repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - include: [String!]! + labels: [LabelUpdateInput!] """ - Target changes that match these patterns will be prevented except by those with bypass permissions. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - protected: Boolean! -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_name condition -""" -input RepositoryNameConditionTargetInput { """ - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - exclude: [String!]! + labels: [LabelUpdateInput!] """ - Array of repository names or patterns to include. One of these patterns must - match for the condition to pass. Also accepts `~ALL` to include all repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - include: [String!]! + labels: [LabelUpdateInput!] """ - Target changes that match these patterns will be prevented except by those with bypass permissions. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - protected: Boolean -} + labels: [LabelUpdateInput!] -""" -Represents a object that belongs to a repository. -""" -interface RepositoryNode { """ - The repository associated with this node. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository! -} + labels: [LabelUpdateInput!] -""" -Ordering options for repository connections -""" -input RepositoryOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order repositories by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: RepositoryOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which repository connections can be ordered. -""" -enum RepositoryOrderField { """ - Order repositories by creation time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT + labels: [LabelUpdateInput!] """ - Order repositories by name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NAME + labels: [LabelUpdateInput!] """ - Order repositories by push time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUSHED_AT + labels: [LabelUpdateInput!] """ - Order repositories by number of stargazers + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - STARGAZERS + labels: [LabelUpdateInput!] """ - Order repositories by update time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -Represents an owner of a Repository. -""" -interface RepositoryOwner { """ - A URL pointing to the owner's public avatar. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - avatarUrl( - """ - The size of the resulting square image. - """ - size: Int - ): URI! + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryOwner object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The username used to login. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - login: String! + labels: [LabelUpdateInput!] """ - A list of repositories that the user owns. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositories( - """ - Array of viewer's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - current viewer owns. - """ - affiliations: [RepositoryAffiliation] - - """ - 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 + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to whether they have issues enabled - """ - hasIssuesEnabled: Boolean - - """ - If non-null, filters repositories according to whether they are archived and not maintained - """ - isArchived: Boolean + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to whether they are forks of another repository - """ - isFork: Boolean + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to whether they have been locked - """ - isLocked: Boolean + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for repositories returned from the connection - """ - orderBy: RepositoryOrder + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Array of owner's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - organization or user being viewed owns. - """ - ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to privacy. Internal - repositories are considered private; consider using the visibility argument - if only internal repositories are needed. Cannot be combined with the - visibility argument. - """ - privacy: RepositoryPrivacy + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. - """ - visibility: RepositoryVisibility - ): RepositoryConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Find Repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository( - """ - Follow repository renames. If disabled, a repository referenced by its old name will return an error. - """ - followRenames: Boolean = true + labels: [LabelUpdateInput!] - """ - Name of Repository to find. - """ - name: String! - ): Repository + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP URL for the owner. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for the owner. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -The access level to a repository -""" -enum RepositoryPermission { """ - Can read, clone, and push to this repository. Can also manage issues, pull - requests, and repository settings, including adding collaborators + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ADMIN + labels: [LabelUpdateInput!] """ - Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAINTAIN + labels: [LabelUpdateInput!] """ - Can read and clone this repository. Can also open and comment on issues and pull requests + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - READ + labels: [LabelUpdateInput!] """ - Can read and clone this repository. Can also manage issues and pull requests + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TRIAGE + labels: [LabelUpdateInput!] """ - Can read, clone, and push to this repository. Can also manage issues and pull requests + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WRITE -} + labels: [LabelUpdateInput!] -""" -Information about the availability of features and limits for a repository based on its billing plan. -""" -type RepositoryPlanFeatures { """ - Whether reviews can be automatically requested and enforced with a CODEOWNERS file + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - codeowners: Boolean! + labels: [LabelUpdateInput!] """ - Whether pull requests can be created as or converted to draft + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - draftPullRequests: Boolean! + labels: [LabelUpdateInput!] """ - Maximum number of users that can be assigned to an issue or pull request + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - maximumAssignees: Int! + labels: [LabelUpdateInput!] """ - Maximum number of manually-requested reviews on a pull request + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - maximumManualReviewRequests: Int! + labels: [LabelUpdateInput!] """ - Whether teams can be requested to review pull requests + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamReviewRequests: Boolean! -} + labels: [LabelUpdateInput!] -""" -The privacy of a repository -""" -enum RepositoryPrivacy { """ - Private + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PRIVATE + labels: [LabelUpdateInput!] """ - Public + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUBLIC -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_property condition -""" -type RepositoryPropertyConditionTarget { """ - Array of repository properties that must not match. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - exclude: [PropertyTargetDefinition!]! + labels: [LabelUpdateInput!] """ - Array of repository properties that must match + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - include: [PropertyTargetDefinition!]! -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the repository_property condition -""" -input RepositoryPropertyConditionTargetInput { """ - Array of repository properties that must not match. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - exclude: [PropertyTargetDefinitionInput!]! + labels: [LabelUpdateInput!] """ - Array of repository properties that must match + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - include: [PropertyTargetDefinitionInput!]! -} + labels: [LabelUpdateInput!] -""" -A repository rule. -""" -type RepositoryRule implements Node { """ - The Node ID of the RepositoryRule object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The parameters for this rule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parameters: RuleParameters + labels: [LabelUpdateInput!] """ - The repository ruleset associated with this rule configuration + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryRuleset: RepositoryRuleset + labels: [LabelUpdateInput!] """ - The type of rule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - type: RepositoryRuleType! -} + labels: [LabelUpdateInput!] -""" -Set of conditions that determine if a ruleset will evaluate -""" -type RepositoryRuleConditions { """ - Configuration for the ref_name condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - refName: RefNameConditionTarget + labels: [LabelUpdateInput!] """ - Configuration for the repository_id condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: RepositoryIdConditionTarget + labels: [LabelUpdateInput!] """ - Configuration for the repository_name condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: RepositoryNameConditionTarget + labels: [LabelUpdateInput!] """ - Configuration for the repository_property condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryProperty: RepositoryPropertyConditionTarget -} + labels: [LabelUpdateInput!] -""" -Specifies the conditions required for a ruleset to evaluate -""" -input RepositoryRuleConditionsInput { """ - Configuration for the ref_name condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - refName: RefNameConditionTargetInput + labels: [LabelUpdateInput!] """ - Configuration for the repository_id condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: RepositoryIdConditionTargetInput + labels: [LabelUpdateInput!] """ - Configuration for the repository_name condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: RepositoryNameConditionTargetInput + labels: [LabelUpdateInput!] """ - Configuration for the repository_property condition + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryProperty: RepositoryPropertyConditionTargetInput -} + labels: [LabelUpdateInput!] -""" -The connection type for RepositoryRule. -""" -type RepositoryRuleConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryRuleEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryRule] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryRuleEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryRule -} + labels: [LabelUpdateInput!] -""" -Specifies the attributes for a new or updated rule. -""" -input RepositoryRuleInput { """ - Optional ID of this rule when updating + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID + labels: [LabelUpdateInput!] """ - The parameters for the rule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parameters: RuleParametersInput + labels: [LabelUpdateInput!] """ - The type of rule to create. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - type: RepositoryRuleType! -} + labels: [LabelUpdateInput!] -""" -Ordering options for repository rules. -""" -input RepositoryRuleOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order repository rules by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: RepositoryRuleOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which repository rule connections can be ordered. -""" -enum RepositoryRuleOrderField { """ - Order repository rules by created time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT + labels: [LabelUpdateInput!] """ - Order repository rules by type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TYPE + labels: [LabelUpdateInput!] """ - Order repository rules by updated time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -The rule types supported in rulesets -""" -enum RepositoryRuleType { """ - Authorization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AUTHORIZATION + labels: [LabelUpdateInput!] """ - Branch name pattern + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BRANCH_NAME_PATTERN + labels: [LabelUpdateInput!] """ - Choose which tools must provide code scanning results before the reference is - updated. When configured, code scanning must be enabled and have results for - both the commit and the reference being updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CODE_SCANNING + labels: [LabelUpdateInput!] """ - Committer email pattern + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMMITTER_EMAIL_PATTERN + labels: [LabelUpdateInput!] """ - Commit author email pattern + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMMIT_AUTHOR_EMAIL_PATTERN + labels: [LabelUpdateInput!] """ - Commit message pattern + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMMIT_MESSAGE_PATTERN + labels: [LabelUpdateInput!] """ - Only allow users with bypass permission to create matching refs. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATION + labels: [LabelUpdateInput!] """ - Only allow users with bypass permissions to delete matching refs. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DELETION + labels: [LabelUpdateInput!] """ - Prevent commits that include files with specified file extensions from being pushed to the commit graph. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FILE_EXTENSION_RESTRICTION + labels: [LabelUpdateInput!] """ - Prevent commits that include changes in specified file paths from being pushed to the commit graph. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FILE_PATH_RESTRICTION + labels: [LabelUpdateInput!] """ - Branch is read-only. Users cannot push to the branch. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOCK_BRANCH + labels: [LabelUpdateInput!] """ - Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAX_FILE_PATH_LENGTH + labels: [LabelUpdateInput!] """ - Prevent commits that exceed a specified file size limit from being pushed to the commit graph. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAX_FILE_SIZE + labels: [LabelUpdateInput!] """ - Max ref updates + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAX_REF_UPDATES + labels: [LabelUpdateInput!] """ - Merges must be performed via a merge queue. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MERGE_QUEUE + labels: [LabelUpdateInput!] """ - Merge queue locked ref + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MERGE_QUEUE_LOCKED_REF + labels: [LabelUpdateInput!] """ - Prevent users with push access from force pushing to refs. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NON_FAST_FORWARD + labels: [LabelUpdateInput!] """ - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PULL_REQUEST + labels: [LabelUpdateInput!] """ - Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_DEPLOYMENTS + labels: [LabelUpdateInput!] """ - Prevent merge commits from being pushed to matching refs. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_LINEAR_HISTORY + labels: [LabelUpdateInput!] """ - When enabled, all conversations on code must be resolved before a pull request - can be merged into a branch that matches this rule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_REVIEW_THREAD_RESOLUTION + labels: [LabelUpdateInput!] """ - Commits pushed to matching refs must have verified signatures. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_SIGNATURES + labels: [LabelUpdateInput!] """ - 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. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_STATUS_CHECKS + labels: [LabelUpdateInput!] """ - Require all commits be made to a non-target branch and submitted via a pull - request and required workflow checks to pass before they can be merged. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REQUIRED_WORKFLOW_STATUS_CHECKS + labels: [LabelUpdateInput!] """ - Secret scanning + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SECRET_SCANNING + labels: [LabelUpdateInput!] """ - Tag + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TAG + labels: [LabelUpdateInput!] """ - Tag name pattern + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TAG_NAME_PATTERN + labels: [LabelUpdateInput!] """ - Only allow users with bypass permission to update matching refs. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATE + labels: [LabelUpdateInput!] """ - Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WORKFLOWS + labels: [LabelUpdateInput!] """ - Workflow files cannot be modified. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WORKFLOW_UPDATES -} + labels: [LabelUpdateInput!] -""" -A repository ruleset. -""" -type RepositoryRuleset implements Node { """ - The actors that can bypass this ruleset + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bypassActors( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RepositoryRulesetBypassActorConnection + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The set of conditions that must evaluate to true for this ruleset to apply + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - conditions: RepositoryRuleConditions! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The enforcement level of this ruleset + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enforcement: RuleEnforcement! + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryRuleset object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Name of the ruleset. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - List of rules. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - rules( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - The type of rule. - """ - type: RepositoryRuleType - ): RepositoryRuleConnection + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Source of ruleset. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - source: RuleSource! + labels: [LabelUpdateInput!] """ - Target of the ruleset. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - target: RepositoryRulesetTarget + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -A team or app that has the ability to bypass a rules defined on a ruleset -""" -type RepositoryRulesetBypassActor implements Node { """ - The actor that can bypass rules. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: BypassActor + labels: [LabelUpdateInput!] """ - The mode for the bypass actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bypassMode: RepositoryRulesetBypassActorBypassMode + labels: [LabelUpdateInput!] """ - This actor represents the ability for a deploy key to bypass + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - deployKey: Boolean! + labels: [LabelUpdateInput!] """ - This actor represents the ability for an enterprise owner to bypass + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseOwner: Boolean! + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryRulesetBypassActor object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - This actor represents the ability for an organization owner to bypass + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationAdmin: Boolean! + labels: [LabelUpdateInput!] """ - If the actor is a repository role, the repository role's ID that can bypass + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryRoleDatabaseId: Int + labels: [LabelUpdateInput!] """ - If the actor is a repository role, the repository role's name that can bypass + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryRoleName: String + labels: [LabelUpdateInput!] """ - Identifies the ruleset associated with the allowed actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryRuleset: RepositoryRuleset -} + labels: [LabelUpdateInput!] -""" -The bypass mode for a specific actor on a ruleset. -""" -enum RepositoryRulesetBypassActorBypassMode { """ - The actor can always bypass rules + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ALWAYS + labels: [LabelUpdateInput!] """ - The actor can only bypass rules via a pull request + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PULL_REQUEST -} + labels: [LabelUpdateInput!] -""" -The connection type for RepositoryRulesetBypassActor. -""" -type RepositoryRulesetBypassActorConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryRulesetBypassActorEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryRulesetBypassActor] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryRulesetBypassActorEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryRulesetBypassActor -} + labels: [LabelUpdateInput!] -""" -Specifies the attributes for a new or updated ruleset bypass actor. Only one of -`actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key` -should be specified. -""" -input RepositoryRulesetBypassActorInput { """ - For Team and Integration bypasses, the Team or Integration ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorId: ID + labels: [LabelUpdateInput!] """ - The bypass mode for this actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bypassMode: RepositoryRulesetBypassActorBypassMode! + labels: [LabelUpdateInput!] """ - For deploy key bypasses, true. Can only use ALWAYS as the bypass mode + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - deployKey: Boolean + labels: [LabelUpdateInput!] """ - For enterprise owner bypasses, true + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseOwner: Boolean + labels: [LabelUpdateInput!] """ - For organization owner bypasses, true + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationAdmin: Boolean + labels: [LabelUpdateInput!] """ - For role bypasses, the role database ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryRoleDatabaseId: Int -} + labels: [LabelUpdateInput!] -""" -The connection type for RepositoryRuleset. -""" -type RepositoryRulesetConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryRulesetEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryRuleset] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryRulesetEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryRuleset -} + labels: [LabelUpdateInput!] -""" -The targets supported for rulesets. -""" -enum RepositoryRulesetTarget { """ - Branch + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BRANCH + labels: [LabelUpdateInput!] """ - Push + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUSH + labels: [LabelUpdateInput!] """ - repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REPOSITORY + labels: [LabelUpdateInput!] """ - Tag + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TAG -} + labels: [LabelUpdateInput!] -""" -A repository-topic connects a repository to a topic. -""" -type RepositoryTopic implements Node & UniformResourceLocatable { """ - The Node ID of the RepositoryTopic object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The HTTP path for this repository-topic. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - The topic. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - topic: Topic! + labels: [LabelUpdateInput!] """ - The HTTP URL for this repository-topic. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -The connection type for RepositoryTopic. -""" -type RepositoryTopicConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryTopicEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryTopic] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryTopicEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryTopic -} + labels: [LabelUpdateInput!] -""" -The repository's visibility level. -""" -enum RepositoryVisibility { """ - The repository is visible only to users in the same enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - INTERNAL + labels: [LabelUpdateInput!] """ - The repository is visible only to those with explicit access. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PRIVATE + labels: [LabelUpdateInput!] """ - The repository is visible to everyone. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUBLIC -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a repository_visibility_change.disable event. -""" -type RepositoryVisibilityChangeDisableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The HTTP path for this enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseResourcePath: URI + labels: [LabelUpdateInput!] """ - The slug of the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseSlug: String + labels: [LabelUpdateInput!] """ - The HTTP URL for this enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseUrl: URI + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a repository_visibility_change.enable event. -""" -type RepositoryVisibilityChangeEnableAuditEntry implements AuditEntry & EnterpriseAuditEntryData & Node & OrganizationAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The HTTP path for this enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseResourcePath: URI + labels: [LabelUpdateInput!] """ - The slug of the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseSlug: String + labels: [LabelUpdateInput!] """ - The HTTP URL for this enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseUrl: URI + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -A Dependabot alert for a repository with a dependency affected by a security vulnerability. -""" -type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ - When was the alert auto-dismissed? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - autoDismissedAt: DateTime + labels: [LabelUpdateInput!] """ - When was the alert created? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The associated Dependabot update + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dependabotUpdate: DependabotUpdate + labels: [LabelUpdateInput!] """ - The scope of an alert's dependency + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dependencyScope: RepositoryVulnerabilityAlertDependencyScope + labels: [LabelUpdateInput!] """ - Comment explaining the reason the alert was dismissed + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissComment: String + labels: [LabelUpdateInput!] """ - The reason the alert was dismissed + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissReason: String + labels: [LabelUpdateInput!] """ - When was the alert dismissed? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissedAt: DateTime + labels: [LabelUpdateInput!] """ - The user who dismissed the alert + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismisser: User + labels: [LabelUpdateInput!] """ - When was the alert fixed? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fixedAt: DateTime + labels: [LabelUpdateInput!] """ - The Node ID of the RepositoryVulnerabilityAlert object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the alert number. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - number: Int! + labels: [LabelUpdateInput!] """ - The associated repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository! + labels: [LabelUpdateInput!] """ - The associated security advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - securityAdvisory: SecurityAdvisory + labels: [LabelUpdateInput!] """ - The associated security vulnerability + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - securityVulnerability: SecurityVulnerability + labels: [LabelUpdateInput!] """ - Identifies the state of the alert. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: RepositoryVulnerabilityAlertState! + labels: [LabelUpdateInput!] """ - The vulnerable manifest filename + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - vulnerableManifestFilename: String! + labels: [LabelUpdateInput!] """ - The vulnerable manifest path + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - vulnerableManifestPath: String! + labels: [LabelUpdateInput!] """ - The vulnerable requirements + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - vulnerableRequirements: String -} + labels: [LabelUpdateInput!] -""" -The connection type for RepositoryVulnerabilityAlert. -""" -type RepositoryVulnerabilityAlertConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RepositoryVulnerabilityAlertEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RepositoryVulnerabilityAlert] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -The possible scopes of an alert's dependency. -""" -enum RepositoryVulnerabilityAlertDependencyScope { """ - A dependency that is only used in development + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DEVELOPMENT + labels: [LabelUpdateInput!] """ - A dependency that is leveraged during application runtime + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RUNTIME -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RepositoryVulnerabilityAlertEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RepositoryVulnerabilityAlert -} + labels: [LabelUpdateInput!] + + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -The possible states of an alert -""" -enum RepositoryVulnerabilityAlertState { """ - An alert that has been automatically closed by Dependabot. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AUTO_DISMISSED + labels: [LabelUpdateInput!] """ - An alert that has been manually closed by a user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DISMISSED + labels: [LabelUpdateInput!] """ - An alert that has been resolved by a code change. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FIXED + labels: [LabelUpdateInput!] """ - An alert that is still open. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - OPEN -} + labels: [LabelUpdateInput!] -""" -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). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - afterId: ID + labels: [LabelUpdateInput!] """ - The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - beforeId: ID + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The id of the parent issue. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issueId: ID! + labels: [LabelUpdateInput!] """ - The id of the sub-issue to reprioritize. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subIssueId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of ReprioritizeSubIssue. -""" -type ReprioritizeSubIssuePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The parent issue that the sub-issue was reprioritized in. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issue: Issue -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RequestReviews -""" -input RequestReviewsInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the pull request to modify. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestId: ID! + labels: [LabelUpdateInput!] """ - The Node IDs of the team to request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamIds: [ID!] + labels: [LabelUpdateInput!] """ - Add users to the set rather than replace. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - union: Boolean = false + labels: [LabelUpdateInput!] """ - The Node IDs of the user to request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userIds: [ID!] -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RequestReviews. -""" -type RequestReviewsPayload { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The pull request that is getting requests. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest + labels: [LabelUpdateInput!] """ - The edge from the pull request to the requested reviewers. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requestedReviewersEdge: UserEdge -} + labels: [LabelUpdateInput!] -""" -The possible states that can be requested when creating a check run. -""" -enum RequestableCheckStatusState { """ - The check suite or run has been completed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMPLETED + labels: [LabelUpdateInput!] """ - The check suite or run is in progress. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IN_PROGRESS + labels: [LabelUpdateInput!] """ - The check suite or run is in pending state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PENDING + labels: [LabelUpdateInput!] """ - The check suite or run has been queued. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - QUEUED + labels: [LabelUpdateInput!] """ - The check suite or run is in waiting state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WAITING -} + labels: [LabelUpdateInput!] -""" -Types that can be requested reviewers. -""" -union RequestedReviewer = Bot | Mannequin | Team | User + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -The connection type for RequestedReviewer. -""" -type RequestedReviewerConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [RequestedReviewerEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [RequestedReviewer] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type RequestedReviewerEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: RequestedReviewer -} + labels: [LabelUpdateInput!] -""" -Represents a type that can be required by a pull request for merging. -""" -interface RequirableByPullRequest { """ - Whether this is required to pass before merging for a specific pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isRequired( - """ - The id of the pull request this is required for - """ - pullRequestId: ID + labels: [LabelUpdateInput!] - """ - The number of the pull request this is required for - """ - pullRequestNumber: Int - ): Boolean! -} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. -""" -type RequiredDeploymentsParameters { """ - The environments that must be successfully deployed to before branches can be merged. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredDeploymentEnvironments: [String!]! -} + labels: [LabelUpdateInput!] -""" -Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. -""" -input RequiredDeploymentsParametersInput { """ - The environments that must be successfully deployed to before branches can be merged. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredDeploymentEnvironments: [String!]! -} + labels: [LabelUpdateInput!] -""" -Represents a required status check for a protected branch, but not any specific run of that check. -""" -type RequiredStatusCheckDescription { """ - The App that must provide this status in order for it to be accepted. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - app: App + labels: [LabelUpdateInput!] """ - The name of this status. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context: String! -} + labels: [LabelUpdateInput!] -""" -Specifies the attributes for a new or updated required status check. -""" -input RequiredStatusCheckInput { """ - The ID of the App that must set the status in order for it to be accepted. - Omit this value to use whichever app has recently been setting this status, or - use "any" to allow any app to set the status. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - appId: ID + labels: [LabelUpdateInput!] """ - Status check context that must pass for commits to be accepted to the matching branch. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context: String! -} + labels: [LabelUpdateInput!] -""" -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. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - doNotEnforceOnCreate: Boolean! + labels: [LabelUpdateInput!] """ - Status checks that are required. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredStatusChecks: [StatusCheckConfiguration!]! + labels: [LabelUpdateInput!] """ - Whether pull requests targeting a matching branch must be tested with the - latest code. This setting will not take effect unless at least one status - check is enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - strictRequiredStatusChecksPolicy: Boolean! -} + labels: [LabelUpdateInput!] -""" -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. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - doNotEnforceOnCreate: Boolean + labels: [LabelUpdateInput!] """ - Status checks that are required. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredStatusChecks: [StatusCheckConfigurationInput!]! + labels: [LabelUpdateInput!] """ - Whether pull requests targeting a matching branch must be tested with the - latest code. This setting will not take effect unless at least one status - check is enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - strictRequiredStatusChecksPolicy: Boolean! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RerequestCheckSuite -""" -input RerequestCheckSuiteInput { """ - The Node ID of the check suite. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkSuiteId: ID! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RerequestCheckSuite. -""" -type RerequestCheckSuitePayload { """ - The requested check suite. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkSuite: CheckSuite + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of ResolveReviewThread -""" -input ResolveReviewThreadInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the thread to resolve + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - threadId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of ResolveReviewThread. -""" -type ResolveReviewThreadPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The thread to resolve. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - thread: PullRequestReviewThread -} + labels: [LabelUpdateInput!] -""" -Represents a private contribution a user made on GitHub. -""" -type RestrictedContribution implements Contribution { """ - Whether this contribution is associated with a record you do not have access to. For - example, your own 'first issue' contribution may have been made on a repository you can no - longer access. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isRestricted: Boolean! + labels: [LabelUpdateInput!] """ - When this contribution was made. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - occurredAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP path for this contribution. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for this contribution. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! + labels: [LabelUpdateInput!] """ - The user who made this contribution. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RetireSponsorsTier -""" -input RetireSponsorsTierInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the published tier to retire. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tierId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RetireSponsorsTier. -""" -type RetireSponsorsTierPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The tier that was retired. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsTier: SponsorsTier -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RevertPullRequest -""" -input RevertPullRequestInput { """ - The description of the revert pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - Indicates whether the revert pull request should be a draft. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - draft: Boolean = false + labels: [LabelUpdateInput!] """ - The ID of the pull request to revert. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestId: ID! + labels: [LabelUpdateInput!] """ - The title of the revert pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - title: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RevertPullRequest. -""" -type RevertPullRequestPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The pull request that was reverted. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest + labels: [LabelUpdateInput!] """ - The new pull request that reverts the input pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - revertPullRequest: PullRequest -} + labels: [LabelUpdateInput!] -""" -A user, team, or app who has the ability to dismiss a review on a protected branch. -""" -type ReviewDismissalAllowance implements Node { """ - The actor that can dismiss. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: ReviewDismissalAllowanceActor + labels: [LabelUpdateInput!] """ - Identifies the branch protection rule associated with the allowed user, team, or app. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - branchProtectionRule: BranchProtectionRule + labels: [LabelUpdateInput!] """ - The Node ID of the ReviewDismissalAllowance object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! -} + labels: [LabelUpdateInput!] -""" -Types that can be an actor. -""" -union ReviewDismissalAllowanceActor = App | Team | User + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -The connection type for ReviewDismissalAllowance. -""" -type ReviewDismissalAllowanceConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [ReviewDismissalAllowanceEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [ReviewDismissalAllowance] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type ReviewDismissalAllowanceEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: ReviewDismissalAllowance -} + labels: [LabelUpdateInput!] -""" -Represents a 'review_dismissed' event on a given issue or pull request. -""" -type ReviewDismissedEvent implements Node & UniformResourceLocatable { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - Identifies the optional message associated with the 'review_dismissed' event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissalMessage: String + labels: [LabelUpdateInput!] """ - Identifies the optional message associated with the event, rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissalMessageHTML: String + labels: [LabelUpdateInput!] """ - The Node ID of the ReviewDismissedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the previous state of the review with the 'review_dismissed' event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - previousReviewState: PullRequestReviewState! + labels: [LabelUpdateInput!] """ - PullRequest referenced by event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest! + labels: [LabelUpdateInput!] """ - Identifies the commit which caused the review to become stale. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestCommit: PullRequestCommit + labels: [LabelUpdateInput!] """ - The HTTP path for this review dismissed event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - Identifies the review associated with the 'review_dismissed' event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - review: PullRequestReview + labels: [LabelUpdateInput!] """ - The HTTP URL for this review dismissed event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -A request for a user to review a pull request. -""" -type ReviewRequest implements Node { """ - Whether this request was created for a code owner + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - asCodeOwner: Boolean! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The Node ID of the ReviewRequest object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the pull request associated with this review request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest! + labels: [LabelUpdateInput!] """ - The reviewer that is requested. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requestedReviewer: RequestedReviewer -} + labels: [LabelUpdateInput!] -""" -The connection type for ReviewRequest. -""" -type ReviewRequestConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [ReviewRequestEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [ReviewRequest] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type ReviewRequestEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: ReviewRequest -} + labels: [LabelUpdateInput!] -""" -Represents an 'review_request_removed' event on a given pull request. -""" -type ReviewRequestRemovedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the ReviewRequestRemovedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - PullRequest referenced by event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest! + labels: [LabelUpdateInput!] """ - Identifies the reviewer whose review request was removed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requestedReviewer: RequestedReviewer -} + labels: [LabelUpdateInput!] -""" -Represents an 'review_requested' event on a given pull request. -""" -type ReviewRequestedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the ReviewRequestedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - PullRequest referenced by event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest! + labels: [LabelUpdateInput!] """ - Identifies the reviewer whose review was requested. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requestedReviewer: RequestedReviewer -} + labels: [LabelUpdateInput!] -""" -A hovercard context with a message describing the current code review state of the pull -request. -""" -type ReviewStatusHovercardContext implements HovercardContext { """ - A string describing this context + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String! + labels: [LabelUpdateInput!] """ - An octicon to accompany this context + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - octicon: String! + labels: [LabelUpdateInput!] """ - The current status of the pull request with respect to code review. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewDecision: PullRequestReviewDecision -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole -""" -input RevokeEnterpriseOrganizationsMigratorRoleInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise to which all organizations managed by it will be granted the migrator role. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The login of the user to revoke the migrator role + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - login: String! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RevokeEnterpriseOrganizationsMigratorRole. -""" -type RevokeEnterpriseOrganizationsMigratorRolePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The organizations that had the migrator role revoked for the given user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizations( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): OrganizationConnection -} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -Autogenerated input type of RevokeMigratorRole -""" -input RevokeMigratorRoleInput { """ - The user login or Team slug to revoke the migrator role from. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: String! + labels: [LabelUpdateInput!] """ - Specifies the type of the actor, can be either USER or TEAM. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorType: ActorType! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the organization that the user/team belongs to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of RevokeMigratorRole. -""" -type RevokeMigratorRolePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - Did the operation succeed? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - success: Boolean -} + labels: [LabelUpdateInput!] -""" -Possible roles a user may have in relation to an organization. -""" -enum RoleInOrganization { """ - A user who is a direct member of the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DIRECT_MEMBER + labels: [LabelUpdateInput!] """ - A user with full administrative access to the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - OWNER + labels: [LabelUpdateInput!] """ - A user who is unaffiliated with the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UNAFFILIATED -} + labels: [LabelUpdateInput!] -""" -The level of enforcement for a rule or ruleset. -""" -enum RuleEnforcement { """ - Rules will be enforced + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ACTIVE + labels: [LabelUpdateInput!] """ - Do not evaluate or enforce rules + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DISABLED + labels: [LabelUpdateInput!] """ - Allow admins to test rules before enforcing them. Admins can view insights on - the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EVALUATE -} - -""" -Types which can be parameters for `RepositoryRule` objects. -""" -union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | MergeQueueParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters + labels: [LabelUpdateInput!] -""" -Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. -""" -input RuleParametersInput { """ - Parameters used for the `branch_name_pattern` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - branchNamePattern: BranchNamePatternParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `code_scanning` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - codeScanning: CodeScanningParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `commit_author_email_pattern` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitAuthorEmailPattern: CommitAuthorEmailPatternParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `commit_message_pattern` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitMessagePattern: CommitMessagePatternParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `committer_email_pattern` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - committerEmailPattern: CommitterEmailPatternParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `file_extension_restriction` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fileExtensionRestriction: FileExtensionRestrictionParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `file_path_restriction` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - filePathRestriction: FilePathRestrictionParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `max_file_path_length` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - maxFilePathLength: MaxFilePathLengthParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `max_file_size` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - maxFileSize: MaxFileSizeParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `merge_queue` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - mergeQueue: MergeQueueParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `pull_request` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequestParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `required_deployments` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredDeployments: RequiredDeploymentsParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `required_status_checks` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredStatusChecks: RequiredStatusChecksParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `tag_name_pattern` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tagNamePattern: TagNamePatternParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `update` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - update: UpdateParametersInput + labels: [LabelUpdateInput!] """ - Parameters used for the `workflows` rule type + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - workflows: WorkflowsParametersInput -} - -""" -Types which can have `RepositoryRule` objects. -""" -union RuleSource = Enterprise | Organization | Repository + labels: [LabelUpdateInput!] -""" -The possible digest algorithms used to sign SAML requests for an identity provider. -""" -enum SamlDigestAlgorithm { """ - SHA1 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SHA1 + labels: [LabelUpdateInput!] """ - SHA256 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SHA256 + labels: [LabelUpdateInput!] """ - SHA384 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SHA384 + labels: [LabelUpdateInput!] """ - SHA512 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SHA512 -} + labels: [LabelUpdateInput!] -""" -The possible signature algorithms used to sign SAML requests for a Identity Provider. -""" -enum SamlSignatureAlgorithm { """ - RSA-SHA1 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RSA_SHA1 + labels: [LabelUpdateInput!] """ - RSA-SHA256 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RSA_SHA256 + labels: [LabelUpdateInput!] """ - RSA-SHA384 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RSA_SHA384 + labels: [LabelUpdateInput!] """ - RSA-SHA512 + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RSA_SHA512 -} + labels: [LabelUpdateInput!] -""" -A Saved Reply is text a user can use to reply quickly. -""" -type SavedReply implements Node { """ - The body of the saved reply. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String! + labels: [LabelUpdateInput!] """ - The saved reply body rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyHTML: HTML! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The Node ID of the SavedReply object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The title of the saved reply. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - title: String! + labels: [LabelUpdateInput!] """ - The user that saved this reply. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: Actor -} + labels: [LabelUpdateInput!] -""" -The connection type for SavedReply. -""" -type SavedReplyConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SavedReplyEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SavedReply] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SavedReplyEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SavedReply -} + labels: [LabelUpdateInput!] -""" -Ordering options for saved reply connections. -""" -input SavedReplyOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order saved replies by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SavedReplyOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which saved reply connections can be ordered. -""" -enum SavedReplyOrderField { """ - Order saved reply by when they were updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -The results of a search. -""" -union SearchResultItem = App | Discussion | Issue | MarketplaceListing | Organization | PullRequest | Repository | User + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -A list of results that matched against a search query. Regardless of the number -of matches, a maximum of 1,000 results will be available across all types, -potentially split across many pages. -""" -type SearchResultItemConnection { """ - The total number of pieces of code that matched the search query. Regardless - of the total number of matches, a maximum of 1,000 results will be available - across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - codeCount: Int! + labels: [LabelUpdateInput!] """ - The total number of discussions that matched the search query. Regardless of - the total number of matches, a maximum of 1,000 results will be available - across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussionCount: Int! + labels: [LabelUpdateInput!] """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SearchResultItemEdge] + labels: [LabelUpdateInput!] """ - The total number of issues that matched the search query. Regardless of the - total number of matches, a maximum of 1,000 results will be available across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issueCount: Int! + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SearchResultItem] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - The total number of repositories that matched the search query. Regardless of - the total number of matches, a maximum of 1,000 results will be available - across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryCount: Int! + labels: [LabelUpdateInput!] """ - The total number of users that matched the search query. Regardless of the - total number of matches, a maximum of 1,000 results will be available across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userCount: Int! + labels: [LabelUpdateInput!] """ - The total number of wiki pages that matched the search query. Regardless of - the total number of matches, a maximum of 1,000 results will be available - across all types. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - wikiCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SearchResultItemEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SearchResultItem + labels: [LabelUpdateInput!] """ - Text matches on the result found. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - textMatches: [TextMatch] -} + labels: [LabelUpdateInput!] -""" -Represents the individual results of a search. -""" -enum SearchType { """ - Returns matching discussions in repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DISCUSSION + labels: [LabelUpdateInput!] """ - Returns results matching issues in repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ISSUE + labels: [LabelUpdateInput!] """ - Returns results matching repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REPOSITORY + labels: [LabelUpdateInput!] """ - Returns results matching users and organizations on GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - USER -} + labels: [LabelUpdateInput!] -""" -A GitHub Security Advisory -""" -type SecurityAdvisory implements Node { """ - The classification of the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - classification: SecurityAdvisoryClassification! + labels: [LabelUpdateInput!] """ - The CVSS associated with this advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - 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.") + labels: [LabelUpdateInput!] """ - The CVSS associated with this advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cvssSeverities: CvssSeverities! + labels: [LabelUpdateInput!] """ - CWEs associated with this Advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cwes( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): CWEConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - This is a long plaintext description of the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String! + labels: [LabelUpdateInput!] """ - The Exploit Prediction Scoring System + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - epss: EPSS + labels: [LabelUpdateInput!] """ - The GitHub Security Advisory ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ghsaId: String! + labels: [LabelUpdateInput!] """ - The Node ID of the SecurityAdvisory object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - A list of identifiers for this advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - identifiers: [SecurityAdvisoryIdentifier!]! + labels: [LabelUpdateInput!] """ - The permalink for the advisory's dependabot alerts page + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - notificationsPermalink: URI + labels: [LabelUpdateInput!] """ - The organization that originated the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - origin: String! + labels: [LabelUpdateInput!] """ - The permalink for the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - permalink: URI + labels: [LabelUpdateInput!] """ - When the advisory was published + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - publishedAt: DateTime! + labels: [LabelUpdateInput!] """ - A list of references for this advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - references: [SecurityAdvisoryReference!]! + labels: [LabelUpdateInput!] """ - The severity of the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - severity: SecurityAdvisorySeverity! + labels: [LabelUpdateInput!] """ - A short plaintext summary of the advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - summary: String! + labels: [LabelUpdateInput!] """ - When the advisory was last updated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - Vulnerabilities associated with this Advisory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - vulnerabilities( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - A list of advisory classifications to filter vulnerabilities by. - """ - classifications: [SecurityAdvisoryClassification!] + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - An ecosystem to filter vulnerabilities by. - """ - ecosystem: SecurityAdvisoryEcosystem + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for the returned topics. - """ - orderBy: SecurityVulnerabilityOrder = {field: UPDATED_AT, direction: DESC} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - A package name to filter vulnerabilities by. - """ - package: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - A list of severities to filter vulnerabilities by. - """ - severities: [SecurityAdvisorySeverity!] - ): SecurityVulnerabilityConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - When the advisory was withdrawn, if it has been withdrawn + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - withdrawnAt: DateTime -} + labels: [LabelUpdateInput!] -""" -Classification of the advisory. -""" -enum SecurityAdvisoryClassification { """ - Classification of general advisories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GENERAL + labels: [LabelUpdateInput!] """ - Classification of malware advisories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MALWARE -} + labels: [LabelUpdateInput!] -""" -The connection type for SecurityAdvisory. -""" -type SecurityAdvisoryConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SecurityAdvisoryEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SecurityAdvisory] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -The possible ecosystems of a security vulnerability's package. -""" -enum SecurityAdvisoryEcosystem { """ - GitHub Actions + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ACTIONS + labels: [LabelUpdateInput!] """ - PHP packages hosted at packagist.org + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMPOSER + labels: [LabelUpdateInput!] """ - Erlang/Elixir packages hosted at hex.pm + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ERLANG + labels: [LabelUpdateInput!] """ - Go modules + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GO + labels: [LabelUpdateInput!] """ - Java artifacts hosted at the Maven central repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAVEN + labels: [LabelUpdateInput!] """ - JavaScript packages hosted at npmjs.com + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NPM + labels: [LabelUpdateInput!] """ - .NET packages hosted at the NuGet Gallery + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NUGET + labels: [LabelUpdateInput!] """ - Python packages hosted at PyPI.org + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PIP + labels: [LabelUpdateInput!] """ - Dart packages hosted at pub.dev + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUB + labels: [LabelUpdateInput!] """ - Ruby gems hosted at RubyGems.org + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RUBYGEMS + labels: [LabelUpdateInput!] """ - Rust crates + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RUST + labels: [LabelUpdateInput!] """ - Swift packages + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SWIFT -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SecurityAdvisoryEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SecurityAdvisory -} + labels: [LabelUpdateInput!] -""" -A GitHub Security Advisory Identifier -""" -type SecurityAdvisoryIdentifier { """ - The identifier type, e.g. GHSA, CVE + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - type: String! + labels: [LabelUpdateInput!] """ - The identifier + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - value: String! -} + labels: [LabelUpdateInput!] -""" -An advisory identifier to filter results on. -""" -input SecurityAdvisoryIdentifierFilter { """ - The identifier type. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - type: SecurityAdvisoryIdentifierType! + labels: [LabelUpdateInput!] """ - The identifier string. Supports exact or partial matching. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - value: String! -} + labels: [LabelUpdateInput!] -""" -Identifier formats available for advisories. -""" -enum SecurityAdvisoryIdentifierType { """ - Common Vulnerabilities and Exposures Identifier. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CVE + labels: [LabelUpdateInput!] """ - GitHub Security Advisory ID. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GHSA -} + labels: [LabelUpdateInput!] -""" -Ordering options for security advisory connections -""" -input SecurityAdvisoryOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order security advisories by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SecurityAdvisoryOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which security advisory connections can be ordered. -""" -enum SecurityAdvisoryOrderField { """ - Order advisories by EPSS percentage + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EPSS_PERCENTAGE + labels: [LabelUpdateInput!] """ - Order advisories by EPSS percentile + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EPSS_PERCENTILE + labels: [LabelUpdateInput!] """ - Order advisories by publication time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUBLISHED_AT + labels: [LabelUpdateInput!] """ - Order advisories by update time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -An individual package -""" -type SecurityAdvisoryPackage { """ - The ecosystem the package belongs to, e.g. RUBYGEMS, NPM + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ecosystem: SecurityAdvisoryEcosystem! + labels: [LabelUpdateInput!] """ - The package name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! -} + labels: [LabelUpdateInput!] -""" -An individual package version -""" -type SecurityAdvisoryPackageVersion { """ - The package name or version + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - identifier: String! -} + labels: [LabelUpdateInput!] -""" -A GitHub Security Advisory Reference -""" -type SecurityAdvisoryReference { """ - A publicly accessible reference + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -Severity of the vulnerability. -""" -enum SecurityAdvisorySeverity { """ - Critical. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CRITICAL + labels: [LabelUpdateInput!] """ - High. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HIGH + labels: [LabelUpdateInput!] """ - Low. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOW + labels: [LabelUpdateInput!] """ - Moderate. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MODERATE -} + labels: [LabelUpdateInput!] -""" -An individual vulnerability within an Advisory -""" -type SecurityVulnerability { """ - The Advisory associated with this Vulnerability + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - advisory: SecurityAdvisory! + labels: [LabelUpdateInput!] """ - The first version containing a fix for the vulnerability + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - firstPatchedVersion: SecurityAdvisoryPackageVersion + labels: [LabelUpdateInput!] """ - A description of the vulnerable package + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - package: SecurityAdvisoryPackage! + labels: [LabelUpdateInput!] """ - The severity of the vulnerability within this package + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - severity: SecurityAdvisorySeverity! + labels: [LabelUpdateInput!] """ - When the vulnerability was last updated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - A string that describes the vulnerable package versions. - This string follows a basic syntax with a few forms. - + `= 0.2.0` denotes a single vulnerable version. - + `<= 1.0.8` denotes a version range up to and including the specified version - + `< 0.1.11` denotes a version range up to, but excluding, the specified version - + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. - + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - vulnerableVersionRange: String! -} + labels: [LabelUpdateInput!] -""" -The connection type for SecurityVulnerability. -""" -type SecurityVulnerabilityConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SecurityVulnerabilityEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SecurityVulnerability] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SecurityVulnerabilityEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SecurityVulnerability -} + labels: [LabelUpdateInput!] -""" -Ordering options for security vulnerability connections -""" -input SecurityVulnerabilityOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order security vulnerabilities by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SecurityVulnerabilityOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which security vulnerability connections can be ordered. -""" -enum SecurityVulnerabilityOrderField { """ - Order vulnerability by update time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of SetEnterpriseIdentityProvider -""" -input SetEnterpriseIdentityProviderInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The digest algorithm used to sign SAML requests for the identity provider. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - digestMethod: SamlDigestAlgorithm! + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set an identity provider. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The x509 certificate used by the identity provider to sign assertions and responses. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - idpCertificate: String! + labels: [LabelUpdateInput!] """ - The Issuer Entity ID for the SAML identity provider + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issuer: String + labels: [LabelUpdateInput!] """ - The signature algorithm used to sign SAML requests for the identity provider. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signatureMethod: SamlSignatureAlgorithm! + labels: [LabelUpdateInput!] """ - The URL endpoint for the identity provider's SAML SSO. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ssoUrl: URI! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of SetEnterpriseIdentityProvider. -""" -type SetEnterpriseIdentityProviderPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The identity provider for the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - identityProvider: EnterpriseIdentityProvider -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of SetOrganizationInteractionLimit -""" -input SetOrganizationInteractionLimitInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - When this limit should expire. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - expiry: RepositoryInteractionLimitExpiry + labels: [LabelUpdateInput!] """ - The limit to set. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - limit: RepositoryInteractionLimit! + labels: [LabelUpdateInput!] """ - The ID of the organization to set a limit for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of SetOrganizationInteractionLimit. -""" -type SetOrganizationInteractionLimitPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The organization that the interaction limit was set for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of SetRepositoryInteractionLimit -""" -input SetRepositoryInteractionLimitInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - When this limit should expire. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - expiry: RepositoryInteractionLimitExpiry + labels: [LabelUpdateInput!] """ - The limit to set. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - limit: RepositoryInteractionLimit! + labels: [LabelUpdateInput!] """ - The ID of the repository to set a limit for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of SetRepositoryInteractionLimit. -""" -type SetRepositoryInteractionLimitPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The repository that the interaction limit was set for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of SetUserInteractionLimit -""" -input SetUserInteractionLimitInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - When this limit should expire. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - expiry: RepositoryInteractionLimitExpiry + labels: [LabelUpdateInput!] """ - The limit to set. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - limit: RepositoryInteractionLimit! + labels: [LabelUpdateInput!] """ - The ID of the user to set a limit for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of SetUserInteractionLimit. -""" -type SetUserInteractionLimitPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The user that the interaction limit was set for. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User -} + labels: [LabelUpdateInput!] -""" -Represents an S/MIME signature on a Commit or Tag. -""" -type SmimeSignature implements GitSignature { """ - Email used to sign this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - email: String! + labels: [LabelUpdateInput!] """ - True if the signature is valid and verified by GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isValid: Boolean! + labels: [LabelUpdateInput!] """ - Payload for GPG signing object. Raw ODB object without the signature header. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - payload: String! + labels: [LabelUpdateInput!] """ - ASCII-armored signature header from object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signature: String! + labels: [LabelUpdateInput!] """ - GitHub user corresponding to the email signing this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signer: User + labels: [LabelUpdateInput!] """ - The state of this signature. `VALID` if signature is valid and verified by - GitHub, otherwise represents reason why signature is considered invalid. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: GitSignatureState! + labels: [LabelUpdateInput!] """ - The date the signature was verified, if valid + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - verifiedAt: DateTime + labels: [LabelUpdateInput!] """ - True if the signature was made with GitHub's signing key. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - wasSignedByGitHub: Boolean! -} + labels: [LabelUpdateInput!] -""" -Social media profile associated with a user. -""" -type SocialAccount { """ - Name of the social media account as it appears on the profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - displayName: String! + labels: [LabelUpdateInput!] """ - Software or company that hosts the social media account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - provider: SocialAccountProvider! + labels: [LabelUpdateInput!] """ - URL of the social media account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -The connection type for SocialAccount. -""" -type SocialAccountConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SocialAccountEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SocialAccount] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SocialAccountEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SocialAccount -} + labels: [LabelUpdateInput!] -""" -Software or company that hosts social media accounts. -""" -enum SocialAccountProvider { """ - Decentralized microblogging social platform. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BLUESKY + labels: [LabelUpdateInput!] """ - Social media and networking website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FACEBOOK + labels: [LabelUpdateInput!] """ - Catch-all for social media providers that do not yet have specific handling. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GENERIC + labels: [LabelUpdateInput!] """ - Fork of Mastodon with a greater focus on local posting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HOMETOWN + labels: [LabelUpdateInput!] """ - Social media website with a focus on photo and video sharing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - INSTAGRAM + labels: [LabelUpdateInput!] """ - Professional networking website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LINKEDIN + labels: [LabelUpdateInput!] """ - Open-source federated microblogging service. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MASTODON + labels: [LabelUpdateInput!] """ - JavaScript package registry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NPM + labels: [LabelUpdateInput!] """ - Social news aggregation and discussion website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REDDIT + labels: [LabelUpdateInput!] """ - Live-streaming service. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TWITCH + labels: [LabelUpdateInput!] """ - Microblogging website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TWITTER + labels: [LabelUpdateInput!] """ - Online video platform. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - YOUTUBE -} + labels: [LabelUpdateInput!] -""" -Entities that can sponsor others via GitHub Sponsors -""" -union Sponsor = Organization | User + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -A GitHub account and the total amount in USD they've paid for sponsorships to a -particular maintainer. Does not include payments made via Patreon. -""" -type SponsorAndLifetimeValue { """ - The amount in cents. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - amountInCents: Int! + labels: [LabelUpdateInput!] """ - The amount in USD, formatted as a string. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - formattedAmount: String! + labels: [LabelUpdateInput!] """ - The sponsor's GitHub account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsor: Sponsorable! + labels: [LabelUpdateInput!] """ - The maintainer's GitHub account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorable: Sponsorable! -} + labels: [LabelUpdateInput!] -""" -The connection type for SponsorAndLifetimeValue. -""" -type SponsorAndLifetimeValueConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorAndLifetimeValueEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SponsorAndLifetimeValue] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorAndLifetimeValueEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SponsorAndLifetimeValue -} + labels: [LabelUpdateInput!] -""" -Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. -""" -input SponsorAndLifetimeValueOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order results by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorAndLifetimeValueOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which sponsor and lifetime value connections can be ordered. -""" -enum SponsorAndLifetimeValueOrderField { """ - Order results by how much money the sponsor has paid in total. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LIFETIME_VALUE + labels: [LabelUpdateInput!] """ - Order results by the sponsor's login (username). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SPONSOR_LOGIN + labels: [LabelUpdateInput!] """ - Order results by the sponsor's relevance to the viewer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SPONSOR_RELEVANCE -} + labels: [LabelUpdateInput!] -""" -A list of users and organizations sponsoring someone via GitHub Sponsors. -""" -type SponsorConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Sponsor] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a user or organization who is sponsoring someone in GitHub Sponsors. -""" -type SponsorEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: Sponsor -} + labels: [LabelUpdateInput!] -""" -Ordering options for connections to get sponsor entities for GitHub Sponsors. -""" -input SponsorOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order sponsor entities by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which sponsor connections can be ordered. -""" -enum SponsorOrderField { """ - Order sponsorable entities by login (username). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOGIN + labels: [LabelUpdateInput!] """ - Order sponsors by their relevance to the viewer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RELEVANCE -} + labels: [LabelUpdateInput!] -""" -Entities that can sponsor or be sponsored through GitHub Sponsors. -""" -interface Sponsorable { """ - The estimated next GitHub Sponsors payout for this user/organization in cents (USD). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - estimatedNextSponsorsPayoutInCents: Int! + labels: [LabelUpdateInput!] """ - True if this user/organization has a GitHub Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - hasSponsorsListing: Boolean! + labels: [LabelUpdateInput!] """ - Whether the given account is sponsoring this user/organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isSponsoredBy( - """ - The target account's login. - """ - accountLogin: String! - ): Boolean! + labels: [LabelUpdateInput!] """ - True if the viewer is sponsored by this user/organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isSponsoringViewer: Boolean! + labels: [LabelUpdateInput!] """ - Calculate how much each sponsor has ever paid total to this maintainer via - GitHub Sponsors. Does not include sponsorships paid via Patreon. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lifetimeReceivedSponsorshipValues( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for results returned from the connection. - """ - orderBy: SponsorAndLifetimeValueOrder = {field: SPONSOR_LOGIN, direction: ASC} - ): SponsorAndLifetimeValueConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - monthlyEstimatedSponsorsIncomeInCents: Int! + labels: [LabelUpdateInput!] """ - List of users and organizations this entity is sponsoring. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsoring( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for the users and organizations returned from the connection. - """ - orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} - ): SponsorConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - List of sponsors for this user or organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsors( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for sponsors returned from the connection. - """ - orderBy: SponsorOrder = {field: RELEVANCE, direction: DESC} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If given, will filter for sponsors at the given tier. Will only return - sponsors whose tier the viewer is permitted to see. - """ - tierId: ID - ): SponsorConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Events involving this sponsorable, such as new sponsorships. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsActivities( - """ - Filter activities to only the specified actions. - """ - actions: [SponsorsActivityAction!] = [] + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Whether to include those events where this sponsorable acted as the sponsor. - Defaults to only including events where this sponsorable was the recipient - of a sponsorship. - """ - includeAsSponsor: Boolean = false + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Whether or not to include private activities in the result set. Defaults to including public and private activities. - """ - includePrivate: Boolean = true + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for activity returned from the connection. - """ - orderBy: SponsorsActivityOrder = {field: TIMESTAMP, direction: DESC} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter activities returned to only those that occurred in the most recent - specified time period. Set to ALL to avoid filtering by when the activity - occurred. Will be ignored if `since` or `until` is given. - """ - period: SponsorsActivityPeriod = MONTH + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter activities to those that occurred on or after this time. - """ - since: DateTime + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter activities to those that occurred before this time. - """ - until: DateTime - ): SponsorsActivityConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The GitHub Sponsors listing for this user or organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsListing: SponsorsListing + labels: [LabelUpdateInput!] """ - The sponsorship from the viewer to this user/organization; that is, the sponsorship where you're the sponsor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorshipForViewerAsSponsor( - """ - Whether to return the sponsorship only if it's still active. Pass false to - get the viewer's sponsorship back even if it has been cancelled. - """ - activeOnly: Boolean = true - ): Sponsorship + labels: [LabelUpdateInput!] """ - The sponsorship from this user/organization to the viewer; that is, the sponsorship you're receiving. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorshipForViewerAsSponsorable( - """ - Whether to return the sponsorship only if it's still active. Pass false to - get the sponsorship back even if it has been cancelled. - """ - activeOnly: Boolean = true - ): Sponsorship + labels: [LabelUpdateInput!] """ - List of sponsorship updates sent from this sponsorable to sponsors. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorshipNewsletters( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for sponsorship updates returned from the connection. - """ - orderBy: SponsorshipNewsletterOrder = {field: CREATED_AT, direction: DESC} - ): SponsorshipNewsletterConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The sponsorships where this user or organization is the maintainer receiving the funds. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorshipsAsMaintainer( - """ - Whether to include only sponsorships that are active right now, versus all - sponsorships this maintainer has ever received. - """ - activeOnly: Boolean = true + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Whether or not to include private sponsorships in the result set - """ - includePrivate: Boolean = false + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for sponsorships returned from this connection. If left - blank, the sponsorships will be ordered based on relevancy to the viewer. - """ - orderBy: SponsorshipOrder - ): SponsorshipConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The sponsorships where this user or organization is the funder. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorshipsAsSponsor( - """ - Whether to include only sponsorships that are active right now, versus all sponsorships this sponsor has ever made. - """ - activeOnly: Boolean = true + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter sponsorships returned to those for the specified maintainers. That - is, the recipient of the sponsorship is a user or organization with one of - the given logins. - """ - maintainerLogins: [String!] + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for sponsorships returned from this connection. If left - blank, the sponsorships will be ordered based on relevancy to the viewer. - """ - orderBy: SponsorshipOrder - ): SponsorshipConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The amount in United States cents (e.g., 500 = $5.00 USD) that this entity has - spent on GitHub to fund sponsorships. Only returns a value when viewed by the - user themselves or by a user who can manage sponsorships for the requested organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalSponsorshipAmountAsSponsorInCents( - """ - Filter payments to those that occurred on or after this time. - """ - since: DateTime + labels: [LabelUpdateInput!] - """ - Filter payments to those made to the users or organizations with the specified usernames. - """ - sponsorableLogins: [String!] = [] + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter payments to those that occurred before this time. - """ - until: DateTime - ): Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Whether or not the viewer is able to sponsor this user/organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanSponsor: Boolean! + labels: [LabelUpdateInput!] """ - True if the viewer is sponsoring this user/organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerIsSponsoring: Boolean! -} + labels: [LabelUpdateInput!] -""" -Entities that can be sponsored via GitHub Sponsors -""" -union SponsorableItem = Organization | User + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -The connection type for SponsorableItem. -""" -type SponsorableItemConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorableItemEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SponsorableItem] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorableItemEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SponsorableItem -} + labels: [LabelUpdateInput!] -""" -Ordering options for connections to get sponsorable entities for GitHub Sponsors. -""" -input SponsorableOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order sponsorable entities by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorableOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which sponsorable connections can be ordered. -""" -enum SponsorableOrderField { """ - Order sponsorable entities by login (username). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOGIN -} + labels: [LabelUpdateInput!] -""" -An event related to sponsorship activity. -""" -type SponsorsActivity implements Node { """ - What action this activity indicates took place. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: SponsorsActivityAction! + labels: [LabelUpdateInput!] """ - The sponsor's current privacy level. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - currentPrivacyLevel: SponsorshipPrivacy + labels: [LabelUpdateInput!] """ - The Node ID of the SponsorsActivity object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The platform that was used to pay for the sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - paymentSource: SponsorshipPaymentSource + labels: [LabelUpdateInput!] """ - The tier that the sponsorship used to use, for tier change events. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - previousSponsorsTier: SponsorsTier + labels: [LabelUpdateInput!] """ - The user or organization who triggered this activity and was/is sponsoring the sponsorable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsor: Sponsor + labels: [LabelUpdateInput!] """ - The user or organization that is being sponsored, the maintainer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorable: Sponsorable! + labels: [LabelUpdateInput!] """ - The associated sponsorship tier. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsTier: SponsorsTier + labels: [LabelUpdateInput!] """ - The timestamp of this event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - timestamp: DateTime + labels: [LabelUpdateInput!] """ - Was this sponsorship made alongside other sponsorships at the same time from the same sponsor? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viaBulkSponsorship: Boolean! -} + labels: [LabelUpdateInput!] -""" -The possible actions that GitHub Sponsors activities can represent. -""" -enum SponsorsActivityAction { """ - The activity was cancelling a sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CANCELLED_SPONSORSHIP + labels: [LabelUpdateInput!] """ - The activity was starting a sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NEW_SPONSORSHIP + labels: [LabelUpdateInput!] """ - The activity was scheduling a downgrade or cancellation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PENDING_CHANGE + labels: [LabelUpdateInput!] """ - The activity was funds being refunded to the sponsor or GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REFUND + labels: [LabelUpdateInput!] """ - The activity was disabling matching for a previously matched sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SPONSOR_MATCH_DISABLED + labels: [LabelUpdateInput!] """ - The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TIER_CHANGE -} + labels: [LabelUpdateInput!] -""" -The connection type for SponsorsActivity. -""" -type SponsorsActivityConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorsActivityEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SponsorsActivity] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorsActivityEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SponsorsActivity -} + labels: [LabelUpdateInput!] -""" -Ordering options for GitHub Sponsors activity connections. -""" -input SponsorsActivityOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order activity by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorsActivityOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which GitHub Sponsors activity connections can be ordered. -""" -enum SponsorsActivityOrderField { """ - Order activities by when they happened. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TIMESTAMP -} + labels: [LabelUpdateInput!] -""" -The possible time periods for which Sponsors activities can be requested. -""" -enum SponsorsActivityPeriod { """ - Don't restrict the activity to any date range, include all activity. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ALL + labels: [LabelUpdateInput!] """ - The previous calendar day. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DAY + labels: [LabelUpdateInput!] """ - The previous thirty days. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MONTH + labels: [LabelUpdateInput!] """ - The previous seven days. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WEEK -} + labels: [LabelUpdateInput!] -""" -Represents countries or regions for billing and residence for a GitHub Sponsors profile. -""" -enum SponsorsCountryOrRegionCode { """ - Andorra + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AD + labels: [LabelUpdateInput!] """ - United Arab Emirates + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AE + labels: [LabelUpdateInput!] """ - Afghanistan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AF + labels: [LabelUpdateInput!] """ - Antigua and Barbuda + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AG + labels: [LabelUpdateInput!] """ - Anguilla + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AI + labels: [LabelUpdateInput!] """ - Albania + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AL + labels: [LabelUpdateInput!] """ - Armenia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AM + labels: [LabelUpdateInput!] """ - Angola + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AO + labels: [LabelUpdateInput!] """ - Antarctica + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AQ + labels: [LabelUpdateInput!] """ - Argentina + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AR + labels: [LabelUpdateInput!] """ - American Samoa + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AS + labels: [LabelUpdateInput!] """ - Austria + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AT + labels: [LabelUpdateInput!] """ - Australia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AU + labels: [LabelUpdateInput!] """ - Aruba + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AW + labels: [LabelUpdateInput!] """ - Åland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AX + labels: [LabelUpdateInput!] """ - Azerbaijan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - AZ + labels: [LabelUpdateInput!] """ - Bosnia and Herzegovina + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BA + labels: [LabelUpdateInput!] """ - Barbados + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BB + labels: [LabelUpdateInput!] """ - Bangladesh + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BD + labels: [LabelUpdateInput!] """ - Belgium + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BE + labels: [LabelUpdateInput!] """ - Burkina Faso + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BF + labels: [LabelUpdateInput!] """ - Bulgaria + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BG + labels: [LabelUpdateInput!] """ - Bahrain + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BH + labels: [LabelUpdateInput!] """ - Burundi + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BI + labels: [LabelUpdateInput!] """ - Benin + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BJ + labels: [LabelUpdateInput!] """ - Saint Barthélemy + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BL + labels: [LabelUpdateInput!] """ - Bermuda + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BM + labels: [LabelUpdateInput!] """ - Brunei Darussalam + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BN + labels: [LabelUpdateInput!] """ - Bolivia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BO + labels: [LabelUpdateInput!] """ - Bonaire, Sint Eustatius and Saba + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BQ + labels: [LabelUpdateInput!] """ - Brazil + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BR + labels: [LabelUpdateInput!] """ - Bahamas + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BS + labels: [LabelUpdateInput!] """ - Bhutan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BT + labels: [LabelUpdateInput!] """ - Bouvet Island + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BV + labels: [LabelUpdateInput!] """ - Botswana + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BW + labels: [LabelUpdateInput!] """ - Belarus + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BY + labels: [LabelUpdateInput!] """ - Belize + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BZ + labels: [LabelUpdateInput!] """ - Canada + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CA + labels: [LabelUpdateInput!] """ - Cocos (Keeling) Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CC + labels: [LabelUpdateInput!] """ - Congo (Kinshasa) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CD + labels: [LabelUpdateInput!] """ - Central African Republic + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CF + labels: [LabelUpdateInput!] """ - Congo (Brazzaville) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CG + labels: [LabelUpdateInput!] """ - Switzerland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CH + labels: [LabelUpdateInput!] """ - Côte d'Ivoire + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CI + labels: [LabelUpdateInput!] """ - Cook Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CK + labels: [LabelUpdateInput!] """ - Chile + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CL + labels: [LabelUpdateInput!] """ - Cameroon + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CM + labels: [LabelUpdateInput!] """ - China + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CN + labels: [LabelUpdateInput!] """ - Colombia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CO + labels: [LabelUpdateInput!] """ - Costa Rica + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CR + labels: [LabelUpdateInput!] """ - Cape Verde + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CV + labels: [LabelUpdateInput!] """ - Curaçao + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CW + labels: [LabelUpdateInput!] """ - Christmas Island + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CX + labels: [LabelUpdateInput!] """ - Cyprus + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CY + labels: [LabelUpdateInput!] """ - Czech Republic + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CZ + labels: [LabelUpdateInput!] """ - Germany + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DE + labels: [LabelUpdateInput!] """ - Djibouti + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DJ + labels: [LabelUpdateInput!] """ - Denmark + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DK + labels: [LabelUpdateInput!] """ - Dominica + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DM + labels: [LabelUpdateInput!] """ - Dominican Republic + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DO + labels: [LabelUpdateInput!] """ - Algeria + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DZ + labels: [LabelUpdateInput!] """ - Ecuador + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EC + labels: [LabelUpdateInput!] """ - Estonia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EE + labels: [LabelUpdateInput!] """ - Egypt + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EG + labels: [LabelUpdateInput!] """ - Western Sahara + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EH + labels: [LabelUpdateInput!] """ - Eritrea + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ER + labels: [LabelUpdateInput!] """ - Spain + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ES + labels: [LabelUpdateInput!] """ - Ethiopia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ET + labels: [LabelUpdateInput!] """ - Finland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FI + labels: [LabelUpdateInput!] """ - Fiji + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FJ + labels: [LabelUpdateInput!] """ - Falkland Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FK + labels: [LabelUpdateInput!] """ - Micronesia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FM + labels: [LabelUpdateInput!] """ - Faroe Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FO + labels: [LabelUpdateInput!] """ - France + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FR + labels: [LabelUpdateInput!] """ - Gabon + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GA + labels: [LabelUpdateInput!] """ - United Kingdom + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GB + labels: [LabelUpdateInput!] """ - Grenada + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GD + labels: [LabelUpdateInput!] """ - Georgia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GE + labels: [LabelUpdateInput!] """ - French Guiana + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GF + labels: [LabelUpdateInput!] """ - Guernsey + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GG + labels: [LabelUpdateInput!] """ - Ghana + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GH + labels: [LabelUpdateInput!] """ - Gibraltar + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GI + labels: [LabelUpdateInput!] """ - Greenland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GL + labels: [LabelUpdateInput!] """ - Gambia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GM + labels: [LabelUpdateInput!] """ - Guinea + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GN + labels: [LabelUpdateInput!] """ - Guadeloupe + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GP + labels: [LabelUpdateInput!] """ - Equatorial Guinea + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GQ + labels: [LabelUpdateInput!] """ - Greece + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GR + labels: [LabelUpdateInput!] """ - South Georgia and South Sandwich Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GS + labels: [LabelUpdateInput!] """ - Guatemala + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GT + labels: [LabelUpdateInput!] """ - Guam + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GU + labels: [LabelUpdateInput!] """ - Guinea-Bissau + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GW + labels: [LabelUpdateInput!] """ - Guyana + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GY + labels: [LabelUpdateInput!] """ - Hong Kong + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HK + labels: [LabelUpdateInput!] """ - Heard and McDonald Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HM + labels: [LabelUpdateInput!] """ - Honduras + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HN + labels: [LabelUpdateInput!] """ - Croatia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HR + labels: [LabelUpdateInput!] """ - Haiti + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HT + labels: [LabelUpdateInput!] """ - Hungary + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - HU + labels: [LabelUpdateInput!] """ - Indonesia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ID + labels: [LabelUpdateInput!] """ - Ireland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IE + labels: [LabelUpdateInput!] """ - Israel + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IL + labels: [LabelUpdateInput!] """ - Isle of Man + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IM + labels: [LabelUpdateInput!] """ - India + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IN + labels: [LabelUpdateInput!] """ - British Indian Ocean Territory + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IO + labels: [LabelUpdateInput!] """ - Iraq + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IQ + labels: [LabelUpdateInput!] """ - Iran + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IR + labels: [LabelUpdateInput!] """ - Iceland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IS + labels: [LabelUpdateInput!] """ - Italy + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IT + labels: [LabelUpdateInput!] """ - Jersey + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - JE + labels: [LabelUpdateInput!] """ - Jamaica + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - JM + labels: [LabelUpdateInput!] """ - Jordan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - JO + labels: [LabelUpdateInput!] """ - Japan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - JP + labels: [LabelUpdateInput!] """ - Kenya + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KE + labels: [LabelUpdateInput!] """ - Kyrgyzstan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KG + labels: [LabelUpdateInput!] """ - Cambodia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KH + labels: [LabelUpdateInput!] """ - Kiribati + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KI + labels: [LabelUpdateInput!] """ - Comoros + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KM + labels: [LabelUpdateInput!] """ - Saint Kitts and Nevis + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KN + labels: [LabelUpdateInput!] """ - Korea, South + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KR + labels: [LabelUpdateInput!] """ - Kuwait + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KW + labels: [LabelUpdateInput!] """ - Cayman Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KY + labels: [LabelUpdateInput!] """ - Kazakhstan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - KZ + labels: [LabelUpdateInput!] """ - Laos + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LA + labels: [LabelUpdateInput!] """ - Lebanon + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LB + labels: [LabelUpdateInput!] """ - Saint Lucia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LC + labels: [LabelUpdateInput!] """ - Liechtenstein + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LI + labels: [LabelUpdateInput!] """ - Sri Lanka + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LK + labels: [LabelUpdateInput!] """ - Liberia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LR + labels: [LabelUpdateInput!] """ - Lesotho + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LS + labels: [LabelUpdateInput!] """ - Lithuania + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LT + labels: [LabelUpdateInput!] """ - Luxembourg + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LU + labels: [LabelUpdateInput!] """ - Latvia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LV + labels: [LabelUpdateInput!] """ - Libya + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LY + labels: [LabelUpdateInput!] """ - Morocco + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MA + labels: [LabelUpdateInput!] """ - Monaco + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MC + labels: [LabelUpdateInput!] """ - Moldova + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MD + labels: [LabelUpdateInput!] """ - Montenegro + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ME + labels: [LabelUpdateInput!] """ - Saint Martin (French part) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MF + labels: [LabelUpdateInput!] """ - Madagascar + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MG + labels: [LabelUpdateInput!] """ - Marshall Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MH + labels: [LabelUpdateInput!] """ - Macedonia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MK + labels: [LabelUpdateInput!] """ - Mali + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ML + labels: [LabelUpdateInput!] """ - Myanmar + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MM + labels: [LabelUpdateInput!] """ - Mongolia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MN + labels: [LabelUpdateInput!] """ - Macau + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MO + labels: [LabelUpdateInput!] """ - Northern Mariana Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MP + labels: [LabelUpdateInput!] """ - Martinique + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MQ + labels: [LabelUpdateInput!] """ - Mauritania + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MR + labels: [LabelUpdateInput!] """ - Montserrat + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MS + labels: [LabelUpdateInput!] """ - Malta + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MT + labels: [LabelUpdateInput!] """ - Mauritius + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MU + labels: [LabelUpdateInput!] """ - Maldives + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MV + labels: [LabelUpdateInput!] """ - Malawi + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MW + labels: [LabelUpdateInput!] """ - Mexico + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MX + labels: [LabelUpdateInput!] """ - Malaysia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MY + labels: [LabelUpdateInput!] """ - Mozambique + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MZ + labels: [LabelUpdateInput!] """ - Namibia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NA + labels: [LabelUpdateInput!] """ - New Caledonia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NC + labels: [LabelUpdateInput!] """ - Niger + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NE + labels: [LabelUpdateInput!] """ - Norfolk Island + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NF + labels: [LabelUpdateInput!] """ - Nigeria + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NG + labels: [LabelUpdateInput!] """ - Nicaragua + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NI + labels: [LabelUpdateInput!] """ - Netherlands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NL + labels: [LabelUpdateInput!] """ - Norway + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NO + labels: [LabelUpdateInput!] """ - Nepal + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NP + labels: [LabelUpdateInput!] """ - Nauru + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NR + labels: [LabelUpdateInput!] """ - Niue + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NU + labels: [LabelUpdateInput!] """ - New Zealand + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NZ + labels: [LabelUpdateInput!] """ - Oman + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - OM + labels: [LabelUpdateInput!] """ - Panama + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PA + labels: [LabelUpdateInput!] """ - Peru + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PE + labels: [LabelUpdateInput!] """ - French Polynesia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PF + labels: [LabelUpdateInput!] """ - Papua New Guinea + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PG + labels: [LabelUpdateInput!] """ - Philippines + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PH + labels: [LabelUpdateInput!] """ - Pakistan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PK + labels: [LabelUpdateInput!] """ - Poland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PL + labels: [LabelUpdateInput!] """ - Saint Pierre and Miquelon + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PM + labels: [LabelUpdateInput!] """ - Pitcairn + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PN + labels: [LabelUpdateInput!] """ - Puerto Rico + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PR + labels: [LabelUpdateInput!] """ - Palestine + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PS + labels: [LabelUpdateInput!] """ - Portugal + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PT + labels: [LabelUpdateInput!] """ - Palau + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PW + labels: [LabelUpdateInput!] """ - Paraguay + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PY + labels: [LabelUpdateInput!] """ - Qatar + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - QA + labels: [LabelUpdateInput!] """ - Reunion + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RE + labels: [LabelUpdateInput!] """ - Romania + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RO + labels: [LabelUpdateInput!] """ - Serbia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RS + labels: [LabelUpdateInput!] """ - Russian Federation + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RU + labels: [LabelUpdateInput!] """ - Rwanda + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - RW + labels: [LabelUpdateInput!] """ - Saudi Arabia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SA + labels: [LabelUpdateInput!] """ - Solomon Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SB + labels: [LabelUpdateInput!] """ - Seychelles + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SC + labels: [LabelUpdateInput!] """ - Sudan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SD + labels: [LabelUpdateInput!] """ - Sweden + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SE + labels: [LabelUpdateInput!] """ - Singapore + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SG + labels: [LabelUpdateInput!] """ - Saint Helena + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SH + labels: [LabelUpdateInput!] """ - Slovenia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SI + labels: [LabelUpdateInput!] """ - Svalbard and Jan Mayen Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SJ + labels: [LabelUpdateInput!] """ - Slovakia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SK + labels: [LabelUpdateInput!] """ - Sierra Leone + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SL + labels: [LabelUpdateInput!] """ - San Marino + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SM + labels: [LabelUpdateInput!] """ - Senegal + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SN + labels: [LabelUpdateInput!] """ - Somalia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SO + labels: [LabelUpdateInput!] """ - Suriname + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SR + labels: [LabelUpdateInput!] """ - South Sudan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SS + labels: [LabelUpdateInput!] """ - Sao Tome and Principe + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ST + labels: [LabelUpdateInput!] """ - El Salvador + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SV + labels: [LabelUpdateInput!] """ - Sint Maarten (Dutch part) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SX + labels: [LabelUpdateInput!] """ - Swaziland + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SZ + labels: [LabelUpdateInput!] """ - Turks and Caicos Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TC + labels: [LabelUpdateInput!] """ - Chad + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TD + labels: [LabelUpdateInput!] """ - French Southern Lands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TF + labels: [LabelUpdateInput!] """ - Togo + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TG + labels: [LabelUpdateInput!] """ - Thailand + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TH + labels: [LabelUpdateInput!] """ - Tajikistan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TJ + labels: [LabelUpdateInput!] """ - Tokelau + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TK + labels: [LabelUpdateInput!] """ - Timor-Leste + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TL + labels: [LabelUpdateInput!] """ - Turkmenistan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TM + labels: [LabelUpdateInput!] """ - Tunisia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TN + labels: [LabelUpdateInput!] """ - Tonga + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TO + labels: [LabelUpdateInput!] """ - Türkiye + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TR + labels: [LabelUpdateInput!] """ - Trinidad and Tobago + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TT + labels: [LabelUpdateInput!] """ - Tuvalu + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TV + labels: [LabelUpdateInput!] """ - Taiwan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TW + labels: [LabelUpdateInput!] """ - Tanzania + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TZ + labels: [LabelUpdateInput!] """ - Ukraine + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UA + labels: [LabelUpdateInput!] """ - Uganda + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UG + labels: [LabelUpdateInput!] """ - United States Minor Outlying Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UM + labels: [LabelUpdateInput!] """ - United States of America + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - US + labels: [LabelUpdateInput!] """ - Uruguay + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UY + labels: [LabelUpdateInput!] """ - Uzbekistan + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UZ + labels: [LabelUpdateInput!] """ - Vatican City + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VA + labels: [LabelUpdateInput!] """ - Saint Vincent and the Grenadines + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VC + labels: [LabelUpdateInput!] """ - Venezuela + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VE + labels: [LabelUpdateInput!] """ - Virgin Islands, British + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VG + labels: [LabelUpdateInput!] """ - Virgin Islands, U.S. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VI + labels: [LabelUpdateInput!] """ - Vietnam + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VN + labels: [LabelUpdateInput!] """ - Vanuatu + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VU + labels: [LabelUpdateInput!] """ - Wallis and Futuna Islands + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WF + labels: [LabelUpdateInput!] """ - Samoa + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - WS + labels: [LabelUpdateInput!] """ - Yemen + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - YE + labels: [LabelUpdateInput!] """ - Mayotte + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - YT + labels: [LabelUpdateInput!] """ - South Africa + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ZA + labels: [LabelUpdateInput!] """ - Zambia + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ZM + labels: [LabelUpdateInput!] """ - Zimbabwe + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ZW -} + labels: [LabelUpdateInput!] -""" -A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain. -""" -type SponsorsGoal { """ - A description of the goal from the maintainer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - What the objective of this goal is. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - kind: SponsorsGoalKind! + labels: [LabelUpdateInput!] """ - The percentage representing how complete this goal is, between 0-100. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - percentComplete: Int! + labels: [LabelUpdateInput!] """ - What the goal amount is. Represents an amount in USD for monthly sponsorship - amount goals. Represents a count of unique sponsors for total sponsors count goals. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - targetValue: Int! + labels: [LabelUpdateInput!] """ - A brief summary of the kind and target value of this goal. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - title: String! -} + labels: [LabelUpdateInput!] -""" -The different kinds of goals a GitHub Sponsors member can have. -""" -enum SponsorsGoalKind { """ - The goal is about getting a certain amount in USD from sponsorships each month. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MONTHLY_SPONSORSHIP_AMOUNT + labels: [LabelUpdateInput!] """ - The goal is about reaching a certain number of sponsors. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TOTAL_SPONSORS_COUNT -} + labels: [LabelUpdateInput!] -""" -A GitHub Sponsors listing. -""" -type SponsorsListing implements Node { """ - The current goal the maintainer is trying to reach with GitHub Sponsors, if any. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - activeGoal: SponsorsGoal + labels: [LabelUpdateInput!] """ - The Stripe Connect account currently in use for payouts for this Sponsors - listing, if any. Will only return a value when queried by the maintainer - themselves, or by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - activeStripeConnectAccount: StripeConnectAccount + labels: [LabelUpdateInput!] """ - The name of the country or region with the maintainer's bank account or fiscal - host. Will only return a value when queried by the maintainer themselves, or - by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - billingCountryOrRegion: String + labels: [LabelUpdateInput!] """ - The email address used by GitHub to contact the sponsorable about their GitHub - Sponsors profile. Will only return a value when queried by the maintainer - themselves, or by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - contactEmailAddress: String + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP path for the Sponsors dashboard for this Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dashboardResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for the Sponsors dashboard for this Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dashboardUrl: URI! + labels: [LabelUpdateInput!] """ - The records featured on the GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - featuredItems( - """ - The types of featured items to return. - """ - featureableTypes: [SponsorsListingFeaturedItemFeatureableType!] = [REPOSITORY, USER] - ): [SponsorsListingFeaturedItem!]! + labels: [LabelUpdateInput!] """ - The fiscal host used for payments, if any. Will only return a value when - queried by the maintainer themselves, or by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fiscalHost: Organization + labels: [LabelUpdateInput!] """ - The full description of the listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fullDescription: String! + labels: [LabelUpdateInput!] """ - The full description of the listing rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fullDescriptionHTML: HTML! + labels: [LabelUpdateInput!] """ - The Node ID of the SponsorsListing object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether this listing is publicly visible. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPublic: Boolean! + labels: [LabelUpdateInput!] """ - The listing's full name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - A future date on which this listing is eligible to receive a payout. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nextPayoutDate: Date + labels: [LabelUpdateInput!] """ - The name of the country or region where the maintainer resides. Will only - return a value when queried by the maintainer themselves, or by an admin of - the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - residenceCountryOrRegion: String + labels: [LabelUpdateInput!] """ - The HTTP path for this Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - The short description of the listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - shortDescription: String! + labels: [LabelUpdateInput!] """ - The short name of the listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - slug: String! + labels: [LabelUpdateInput!] """ - The entity this listing represents who can be sponsored on GitHub Sponsors. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorable: Sponsorable! + labels: [LabelUpdateInput!] """ - The tiers for this GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tiers( - """ - 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 - - """ - Whether to include tiers that aren't published. Only admins of the Sponsors - listing can see draft tiers. Only admins of the Sponsors listing and viewers - who are currently sponsoring on a retired tier can see those retired tiers. - Defaults to including only published tiers, which are visible to anyone who - can see the GitHub Sponsors profile. - """ - includeUnpublished: Boolean = false - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for Sponsors tiers returned from the connection. - """ - orderBy: SponsorsTierOrder = {field: MONTHLY_PRICE_IN_CENTS, direction: ASC} - ): SponsorsTierConnection + labels: [LabelUpdateInput!] """ - The HTTP URL for this Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} - -""" -A record that can be featured on a GitHub Sponsors profile. -""" -union SponsorsListingFeatureableItem = Repository | User + labels: [LabelUpdateInput!] -""" -A record that is promoted on a GitHub Sponsors profile. -""" -type SponsorsListingFeaturedItem implements Node { """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Will either be a description from the sponsorable maintainer about why they - featured this item, or the item's description itself, such as a user's bio - from their GitHub profile page. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - The record that is featured on the GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - featureable: SponsorsListingFeatureableItem! + labels: [LabelUpdateInput!] """ - The Node ID of the SponsorsListingFeaturedItem object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The position of this featured item on the GitHub Sponsors profile with a lower - position indicating higher precedence. Starts at 1. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - position: Int! + labels: [LabelUpdateInput!] """ - The GitHub Sponsors profile that features this record. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsListing: SponsorsListing! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -The different kinds of records that can be featured on a GitHub Sponsors profile page. -""" -enum SponsorsListingFeaturedItemFeatureableType { """ - A repository owned by the user or organization with the GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - REPOSITORY + labels: [LabelUpdateInput!] """ - A user who belongs to the organization with the GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - USER -} + labels: [LabelUpdateInput!] -""" -A GitHub Sponsors tier associated with a GitHub Sponsors listing. -""" -type SponsorsTier implements Node { """ - SponsorsTier information only visible to users that can administer the associated Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - adminInfo: SponsorsTierAdminInfo + labels: [LabelUpdateInput!] """ - Get a different tier for this tier's maintainer that is at the same frequency - as this tier but with an equal or lesser cost. Returns the published tier with - the monthly price closest to this tier's without going over. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - closestLesserValueTier: SponsorsTier + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The description of the tier. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String! + labels: [LabelUpdateInput!] """ - The tier description rendered to HTML + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - descriptionHTML: HTML! + labels: [LabelUpdateInput!] """ - The Node ID of the SponsorsTier object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether this tier was chosen at checkout time by the sponsor rather than - defined ahead of time by the maintainer who manages the Sponsors listing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isCustomAmount: Boolean! + labels: [LabelUpdateInput!] """ - Whether this tier is only for use with one-time sponsorships. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isOneTime: Boolean! + labels: [LabelUpdateInput!] """ - How much this tier costs per month in cents. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - monthlyPriceInCents: Int! + labels: [LabelUpdateInput!] """ - How much this tier costs per month in USD. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - monthlyPriceInDollars: Int! + labels: [LabelUpdateInput!] """ - The name of the tier. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - The sponsors listing that this tier belongs to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsListing: SponsorsListing! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -SponsorsTier information only visible to users that can administer the associated Sponsors listing. -""" -type SponsorsTierAdminInfo { """ - Indicates whether this tier is still a work in progress by the sponsorable and - not yet published to the associated GitHub Sponsors profile. Draft tiers - cannot be used for new sponsorships and will not be in use on existing - sponsorships. Draft tiers cannot be seen by anyone but the admins of the - GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isDraft: Boolean! + labels: [LabelUpdateInput!] """ - Indicates whether this tier is published to the associated GitHub Sponsors - profile. Published tiers are visible to anyone who can see the GitHub Sponsors - profile, and are available for use in sponsorships if the GitHub Sponsors - profile is publicly visible. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPublished: Boolean! + labels: [LabelUpdateInput!] """ - Indicates whether this tier has been retired from the associated GitHub - Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors - profile and cannot be chosen for new sponsorships. Existing sponsorships may - still use retired tiers if the sponsor selected the tier before it was retired. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isRetired: Boolean! + labels: [LabelUpdateInput!] """ - The sponsorships using this tier. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorships( - """ - 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 - - """ - Whether or not to return private sponsorships using this tier. Defaults to - only returning public sponsorships on this tier. - """ - includePrivate: Boolean = false - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Ordering options for sponsorships returned from this connection. If left - blank, the sponsorships will be ordered based on relevancy to the viewer. - """ - orderBy: SponsorshipOrder - ): SponsorshipConnection! -} + labels: [LabelUpdateInput!] -""" -The connection type for SponsorsTier. -""" -type SponsorsTierConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorsTierEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SponsorsTier] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorsTierEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SponsorsTier -} + labels: [LabelUpdateInput!] -""" -Ordering options for Sponsors tiers connections. -""" -input SponsorsTierOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order tiers by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorsTierOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which Sponsors tiers connections can be ordered. -""" -enum SponsorsTierOrderField { """ - Order tiers by creation time. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT + labels: [LabelUpdateInput!] """ - Order tiers by their monthly price in cents + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MONTHLY_PRICE_IN_CENTS -} + labels: [LabelUpdateInput!] -""" -A sponsorship relationship between a sponsor and a maintainer -""" -type Sponsorship implements Node { """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the Sponsorship object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the sponsorship is active. False implies the sponsor is a past sponsor - of the maintainer, while true implies they are a current sponsor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isActive: Boolean! + labels: [LabelUpdateInput!] """ - Whether this sponsorship represents a one-time payment versus a recurring sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isOneTimePayment: Boolean! + labels: [LabelUpdateInput!] """ - Whether the sponsor has chosen to receive sponsorship update emails sent from - the sponsorable. Only returns a non-null value when the viewer has permission to know this. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isSponsorOptedIntoEmail: Boolean + labels: [LabelUpdateInput!] """ - The entity that is being sponsored + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - maintainer: User! @deprecated(reason: "`Sponsorship.maintainer` will be removed. Use `Sponsorship.sponsorable` instead. Removal on 2020-04-01 UTC.") + labels: [LabelUpdateInput!] """ - The platform that was most recently used to pay for the sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - paymentSource: SponsorshipPaymentSource + labels: [LabelUpdateInput!] """ - The privacy level for this sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - privacyLevel: SponsorshipPrivacy! + labels: [LabelUpdateInput!] """ - The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsor: User @deprecated(reason: "`Sponsorship.sponsor` will be removed. Use `Sponsorship.sponsorEntity` instead. Removal on 2020-10-01 UTC.") + labels: [LabelUpdateInput!] """ - The user or organization that is sponsoring, if you have permission to view them. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorEntity: Sponsor + labels: [LabelUpdateInput!] """ - The entity that is being sponsored + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorable: Sponsorable! + labels: [LabelUpdateInput!] """ - The associated sponsorship tier + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tier: SponsorsTier + labels: [LabelUpdateInput!] """ - Identifies the date and time when the current tier was chosen for this sponsorship. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tierSelectedAt: DateTime -} + labels: [LabelUpdateInput!] -""" -A list of sponsorships either from the subject or received by the subject. -""" -type SponsorshipConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorshipEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Sponsorship] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! + labels: [LabelUpdateInput!] """ - The total amount in cents of all recurring sponsorships in the connection - whose amount you can view. Does not include one-time sponsorships. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalRecurringMonthlyPriceInCents: Int! + labels: [LabelUpdateInput!] """ - The total amount in USD of all recurring sponsorships in the connection whose - amount you can view. Does not include one-time sponsorships. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalRecurringMonthlyPriceInDollars: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorshipEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: Sponsorship -} + labels: [LabelUpdateInput!] -""" -An update sent to sponsors of a user or organization on GitHub Sponsors. -""" -type SponsorshipNewsletter implements Node { """ - The author of the newsletter. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - author: User + labels: [LabelUpdateInput!] """ - The contents of the newsletter, the message the sponsorable wanted to give. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the SponsorshipNewsletter object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Indicates if the newsletter has been made available to sponsors. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPublished: Boolean! + labels: [LabelUpdateInput!] """ - The user or organization this newsletter is from. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorable: Sponsorable! + labels: [LabelUpdateInput!] """ - The subject of the newsletter, what it's about. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subject: String! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -The connection type for SponsorshipNewsletter. -""" -type SponsorshipNewsletterConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SponsorshipNewsletterEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [SponsorshipNewsletter] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SponsorshipNewsletterEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: SponsorshipNewsletter -} + labels: [LabelUpdateInput!] -""" -Ordering options for sponsorship newsletter connections. -""" -input SponsorshipNewsletterOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order sponsorship newsletters by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorshipNewsletterOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which sponsorship update connections can be ordered. -""" -enum SponsorshipNewsletterOrderField { """ - Order sponsorship newsletters by when they were created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT -} + labels: [LabelUpdateInput!] -""" -Ordering options for sponsorship connections. -""" -input SponsorshipOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order sponsorship by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: SponsorshipOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which sponsorship connections can be ordered. -""" -enum SponsorshipOrderField { """ - Order sponsorship by creation time. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT -} + labels: [LabelUpdateInput!] -""" -How payment was made for funding a GitHub Sponsors sponsorship. -""" -enum SponsorshipPaymentSource { """ - Payment was made through GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - GITHUB + labels: [LabelUpdateInput!] """ - Payment was made through Patreon. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PATREON -} + labels: [LabelUpdateInput!] -""" -The privacy of a sponsorship -""" -enum SponsorshipPrivacy { """ - Private + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PRIVATE + labels: [LabelUpdateInput!] """ - Public + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUBLIC -} + labels: [LabelUpdateInput!] -""" -The possible default commit messages for squash merges. -""" -enum SquashMergeCommitMessage { """ - Default to a blank commit message. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - BLANK + labels: [LabelUpdateInput!] """ - Default to the branch's commit messages. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMMIT_MESSAGES + labels: [LabelUpdateInput!] """ - Default to the pull request's body. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PR_BODY -} + labels: [LabelUpdateInput!] -""" -The possible default commit titles for squash merges. -""" -enum SquashMergeCommitTitle { """ - Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - COMMIT_OR_PR_TITLE + labels: [LabelUpdateInput!] """ - Default to the pull request's title. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PR_TITLE -} + labels: [LabelUpdateInput!] -""" -Represents an SSH signature on a Commit or Tag. -""" -type SshSignature implements GitSignature { """ - Email used to sign this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - email: String! + labels: [LabelUpdateInput!] """ - True if the signature is valid and verified by GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isValid: Boolean! + labels: [LabelUpdateInput!] """ - Hex-encoded fingerprint of the key that signed this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - keyFingerprint: String + labels: [LabelUpdateInput!] """ - Payload for GPG signing object. Raw ODB object without the signature header. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - payload: String! + labels: [LabelUpdateInput!] """ - ASCII-armored signature header from object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signature: String! + labels: [LabelUpdateInput!] """ - GitHub user corresponding to the email signing this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signer: User + labels: [LabelUpdateInput!] """ - The state of this signature. `VALID` if signature is valid and verified by - GitHub, otherwise represents reason why signature is considered invalid. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: GitSignatureState! + labels: [LabelUpdateInput!] """ - The date the signature was verified, if valid + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - verifiedAt: DateTime + labels: [LabelUpdateInput!] """ - True if the signature was made with GitHub's signing key. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - wasSignedByGitHub: Boolean! -} + labels: [LabelUpdateInput!] -""" -Ways in which star connections can be ordered. -""" -input StarOrder { """ - The direction in which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field in which to order nodes by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: StarOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which star connections can be ordered. -""" -enum StarOrderField { """ - Allows ordering a list of stars by when they were created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - STARRED_AT -} + labels: [LabelUpdateInput!] -""" -The connection type for User. -""" -type StargazerConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [StargazerEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [User] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a user that's starred a repository. -""" -type StargazerEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! - node: User! + labels: [LabelUpdateInput!] """ - Identifies when the item was starred. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - starredAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -Things that can be starred. -""" -interface Starrable { """ - The Node ID of the Starrable object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Returns a count of how many stargazers there are on this object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - stargazerCount: Int! + labels: [LabelUpdateInput!] """ - A list of users who have starred this starrable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - stargazers( - """ - 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 + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Order for connection - """ - orderBy: StarOrder - ): StargazerConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Returns a boolean indicating whether the viewing user has starred this starrable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerHasStarred: Boolean! -} + labels: [LabelUpdateInput!] -""" -The connection type for Repository. -""" -type StarredRepositoryConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [StarredRepositoryEdge] + labels: [LabelUpdateInput!] """ - Is the list of stars for this user truncated? This is true for users that have many stars. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isOverLimit: Boolean! + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Repository] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a starred repository. -""" -type StarredRepositoryEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! - node: Repository! + labels: [LabelUpdateInput!] """ - Identifies when the item was starred. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - starredAt: DateTime! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of StartOrganizationMigration -""" -input StartOrganizationMigrationInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The migration source access token. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sourceAccessToken: String! + labels: [LabelUpdateInput!] """ - The URL of the organization to migrate. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sourceOrgUrl: URI! + labels: [LabelUpdateInput!] """ - The ID of the enterprise the target organization belongs to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - targetEnterpriseId: ID! + labels: [LabelUpdateInput!] """ - The name of the target organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - targetOrgName: String! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of StartOrganizationMigration. -""" -type StartOrganizationMigrationPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The new organization migration. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - orgMigration: OrganizationMigration -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of StartRepositoryMigration -""" -input StartRepositoryMigrationInput { """ - The migration source access token. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - accessToken: String + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - Whether to continue the migration on error. Defaults to `true`. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - continueOnError: Boolean + labels: [LabelUpdateInput!] """ - The signed URL to access the user-uploaded git archive. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - gitArchiveUrl: String + labels: [LabelUpdateInput!] """ - The GitHub personal access token of the user importing to the target repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - githubPat: String + labels: [LabelUpdateInput!] """ - Whether to lock the source repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockSource: Boolean + labels: [LabelUpdateInput!] """ - The signed URL to access the user-uploaded metadata archive. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - metadataArchiveUrl: String + labels: [LabelUpdateInput!] """ - The ID of the organization that will own the imported repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ownerId: ID! + labels: [LabelUpdateInput!] """ - The name of the imported repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: String! + labels: [LabelUpdateInput!] """ - Whether to skip migrating releases for the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - skipReleases: Boolean + labels: [LabelUpdateInput!] """ - The ID of the migration source. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sourceId: ID! + labels: [LabelUpdateInput!] """ - The URL of the source repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sourceRepositoryUrl: URI! + labels: [LabelUpdateInput!] """ - The visibility of the imported repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - targetRepoVisibility: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of StartRepositoryMigration. -""" -type StartRepositoryMigrationPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The new repository migration. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryMigration: RepositoryMigration -} + labels: [LabelUpdateInput!] -""" -Represents a commit status. -""" -type Status implements Node { """ - A list of status contexts and check runs for this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - combinedContexts( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): StatusCheckRollupContextConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The commit this status is attached to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commit: Commit + labels: [LabelUpdateInput!] """ - Looks up an individual status context by context name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context( - """ - The context name. - """ - name: String! - ): StatusContext + labels: [LabelUpdateInput!] """ - The individual status contexts for this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - contexts: [StatusContext!]! + labels: [LabelUpdateInput!] """ - The Node ID of the Status object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The combined commit status. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: StatusState! -} + labels: [LabelUpdateInput!] -""" -Required status check -""" -type StatusCheckConfiguration { """ - The status check context name that must be present on the commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context: String! + labels: [LabelUpdateInput!] """ - The optional integration ID that this status check must originate from. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - integrationId: Int -} + labels: [LabelUpdateInput!] -""" -Required status check -""" -input StatusCheckConfigurationInput { """ - The status check context name that must be present on the commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context: String! + labels: [LabelUpdateInput!] """ - The optional integration ID that this status check must originate from. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - integrationId: Int -} + labels: [LabelUpdateInput!] -""" -Represents the rollup for both the check runs and status for a commit. -""" -type StatusCheckRollup implements Node { """ - The commit the status and check runs are attached to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commit: Commit + labels: [LabelUpdateInput!] """ - A list of status contexts and check runs for this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - contexts( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): StatusCheckRollupContextConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The Node ID of the StatusCheckRollup object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The combined status for the commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: StatusState! -} + labels: [LabelUpdateInput!] -""" -Types that can be inside a StatusCheckRollup context. -""" -union StatusCheckRollupContext = CheckRun | StatusContext + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -The connection type for StatusCheckRollupContext. -""" -type StatusCheckRollupContextConnection { """ - The number of check runs in this rollup. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkRunCount: Int! + labels: [LabelUpdateInput!] """ - Counts of check runs by state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkRunCountsByState: [CheckRunStateCount!] + labels: [LabelUpdateInput!] """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [StatusCheckRollupContextEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [StatusCheckRollupContext] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - The number of status contexts in this rollup. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - statusContextCount: Int! + labels: [LabelUpdateInput!] """ - Counts of status contexts by state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - statusContextCountsByState: [StatusContextStateCount!] + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type StatusCheckRollupContextEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: StatusCheckRollupContext -} + labels: [LabelUpdateInput!] -""" -Represents an individual commit status context -""" -type StatusContext implements Node & RequirableByPullRequest { """ - The avatar of the OAuth application or the user that created the status + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - avatarUrl( - """ - The size of the resulting square image. - """ - size: Int = 40 - ): URI + labels: [LabelUpdateInput!] """ - This commit this status context is attached to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commit: Commit + labels: [LabelUpdateInput!] """ - The name of this status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - context: String! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The actor who created this status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - creator: Actor + labels: [LabelUpdateInput!] """ - The description for this status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - The Node ID of the StatusContext object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether this is required to pass before merging for a specific pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isRequired( - """ - The id of the pull request this is required for - """ - pullRequestId: ID - - """ - The number of the pull request this is required for - """ - pullRequestNumber: Int - ): Boolean! + labels: [LabelUpdateInput!] """ - The state of this status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: StatusState! + labels: [LabelUpdateInput!] """ - The URL for this status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - targetUrl: URI -} + labels: [LabelUpdateInput!] -""" -Represents a count of the state of a status context. -""" -type StatusContextStateCount { """ - The number of statuses with this state. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - count: Int! + labels: [LabelUpdateInput!] """ - The state of a status context. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: StatusState! -} + labels: [LabelUpdateInput!] -""" -The possible commit status states. -""" -enum StatusState { """ - Status is errored. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ERROR + labels: [LabelUpdateInput!] """ - Status is expected. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - EXPECTED + labels: [LabelUpdateInput!] """ - Status is failing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - FAILURE + labels: [LabelUpdateInput!] """ - Status is pending. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PENDING + labels: [LabelUpdateInput!] """ - Status is successful. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUCCESS -} + labels: [LabelUpdateInput!] -""" -A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors. -""" -type StripeConnectAccount { """ - The account number used to identify this Stripe Connect account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - accountId: String! + labels: [LabelUpdateInput!] """ - The name of the country or region of an external account, such as a bank - account, tied to the Stripe Connect account. Will only return a value when - queried by the maintainer of the associated GitHub Sponsors profile - themselves, or by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - billingCountryOrRegion: String + labels: [LabelUpdateInput!] """ - The name of the country or region of the Stripe Connect account. Will only - return a value when queried by the maintainer of the associated GitHub - Sponsors profile themselves, or by an admin of the sponsorable organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - countryOrRegion: String + labels: [LabelUpdateInput!] """ - Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isActive: Boolean! + labels: [LabelUpdateInput!] """ - The GitHub Sponsors profile associated with this Stripe Connect account. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - sponsorsListing: SponsorsListing! + labels: [LabelUpdateInput!] """ - The URL to access this Stripe Connect account on Stripe's website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - stripeDashboardUrl: URI! -} + labels: [LabelUpdateInput!] -""" -Represents a 'sub_issue_added' event on a given issue. -""" -type SubIssueAddedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the SubIssueAddedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The sub-issue added. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subIssue: Issue -} + labels: [LabelUpdateInput!] -""" -Represents a 'sub_issue_removed' event on a given issue. -""" -type SubIssueRemovedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the SubIssueRemovedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The sub-issue removed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subIssue: Issue -} + labels: [LabelUpdateInput!] -""" -Summary of the state of an issue's sub-issues -""" -type SubIssuesSummary { """ - Count of completed sub-issues + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - completed: Int! + labels: [LabelUpdateInput!] """ - Percent of sub-issues which are completed + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - percentCompleted: Int! + labels: [LabelUpdateInput!] """ - Count of total number of sub-issues + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - total: Int! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of SubmitPullRequestReview -""" -input SubmitPullRequestReviewInput { """ - The text field to set on the Pull Request Review. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The event to send to the Pull Request Review. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - event: PullRequestReviewEvent! + labels: [LabelUpdateInput!] """ - The Pull Request ID to submit any pending reviews. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestId: ID + labels: [LabelUpdateInput!] """ - The Pull Request Review ID to submit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestReviewId: ID -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of SubmitPullRequestReview. -""" -type SubmitPullRequestReviewPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The submitted pull request review. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestReview: PullRequestReview -} + labels: [LabelUpdateInput!] -""" -A pointer to a repository at a specific revision embedded inside another repository. -""" -type Submodule { """ - The branch of the upstream submodule for tracking updates + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - branch: String + labels: [LabelUpdateInput!] """ - The git URL of the submodule repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - gitUrl: URI! + labels: [LabelUpdateInput!] """ - The name of the submodule in .gitmodules + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - The name of the submodule in .gitmodules (Base64-encoded) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nameRaw: Base64String! + labels: [LabelUpdateInput!] """ - The path in the superproject that this submodule is located in + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - path: String! + labels: [LabelUpdateInput!] """ - The path in the superproject that this submodule is located in (Base64-encoded) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pathRaw: Base64String! + labels: [LabelUpdateInput!] """ - The commit revision of the subproject repository being tracked by the submodule + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subprojectCommitOid: GitObjectID -} + labels: [LabelUpdateInput!] -""" -The connection type for Submodule. -""" -type SubmoduleConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [SubmoduleEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Submodule] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type SubmoduleEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: Submodule -} + labels: [LabelUpdateInput!] -""" -Entities that can be subscribed to for web and email notifications. -""" -interface Subscribable { """ - The Node ID of the Subscribable object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Check if the viewer is able to change their subscription status for the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanSubscribe: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerSubscription: SubscriptionState -} + labels: [LabelUpdateInput!] -""" -Entities that can be subscribed to for web and email notifications. -""" -interface SubscribableThread { """ - The Node ID of the SubscribableThread object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the viewer's thread subscription form action. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerThreadSubscriptionFormAction: ThreadSubscriptionFormAction + labels: [LabelUpdateInput!] """ - Identifies the viewer's thread subscription status. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerThreadSubscriptionStatus: ThreadSubscriptionState -} + labels: [LabelUpdateInput!] -""" -Represents a 'subscribed' event on a given `Subscribable`. -""" -type SubscribedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the SubscribedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Object referenced by event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subscribable: Subscribable! -} + labels: [LabelUpdateInput!] -""" -The possible states of a subscription. -""" -enum SubscriptionState { """ - The User is never notified. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IGNORED + labels: [LabelUpdateInput!] """ - The User is notified of all conversations. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBED + labels: [LabelUpdateInput!] """ - The User is only notified when participating or @mentioned. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UNSUBSCRIBED -} + labels: [LabelUpdateInput!] -""" -A suggestion to review a pull request based on a user's commit history and review comments. -""" -type SuggestedReviewer { """ - Is this suggestion based on past commits? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isAuthor: Boolean! + labels: [LabelUpdateInput!] """ - Is this suggestion based on past review comments? + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isCommenter: Boolean! + labels: [LabelUpdateInput!] """ - Identifies the user suggested to review the pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewer: User! -} + labels: [LabelUpdateInput!] -""" -Represents a Git tag. -""" -type Tag implements GitObject & Node { """ - An abbreviated version of the Git object ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - abbreviatedOid: String! + labels: [LabelUpdateInput!] """ - The HTTP path for this Git object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for this Git object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitUrl: URI! + labels: [LabelUpdateInput!] """ - The Node ID of the Tag object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The Git tag message. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String + labels: [LabelUpdateInput!] """ - The Git tag name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - The Git object ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - oid: GitObjectID! + labels: [LabelUpdateInput!] """ - The Repository the Git object belongs to + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository! + labels: [LabelUpdateInput!] """ - Details about the tag author. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - tagger: GitActor + labels: [LabelUpdateInput!] """ - The Git object the tag points to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - target: GitObject! -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the tag_name_pattern rule -""" -type TagNamePatternParameters { """ - How this rule will appear to users. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String + labels: [LabelUpdateInput!] """ - If true, the rule will fail if the pattern matches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - negate: Boolean! + labels: [LabelUpdateInput!] """ - The operator to use for matching. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operator: String! + labels: [LabelUpdateInput!] """ - The pattern to match with. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pattern: String! -} + labels: [LabelUpdateInput!] -""" -Parameters to be used for the tag_name_pattern rule -""" -input TagNamePatternParametersInput { """ - How this rule will appear to users. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String + labels: [LabelUpdateInput!] """ - If true, the rule will fail if the pattern matches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - negate: Boolean + labels: [LabelUpdateInput!] """ - The operator to use for matching. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operator: String! + labels: [LabelUpdateInput!] """ - The pattern to match with. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pattern: String! -} + labels: [LabelUpdateInput!] -""" -A team of users in an organization. -""" -type Team implements MemberStatusable & Node & Subscribable { """ - A list of teams that are ancestors of this team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ancestors( - """ - 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 - ): TeamConnection! + labels: [LabelUpdateInput!] """ - A URL pointing to the team's avatar. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - avatarUrl( - """ - The size in pixels of the resulting square image. - """ - size: Int = 400 - ): URI + labels: [LabelUpdateInput!] """ - List of child teams belonging to this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - childTeams( - """ - 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 - - """ - Whether to list immediate child teams or all descendant child teams. - """ - immediateOnly: Boolean = true - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamOrder - - """ - User logins to filter by - """ - userLogins: [String!] - ): TeamConnection! + labels: [LabelUpdateInput!] """ - The slug corresponding to the organization and team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - combinedSlug: String! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The description of the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - Find a team discussion by its number. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussion( - """ - The sequence number of the discussion to find. - """ - number: Int! - ): TeamDiscussion + labels: [LabelUpdateInput!] """ - A list of team discussions. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussions( - """ - 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 - - """ - If provided, filters discussions according to whether or not they are pinned. - """ - isPinned: Boolean - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Order for connection - """ - orderBy: TeamDiscussionOrder - ): TeamDiscussionConnection! + labels: [LabelUpdateInput!] """ - The HTTP path for team discussions + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussionsResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for team discussions + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussionsUrl: URI! + labels: [LabelUpdateInput!] """ - The HTTP path for editing this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - editTeamResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for editing this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - editTeamUrl: URI! + labels: [LabelUpdateInput!] """ - The Node ID of the Team object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - A list of pending invitations for users to this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - invitations( - """ - 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 - ): OrganizationInvitationConnection + labels: [LabelUpdateInput!] """ - Get the status messages members of this entity have set that are either public or visible only to the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - memberStatuses( - """ - 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 + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for user statuses returned from the connection. - """ - orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC} - ): UserStatusConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - A list of users who are members of this team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - members( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter by membership type - """ - membership: TeamMembershipType = ALL + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Order for the connection. - """ - orderBy: TeamMemberOrder + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - The search string to look for. - """ - query: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter by team member role - """ - role: TeamMemberRole - ): TeamMemberConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP path for the team' members + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for the team' members + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersUrl: URI! + labels: [LabelUpdateInput!] """ - The name of the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - The HTTP path creating a new team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - newTeamResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL creating a new team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - newTeamUrl: URI! + labels: [LabelUpdateInput!] """ - The notification setting that the team has set. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - notificationSetting: TeamNotificationSetting! + labels: [LabelUpdateInput!] """ - The organization that owns this team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization! + labels: [LabelUpdateInput!] """ - The parent team of the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeam: Team + labels: [LabelUpdateInput!] """ - The level of privacy the team has. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - privacy: TeamPrivacy! + labels: [LabelUpdateInput!] """ - Finds and returns the project according to the provided project number. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectV2( - """ - The Project number. - """ - number: Int! - ): ProjectV2 + labels: [LabelUpdateInput!] """ - List of projects this team has collaborator access to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectsV2( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filtering options for projects returned from this connection - """ - filterBy: ProjectV2Filters = {} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Filter projects based on user role. - """ - minPermissionLevel: ProjectV2PermissionLevel = READ + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - How to order the returned projects. - """ - orderBy: ProjectV2Order = {field: NUMBER, direction: DESC} + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - The query to search projects by. - """ - query: String = "" - ): ProjectV2Connection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - A list of repositories this team has access to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositories( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Order for the connection. - """ - orderBy: TeamRepositoryOrder + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - The search string to look for. Repositories will be returned where the name contains your search string. - """ - query: String - ): TeamRepositoryConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP path for this team's repositories + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoriesResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for this team's repositories + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoriesUrl: URI! + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - What algorithm is used for review assignment for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewRequestDelegationAlgorithm: TeamReviewAssignmentAlgorithm + labels: [LabelUpdateInput!] """ - True if review assignment is enabled for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewRequestDelegationEnabled: Boolean! + labels: [LabelUpdateInput!] """ - How many team members are required for review assignment for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewRequestDelegationMemberCount: Int + labels: [LabelUpdateInput!] """ - When assigning team members via delegation, whether the entire team should be notified as well. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewRequestDelegationNotifyTeam: Boolean! + labels: [LabelUpdateInput!] """ - The slug corresponding to the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - slug: String! + labels: [LabelUpdateInput!] """ - The HTTP path for this team's teams + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamsResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for this team's teams + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamsUrl: URI! + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! + labels: [LabelUpdateInput!] """ - Team is adminable by the viewer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanAdminister: Boolean! + labels: [LabelUpdateInput!] """ - Check if the viewer is able to change their subscription status for the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanSubscribe: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerSubscription: SubscriptionState -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a team.add_member event. -""" -type TeamAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the TeamAddMemberAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the team was mapped to an LDAP Group. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLdapMapped: Boolean + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a team.add_repository event. -""" -type TeamAddRepositoryAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TeamAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the TeamAddRepositoryAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the team was mapped to an LDAP Group. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLdapMapped: Boolean + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The repository associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository + labels: [LabelUpdateInput!] """ - The name of the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryUrl: URI + labels: [LabelUpdateInput!] """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -Metadata for an audit entry with action team.* -""" -interface TeamAuditEntryData { """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a team.change_parent_team event. -""" -type TeamChangeParentTeamAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the TeamChangeParentTeamAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the team was mapped to an LDAP Group. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLdapMapped: Boolean + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The new parent team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeam: Team + labels: [LabelUpdateInput!] """ - The name of the new parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamName: String + labels: [LabelUpdateInput!] """ - The name of the former parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamNameWas: String + labels: [LabelUpdateInput!] """ - The HTTP path for the parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamUrl: URI + labels: [LabelUpdateInput!] """ - The former parent team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamWas: Team + labels: [LabelUpdateInput!] """ - The HTTP path for the previous parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamWasResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the previous parent team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - parentTeamWasUrl: URI + labels: [LabelUpdateInput!] """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -The connection type for Team. -""" -type TeamConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [TeamEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Team] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -A team discussion. -""" -type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscribable & UniformResourceLocatable & Updatable & UpdatableComment { """ - The actor who authored the comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - author: Actor + labels: [LabelUpdateInput!] """ - Author's association with the discussion's team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - authorAssociation: CommentAuthorAssociation! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The body as Markdown. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String! + labels: [LabelUpdateInput!] """ - The body rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyHTML: HTML! + labels: [LabelUpdateInput!] """ - The body rendered to text. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyText: String! + labels: [LabelUpdateInput!] """ - Identifies the discussion body hash. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyVersion: String! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - A list of comments on this discussion. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - comments( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - When provided, filters the connection such that results begin with the comment with this number. - """ - fromComment: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Order for connection - """ - orderBy: TeamDiscussionCommentOrder - ): TeamDiscussionCommentConnection! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP path for discussion comments + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commentsResourcePath: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The HTTP URL for discussion comments + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commentsUrl: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Check if this comment was created via an email reply. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdViaEmail: Boolean! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The actor who edited the comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - editor: Actor + labels: [LabelUpdateInput!] """ - The Node ID of the TeamDiscussion object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Check if this comment was edited and includes an edit with the creation data + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - includesCreatedEdit: Boolean! + labels: [LabelUpdateInput!] """ - Whether or not the discussion is pinned. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPinned: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Whether or not the discussion is only visible to team members and organization owners. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isPrivate: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The moment the editor made the last edit + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lastEditedAt: DateTime + labels: [LabelUpdateInput!] """ - Identifies the discussion within its team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - number: Int! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies when the comment was published at. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - publishedAt: DateTime + labels: [LabelUpdateInput!] """ - A list of reactions grouped by content left on the subject. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reactionGroups: [ReactionGroup!] + labels: [LabelUpdateInput!] """ - A list of Reactions left on the Issue. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP path for this discussion + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The team that defines the context of this discussion. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The title of the discussion + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - title: String! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP URL for this discussion + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - A list of edits to this content. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userContentEdits( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Check if the current viewer can delete this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanDelete: Boolean! + labels: [LabelUpdateInput!] """ - Whether or not the current viewer can pin this discussion. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanPin: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Can user react to this subject + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanReact: Boolean! + labels: [LabelUpdateInput!] """ - Check if the viewer is able to change their subscription status for the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanSubscribe: Boolean! + labels: [LabelUpdateInput!] """ - Check if the current viewer can update this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanUpdate: Boolean! + labels: [LabelUpdateInput!] """ - Reasons why the current viewer can not update this comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + labels: [LabelUpdateInput!] """ - Did the viewer author this comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerDidAuthor: Boolean! + labels: [LabelUpdateInput!] """ - Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerSubscription: SubscriptionState -} + labels: [LabelUpdateInput!] -""" -A comment on a team discussion. -""" -type TeamDiscussionComment implements Comment & Deletable & Node & Reactable & UniformResourceLocatable & Updatable & UpdatableComment { """ - The actor who authored the comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - author: Actor + labels: [LabelUpdateInput!] """ - Author's association with the comment's team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - authorAssociation: CommentAuthorAssociation! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The body as Markdown. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String! + labels: [LabelUpdateInput!] """ - The body rendered to HTML. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyHTML: HTML! + labels: [LabelUpdateInput!] """ - The body rendered to text. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyText: String! + labels: [LabelUpdateInput!] """ - The current version of the body content. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bodyVersion: String! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - Check if this comment was created via an email reply. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdViaEmail: Boolean! + labels: [LabelUpdateInput!] """ - Identifies the primary key from the database. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - databaseId: Int + labels: [LabelUpdateInput!] """ - The discussion this comment is about. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussion: TeamDiscussion! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - The actor who edited the comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - editor: Actor + labels: [LabelUpdateInput!] """ - The Node ID of the TeamDiscussionComment object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Check if this comment was edited and includes an edit with the creation data + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - includesCreatedEdit: Boolean! + labels: [LabelUpdateInput!] """ - The moment the editor made the last edit + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lastEditedAt: DateTime + labels: [LabelUpdateInput!] """ - Identifies the comment number. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - number: Int! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies when the comment was published at. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - publishedAt: DateTime + labels: [LabelUpdateInput!] """ - A list of reactions grouped by content left on the subject. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reactionGroups: [ReactionGroup!] + labels: [LabelUpdateInput!] """ - A list of Reactions left on the Issue. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reactions( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Allows filtering Reactions by emoji. - """ - content: ReactionContent + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Allows specifying the order in which reactions are returned. - """ - orderBy: ReactionOrder - ): ReactionConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - The HTTP path for this comment + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was last updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - updatedAt: DateTime! + labels: [LabelUpdateInput!] """ - The HTTP URL for this comment + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.") + labels: [LabelUpdateInput!] """ - A list of edits to this content. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userContentEdits( - """ - 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 + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): UserContentEditConnection + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Check if the current viewer can delete this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanDelete: Boolean! + labels: [LabelUpdateInput!] """ - Can user react to this subject + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanReact: Boolean! + labels: [LabelUpdateInput!] """ - Check if the current viewer can update this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanUpdate: Boolean! + labels: [LabelUpdateInput!] """ - Reasons why the current viewer can not update this comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! + labels: [LabelUpdateInput!] """ - Did the viewer author this comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerDidAuthor: Boolean! -} + labels: [LabelUpdateInput!] -""" -The connection type for TeamDiscussionComment. -""" -type TeamDiscussionCommentConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [TeamDiscussionCommentEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [TeamDiscussionComment] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type TeamDiscussionCommentEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: TeamDiscussionComment -} + labels: [LabelUpdateInput!] -""" -Ways in which team discussion comment connections can be ordered. -""" -input TeamDiscussionCommentOrder { """ - The direction in which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field by which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: TeamDiscussionCommentOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which team discussion comment connections can be ordered. -""" -enum TeamDiscussionCommentOrderField { """ - Allows sequential ordering of team discussion comments (which is equivalent to chronological ordering). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NUMBER -} + labels: [LabelUpdateInput!] -""" -The connection type for TeamDiscussion. -""" -type TeamDiscussionConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [TeamDiscussionEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [TeamDiscussion] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type TeamDiscussionEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: TeamDiscussion -} + labels: [LabelUpdateInput!] -""" -Ways in which team discussion connections can be ordered. -""" -input TeamDiscussionOrder { """ - The direction in which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field by which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: TeamDiscussionOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which team discussion connections can be ordered. -""" -enum TeamDiscussionOrderField { """ - Allows chronological ordering of team discussions. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT -} + labels: [LabelUpdateInput!] -""" -An edge in a connection. -""" -type TeamEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The item at the end of the edge. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - node: Team -} + labels: [LabelUpdateInput!] -""" -The connection type for User. -""" -type TeamMemberConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [TeamMemberEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [User] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a user who is a member of a team. -""" -type TeamMemberEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! + labels: [LabelUpdateInput!] """ - The HTTP path to the organization's member access page. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - memberAccessResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL to the organization's member access page. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - memberAccessUrl: URI! - node: User! + labels: [LabelUpdateInput!] """ - The role the member has on the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - role: TeamMemberRole! -} + labels: [LabelUpdateInput!] -""" -Ordering options for team member connections -""" -input TeamMemberOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order team members by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: TeamMemberOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which team member connections can be ordered. -""" -enum TeamMemberOrderField { """ - Order team members by creation time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT + labels: [LabelUpdateInput!] """ - Order team members by login + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOGIN -} + labels: [LabelUpdateInput!] -""" -The possible team member roles; either 'maintainer' or 'member'. -""" -enum TeamMemberRole { """ - A team maintainer has permission to add and remove team members. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MAINTAINER + labels: [LabelUpdateInput!] """ - A team member has no administrative permissions on the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MEMBER -} + labels: [LabelUpdateInput!] -""" -Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. -""" -enum TeamMembershipType { """ - Includes immediate and child team members for the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ALL + labels: [LabelUpdateInput!] """ - Includes only child team members for the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CHILD_TEAM + labels: [LabelUpdateInput!] """ - Includes only immediate members of the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IMMEDIATE -} + labels: [LabelUpdateInput!] -""" -The possible team notification values. -""" -enum TeamNotificationSetting { """ - No one will receive notifications. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NOTIFICATIONS_DISABLED + labels: [LabelUpdateInput!] """ - Everyone will receive notifications when the team is @mentioned. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NOTIFICATIONS_ENABLED -} + labels: [LabelUpdateInput!] -""" -Ways in which team connections can be ordered. -""" -input TeamOrder { """ - The direction in which to order nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field in which to order nodes by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: TeamOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which team connections can be ordered. -""" -enum TeamOrderField { """ - Allows ordering a list of teams by name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NAME -} + labels: [LabelUpdateInput!] -""" -The possible team privacy values. -""" -enum TeamPrivacy { """ - A secret team can only be seen by its members. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SECRET + labels: [LabelUpdateInput!] """ - A visible team can be seen and @mentioned by every member of the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - VISIBLE -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a team.remove_member event. -""" -type TeamRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & TeamAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the TeamRemoveMemberAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the team was mapped to an LDAP Group. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLdapMapped: Boolean + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -Audit log entry for a team.remove_repository event. -""" -type TeamRemoveRepositoryAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData & RepositoryAuditEntryData & TeamAuditEntryData { """ - The action name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - action: String! + labels: [LabelUpdateInput!] """ - The user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: AuditEntryActor + labels: [LabelUpdateInput!] """ - The IP address of the actor + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorIp: String + labels: [LabelUpdateInput!] """ - A readable representation of the actor's location + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLocation: ActorLocation + labels: [LabelUpdateInput!] """ - The username of the user who initiated the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the actor. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actorUrl: URI + labels: [LabelUpdateInput!] """ - The time the action was initiated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: PreciseDateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the TeamRemoveRepositoryAuditEntry object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Whether the team was mapped to an LDAP Group. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isLdapMapped: Boolean + labels: [LabelUpdateInput!] """ - The corresponding operation type for the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - operationType: OperationType + labels: [LabelUpdateInput!] """ - The Organization associated with the Audit Entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization + labels: [LabelUpdateInput!] """ - The name of the Organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the organization + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationUrl: URI + labels: [LabelUpdateInput!] """ - The repository associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository + labels: [LabelUpdateInput!] """ - The name of the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryName: String + labels: [LabelUpdateInput!] """ - The HTTP path for the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryUrl: URI + labels: [LabelUpdateInput!] """ - The team associated with the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team + labels: [LabelUpdateInput!] """ - The name of the team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamName: String + labels: [LabelUpdateInput!] """ - The HTTP path for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for this team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamUrl: URI + labels: [LabelUpdateInput!] """ - The user affected by the action + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User + labels: [LabelUpdateInput!] """ - For actions involving two users, the actor is the initiator and the user is the affected user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userLogin: String + labels: [LabelUpdateInput!] """ - The HTTP path for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userResourcePath: URI + labels: [LabelUpdateInput!] """ - The HTTP URL for the user. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userUrl: URI -} + labels: [LabelUpdateInput!] -""" -The connection type for Repository. -""" -type TeamRepositoryConnection { """ - A list of edges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - edges: [TeamRepositoryEdge] + labels: [LabelUpdateInput!] """ - A list of nodes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nodes: [Repository] + labels: [LabelUpdateInput!] """ - Information to aid in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pageInfo: PageInfo! + labels: [LabelUpdateInput!] """ - Identifies the total count of items in the connection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - totalCount: Int! -} + labels: [LabelUpdateInput!] -""" -Represents a team repository. -""" -type TeamRepositoryEdge { """ - A cursor for use in pagination. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - cursor: String! - node: Repository! + labels: [LabelUpdateInput!] """ - The permission level the team has on the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - permission: RepositoryPermission! -} + labels: [LabelUpdateInput!] -""" -Ordering options for team repository connections -""" -input TeamRepositoryOrder { """ - The ordering direction. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - direction: OrderDirection! + labels: [LabelUpdateInput!] """ - The field to order repositories by. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - field: TeamRepositoryOrderField! -} + labels: [LabelUpdateInput!] -""" -Properties by which team repository connections can be ordered. -""" -enum TeamRepositoryOrderField { """ - Order repositories by creation time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CREATED_AT + labels: [LabelUpdateInput!] """ - Order repositories by name + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NAME + labels: [LabelUpdateInput!] """ - Order repositories by permission + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PERMISSION + labels: [LabelUpdateInput!] """ - Order repositories by push time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PUSHED_AT + labels: [LabelUpdateInput!] """ - Order repositories by number of stargazers + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - STARGAZERS + labels: [LabelUpdateInput!] """ - Order repositories by update time + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UPDATED_AT -} + labels: [LabelUpdateInput!] -""" -The possible team review assignment algorithms -""" -enum TeamReviewAssignmentAlgorithm { """ - Balance review load across the entire team + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - LOAD_BALANCE + labels: [LabelUpdateInput!] """ - Alternate reviews between each team member + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ROUND_ROBIN -} + labels: [LabelUpdateInput!] -""" -The role of a user on a team. -""" -enum TeamRole { """ - User has admin rights on the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ADMIN + labels: [LabelUpdateInput!] """ - User is a member of the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - MEMBER -} + labels: [LabelUpdateInput!] -""" -A text match within a search result. -""" -type TextMatch { """ - The specific text fragment within the property matched on. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fragment: String! + labels: [LabelUpdateInput!] """ - Highlights within the matched fragment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - highlights: [TextMatchHighlight!]! + labels: [LabelUpdateInput!] """ - The property matched on. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - property: String! -} + labels: [LabelUpdateInput!] -""" -Represents a single highlight in a search result match. -""" -type TextMatchHighlight { """ - The indice in the fragment where the matched text begins. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - beginIndice: Int! + labels: [LabelUpdateInput!] """ - The indice in the fragment where the matched text ends. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - endIndice: Int! + labels: [LabelUpdateInput!] """ - The text matched. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - text: String! -} + labels: [LabelUpdateInput!] -""" -The possible states of a thread subscription form action -""" -enum ThreadSubscriptionFormAction { """ - The User cannot subscribe or unsubscribe to the thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NONE + labels: [LabelUpdateInput!] """ - The User can subscribe to the thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBE + labels: [LabelUpdateInput!] """ - The User can unsubscribe to the thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UNSUBSCRIBE -} + labels: [LabelUpdateInput!] -""" -The possible states of a subscription. -""" -enum ThreadSubscriptionState { """ - The subscription status is currently disabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DISABLED + labels: [LabelUpdateInput!] """ - The User is never notified because they are ignoring the list + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IGNORING_LIST + labels: [LabelUpdateInput!] """ - The User is never notified because they are ignoring the thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - IGNORING_THREAD + labels: [LabelUpdateInput!] """ - The User is not recieving notifications from this thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NONE + labels: [LabelUpdateInput!] """ - The User is notified becuase they are watching the list + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBED_TO_LIST + labels: [LabelUpdateInput!] """ - The User is notified because they are subscribed to the thread + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBED_TO_THREAD + labels: [LabelUpdateInput!] """ - The User is notified because they chose custom settings for this thread. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBED_TO_THREAD_EVENTS + labels: [LabelUpdateInput!] """ - The User is notified because they chose custom settings for this thread. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SUBSCRIBED_TO_THREAD_TYPE + labels: [LabelUpdateInput!] """ - The subscription status is currently unavailable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - UNAVAILABLE -} + labels: [LabelUpdateInput!] -""" -A topic aggregates entities that are related to a subject. -""" -type Topic implements Node & Starrable { """ - The Node ID of the Topic object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The topic's name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - A list of related topics, including aliases of this topic, sorted with the most relevant - first. Returns up to 10 Topics. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - relatedTopics( - """ - How many topics to return. - """ - first: Int = 3 - ): [Topic!]! + labels: [LabelUpdateInput!] """ - A list of repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositories( - """ - Array of viewer's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - current viewer owns. - """ - affiliations: [RepositoryAffiliation] + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to whether they have issues enabled - """ - hasIssuesEnabled: Boolean + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to whether they have been locked - """ - isLocked: Boolean + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Ordering options for repositories returned from the connection - """ - orderBy: RepositoryOrder + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Array of owner's affiliation options for repositories returned from the - connection. For example, OWNER will include only repositories that the - organization or user being viewed owns. - """ - ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR] + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to privacy. Internal - repositories are considered private; consider using the visibility argument - if only internal repositories are needed. Cannot be combined with the - visibility argument. - """ - privacy: RepositoryPrivacy + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If true, only repositories whose owner can be sponsored via GitHub Sponsors will be returned. - """ - sponsorableOnly: Boolean = false + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument. - """ - visibility: RepositoryVisibility - ): RepositoryConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Returns a count of how many stargazers there are on this object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - stargazerCount: Int! + labels: [LabelUpdateInput!] """ - A list of users who have starred this starrable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - stargazers( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String + labels: [LabelUpdateInput!] - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the first _n_ elements from the list. - """ - first: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Returns the last _n_ elements from the list. - """ - last: Int + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] - """ - Order for connection - """ - orderBy: StarOrder - ): StargazerConnection! + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] """ - Returns a boolean indicating whether the viewing user has starred this starrable. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerHasStarred: Boolean! -} + labels: [LabelUpdateInput!] -""" -Metadata for an audit entry with a topic. -""" -interface TopicAuditEntryData { """ - The name of the topic added to the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - topic: Topic + labels: [LabelUpdateInput!] """ - The name of the topic added to the repository + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - topicName: String -} + labels: [LabelUpdateInput!] -""" -Reason that the suggested topic is declined. -""" -enum TopicSuggestionDeclineReason { """ - The suggested topic is not relevant to the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - NOT_RELEVANT @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") + labels: [LabelUpdateInput!] """ - The viewer does not like the suggested topic. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - PERSONAL_PREFERENCE @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") + labels: [LabelUpdateInput!] """ - The suggested topic is too general for the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TOO_GENERAL @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") + labels: [LabelUpdateInput!] """ - The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - TOO_SPECIFIC @deprecated(reason: "Suggested topics are no longer supported Removal on 2024-04-01 UTC.") -} + labels: [LabelUpdateInput!] -""" -The possible states of a tracked issue. -""" -enum TrackedIssueStates { """ - The tracked issue is closed + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - CLOSED + labels: [LabelUpdateInput!] """ - The tracked issue is open + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - OPEN -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of TransferEnterpriseOrganization -""" -input TransferEnterpriseOrganizationInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise where the organization should be transferred. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - destinationEnterpriseId: ID! + labels: [LabelUpdateInput!] """ - The ID of the organization to transfer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of TransferEnterpriseOrganization. -""" -type TransferEnterpriseOrganizationPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The organization for which a transfer was initiated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of TransferIssue -""" -input TransferIssueInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - Whether to create labels if they don't exist in the target repository (matched by name) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createLabelsIfMissing: Boolean = false + labels: [LabelUpdateInput!] """ - The Node ID of the issue to be transferred + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issueId: ID! + labels: [LabelUpdateInput!] """ - The Node ID of the repository the issue should be transferred to + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of TransferIssue. -""" -type TransferIssuePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The issue that was transferred + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issue: Issue -} + labels: [LabelUpdateInput!] -""" -Represents a 'transferred' event on a given issue or pull request. -""" -type TransferredEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The repository this came from + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - fromRepository: Repository + labels: [LabelUpdateInput!] """ - The Node ID of the TransferredEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the issue associated with the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issue: Issue! -} + labels: [LabelUpdateInput!] -""" -Represents a Git tree. -""" -type Tree implements GitObject & Node { """ - An abbreviated version of the Git object ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - abbreviatedOid: String! + labels: [LabelUpdateInput!] """ - The HTTP path for this Git object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitResourcePath: URI! + labels: [LabelUpdateInput!] """ - The HTTP URL for this Git object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commitUrl: URI! + labels: [LabelUpdateInput!] """ - A list of tree entries. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - entries: [TreeEntry!] + labels: [LabelUpdateInput!] """ - The Node ID of the Tree object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - The Git object ID + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - oid: GitObjectID! + labels: [LabelUpdateInput!] """ - The Repository the Git object belongs to + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository! -} + labels: [LabelUpdateInput!] -""" -Represents a Git tree entry. -""" -type TreeEntry { """ - The extension of the file + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - extension: String + labels: [LabelUpdateInput!] """ - Whether or not this tree entry is generated + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isGenerated: Boolean! + labels: [LabelUpdateInput!] """ - The programming language this file is written in. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - language: Language + labels: [LabelUpdateInput!] """ - Number of lines in the file. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lineCount: Int + labels: [LabelUpdateInput!] """ - Entry file mode. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - mode: Int! + labels: [LabelUpdateInput!] """ - Entry file name. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String! + labels: [LabelUpdateInput!] """ - Entry file name. (Base64-encoded) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - nameRaw: Base64String! + labels: [LabelUpdateInput!] """ - Entry file object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - object: GitObject + labels: [LabelUpdateInput!] """ - Entry file Git object ID. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - oid: GitObjectID! + labels: [LabelUpdateInput!] """ - The full path of the file. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - path: String + labels: [LabelUpdateInput!] """ - The full path of the file. (Base64-encoded) + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pathRaw: Base64String + labels: [LabelUpdateInput!] """ - The Repository the tree entry belongs to + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository! + labels: [LabelUpdateInput!] """ - Entry byte size + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - size: Int! + labels: [LabelUpdateInput!] """ - If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - submodule: Submodule + labels: [LabelUpdateInput!] """ - Entry file type. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - type: String! -} + labels: [LabelUpdateInput!] -""" -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. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - DISABLED + labels: [LabelUpdateInput!] """ - Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - INSECURE + labels: [LabelUpdateInput!] """ - Has only secure methods of two-factor authentication. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - SECURE -} + labels: [LabelUpdateInput!] -""" -An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. -""" -scalar URI + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnarchiveProjectV2Item -""" -input UnarchiveProjectV2ItemInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the ProjectV2Item to unarchive. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - itemId: ID! + labels: [LabelUpdateInput!] """ - The ID of the Project to archive the item from. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnarchiveProjectV2Item. -""" -type UnarchiveProjectV2ItemPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The item unarchived from the project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - item: ProjectV2Item -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnarchiveRepository -""" -input UnarchiveRepositoryInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the repository to unarchive. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnarchiveRepository. -""" -type UnarchiveRepositoryPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The repository that was unarchived. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository -} + labels: [LabelUpdateInput!] -""" -Represents an 'unassigned' event on any assignable object. -""" -type UnassignedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the assignable associated with the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - assignable: Assignable! + labels: [LabelUpdateInput!] """ - Identifies the user or mannequin that was unassigned. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - assignee: Assignee + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the UnassignedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the subject (user) who was unassigned. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User @deprecated(reason: "Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC.") -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnfollowOrganization -""" -input UnfollowOrganizationInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - ID of the organization to unfollow. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnfollowOrganization. -""" -type UnfollowOrganizationPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The organization that was unfollowed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organization: Organization -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnfollowUser -""" -input UnfollowUserInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - ID of the user to unfollow. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - userId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnfollowUser. -""" -type UnfollowUserPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The user that was unfollowed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - user: User -} + labels: [LabelUpdateInput!] -""" -Represents a type that can be retrieved by a URL. -""" -interface UniformResourceLocatable { """ - The HTML path to this resource. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - resourcePath: URI! + labels: [LabelUpdateInput!] """ - The URL to this resource. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - url: URI! -} + labels: [LabelUpdateInput!] -""" -Represents an unknown signature on a Commit or Tag. -""" -type UnknownSignature implements GitSignature { """ - Email used to sign this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - email: String! + labels: [LabelUpdateInput!] """ - True if the signature is valid and verified by GitHub. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isValid: Boolean! + labels: [LabelUpdateInput!] """ - Payload for GPG signing object. Raw ODB object without the signature header. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - payload: String! + labels: [LabelUpdateInput!] """ - ASCII-armored signature header from object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signature: String! + labels: [LabelUpdateInput!] """ - GitHub user corresponding to the email signing this commit. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - signer: User + labels: [LabelUpdateInput!] """ - The state of this signature. `VALID` if signature is valid and verified by - GitHub, otherwise represents reason why signature is considered invalid. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - state: GitSignatureState! + labels: [LabelUpdateInput!] """ - The date the signature was verified, if valid + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - verifiedAt: DateTime + labels: [LabelUpdateInput!] """ - True if the signature was made with GitHub's signing key. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - wasSignedByGitHub: Boolean! -} + labels: [LabelUpdateInput!] -""" -Represents an 'unlabeled' event on a given issue or pull request. -""" -type UnlabeledEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the UnlabeledEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the label associated with the 'unlabeled' event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - label: Label! + labels: [LabelUpdateInput!] """ - Identifies the `Labelable` associated with the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - labelable: Labelable! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnlinkProjectV2FromRepository -""" -input UnlinkProjectV2FromRepositoryInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the project to unlink from the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectId: ID! + labels: [LabelUpdateInput!] """ - The ID of the repository to unlink from the project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnlinkProjectV2FromRepository. -""" -type UnlinkProjectV2FromRepositoryPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The repository the project is no longer linked to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnlinkProjectV2FromTeam -""" -input UnlinkProjectV2FromTeamInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the project to unlink from the team. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectId: ID! + labels: [LabelUpdateInput!] """ - The ID of the team to unlink from the project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - teamId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnlinkProjectV2FromTeam. -""" -type UnlinkProjectV2FromTeamPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The team the project is unlinked from + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - team: Team -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnlinkRepositoryFromProject -""" -input UnlinkRepositoryFromProjectInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the Project linked to the Repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectId: ID! + labels: [LabelUpdateInput!] """ - The ID of the Repository linked to the Project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnlinkRepositoryFromProject. -""" -type UnlinkRepositoryFromProjectPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The linked Project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - project: Project + labels: [LabelUpdateInput!] """ - The linked Repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnlockLockable -""" -input UnlockLockableInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - ID of the item to be unlocked. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockableId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnlockLockable. -""" -type UnlockLockablePayload { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The item that was unlocked. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - unlockedRecord: Lockable -} + labels: [LabelUpdateInput!] -""" -Represents an 'unlocked' event on a given issue or pull request. -""" -type UnlockedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the UnlockedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Object that was unlocked. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockable: Lockable! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnmarkDiscussionCommentAsAnswer -""" -input UnmarkDiscussionCommentAsAnswerInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the discussion comment to unmark as an answer. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnmarkDiscussionCommentAsAnswer. -""" -type UnmarkDiscussionCommentAsAnswerPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The discussion that includes the comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussion: Discussion -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnmarkFileAsViewed -""" -input UnmarkFileAsViewedInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The path of the file to mark as unviewed + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - path: String! + labels: [LabelUpdateInput!] """ - The Node ID of the pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequestId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnmarkFileAsViewed. -""" -type UnmarkFileAsViewedPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The updated pull request. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pullRequest: PullRequest -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnmarkIssueAsDuplicate -""" -input UnmarkIssueAsDuplicateInput { """ - ID of the issue or pull request currently considered canonical/authoritative/original. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - canonicalId: ID! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - ID of the issue or pull request currently marked as a duplicate. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - duplicateId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnmarkIssueAsDuplicate. -""" -type UnmarkIssueAsDuplicatePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The issue or pull request that was marked as a duplicate. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - duplicate: IssueOrPullRequest -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnmarkProjectV2AsTemplate -""" -input UnmarkProjectV2AsTemplateInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the Project to unmark as a template. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnmarkProjectV2AsTemplate. -""" -type UnmarkProjectV2AsTemplatePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The project. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - projectV2: ProjectV2 -} + labels: [LabelUpdateInput!] -""" -Represents an 'unmarked_as_duplicate' event on a given issue or pull request. -""" -type UnmarkedAsDuplicateEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - The authoritative issue or pull request which has been duplicated by another. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - canonical: IssueOrPullRequest + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The issue or pull request which has been marked as a duplicate of another. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - duplicate: IssueOrPullRequest + labels: [LabelUpdateInput!] """ - The Node ID of the UnmarkedAsDuplicateEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Canonical and duplicate belong to different repositories. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isCrossRepository: Boolean! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnminimizeComment -""" -input UnminimizeCommentInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the subject to modify. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subjectId: ID! -} + labels: [LabelUpdateInput!] + + """ + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. + """ + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnminimizeComment. -""" -type UnminimizeCommentPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The comment that was unminimized. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - unminimizedComment: Minimizable -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnpinIssue -""" -input UnpinIssueInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the issue to be unpinned + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issueId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnpinIssue. -""" -type UnpinIssuePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The id of the pinned issue that was unpinned + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID + labels: [LabelUpdateInput!] """ - The issue that was unpinned + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issue: Issue -} + labels: [LabelUpdateInput!] -""" -Represents an 'unpinned' event on a given issue or pull request. -""" -type UnpinnedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the UnpinnedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Identifies the issue associated with the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - issue: Issue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UnresolveReviewThread -""" -input UnresolveReviewThreadInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the thread to unresolve + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - threadId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UnresolveReviewThread. -""" -type UnresolveReviewThreadPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The thread to resolve. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - thread: PullRequestReviewThread -} + labels: [LabelUpdateInput!] -""" -Represents an 'unsubscribed' event on a given `Subscribable`. -""" -type UnsubscribedEvent implements Node { """ - Identifies the actor who performed the event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actor: Actor + labels: [LabelUpdateInput!] """ - Identifies the date and time when the object was created. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - createdAt: DateTime! + labels: [LabelUpdateInput!] """ - The Node ID of the UnsubscribedEvent object + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - id: ID! + labels: [LabelUpdateInput!] """ - Object referenced by event. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - subscribable: Subscribable! -} + labels: [LabelUpdateInput!] -""" -Entities that can be updated. -""" -interface Updatable { """ - Check if the current viewer can update this object. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCanUpdate: Boolean! -} + labels: [LabelUpdateInput!] -""" -Comments that can be updated. -""" -interface UpdatableComment { """ - Reasons why the current viewer can not update this comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateBranchProtectionRule -""" -input UpdateBranchProtectionRuleInput { """ - Can this branch be deleted. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - allowsDeletions: Boolean + labels: [LabelUpdateInput!] """ - Are force pushes allowed on this branch. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - allowsForcePushes: Boolean + labels: [LabelUpdateInput!] """ - Is branch creation a protected operation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - blocksCreations: Boolean + labels: [LabelUpdateInput!] """ - The global relay id of the branch protection rule to be updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - branchProtectionRuleId: ID! + labels: [LabelUpdateInput!] """ - A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bypassForcePushActorIds: [ID!] + labels: [LabelUpdateInput!] """ - A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - bypassPullRequestActorIds: [ID!] + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - Will new commits pushed to matching branches dismiss pull request review approvals. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - dismissesStaleReviews: Boolean + labels: [LabelUpdateInput!] """ - Can admins override branch protection. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isAdminEnforced: Boolean + labels: [LabelUpdateInput!] """ - Whether users can pull changes from upstream when the branch is locked. Set to - `true` to allow fork syncing. Set to `false` to prevent fork syncing. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockAllowsFetchAndMerge: Boolean + labels: [LabelUpdateInput!] """ - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - lockBranch: Boolean + labels: [LabelUpdateInput!] """ - The glob-like pattern used to determine matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pattern: String + labels: [LabelUpdateInput!] """ - A list of User, Team, or App IDs allowed to push to matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - pushActorIds: [ID!] + labels: [LabelUpdateInput!] """ - Whether the most recent push must be approved by someone other than the person who pushed it + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requireLastPushApproval: Boolean + labels: [LabelUpdateInput!] """ - Number of approving reviews required to update matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredApprovingReviewCount: Int + labels: [LabelUpdateInput!] """ - The list of required deployment environments + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredDeploymentEnvironments: [String!] + labels: [LabelUpdateInput!] """ - List of required status check contexts that must pass for commits to be accepted to matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredStatusCheckContexts: [String!] + labels: [LabelUpdateInput!] """ - The list of required status checks + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiredStatusChecks: [RequiredStatusCheckInput!] + labels: [LabelUpdateInput!] """ - Are approving reviews required to update matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresApprovingReviews: Boolean + labels: [LabelUpdateInput!] """ - Are reviews from code owners required to update matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresCodeOwnerReviews: Boolean + labels: [LabelUpdateInput!] """ - Are commits required to be signed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresCommitSignatures: Boolean + labels: [LabelUpdateInput!] """ - Are conversations required to be resolved before merging. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresConversationResolution: Boolean + labels: [LabelUpdateInput!] """ - Are successful deployments required before merging. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresDeployments: Boolean + labels: [LabelUpdateInput!] """ - Are merge commits prohibited from being pushed to this branch. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresLinearHistory: Boolean + labels: [LabelUpdateInput!] """ - Are status checks required to update matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresStatusChecks: Boolean + labels: [LabelUpdateInput!] """ - Are branches required to be up to date before merging. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - requiresStrictStatusChecks: Boolean + labels: [LabelUpdateInput!] """ - Is pushing to matching branches restricted. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - restrictsPushes: Boolean + labels: [LabelUpdateInput!] """ - Is dismissal of pull request reviews restricted. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - restrictsReviewDismissals: Boolean + labels: [LabelUpdateInput!] """ - A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewDismissalActorIds: [ID!] -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateBranchProtectionRule. -""" -type UpdateBranchProtectionRulePayload { """ - The newly created BranchProtectionRule. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - branchProtectionRule: BranchProtectionRule + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateCheckRun -""" -input UpdateCheckRunInput { """ - Possible further actions the integrator can perform, which a user may trigger. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - actions: [CheckRunAction!] + labels: [LabelUpdateInput!] """ - The node of the check. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkRunId: ID! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The time that the check run finished. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - completedAt: DateTime + labels: [LabelUpdateInput!] """ - The final conclusion of the check. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - conclusion: CheckConclusionState + labels: [LabelUpdateInput!] """ - The URL of the integrator's site that has the full details of the check. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - detailsUrl: URI + labels: [LabelUpdateInput!] """ - A reference for the run on the integrator's system. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - externalId: String + labels: [LabelUpdateInput!] """ - The name of the check. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String + labels: [LabelUpdateInput!] """ - Descriptive details about the run. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - output: CheckRunOutput + labels: [LabelUpdateInput!] """ - The node ID of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! + labels: [LabelUpdateInput!] """ - The time that the check run began. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - startedAt: DateTime + labels: [LabelUpdateInput!] """ - The current status. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - status: RequestableCheckStatusState -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateCheckRun. -""" -type UpdateCheckRunPayload { """ - The updated check run. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - checkRun: CheckRun + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateCheckSuitePreferences -""" -input UpdateCheckSuitePreferencesInput { """ - The check suite preferences to modify. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - autoTriggerPreferences: [CheckSuiteAutoTriggerPreference!]! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repositoryId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateCheckSuitePreferences. -""" -type UpdateCheckSuitePreferencesPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The updated repository. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - repository: Repository -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateDiscussionComment -""" -input UpdateDiscussionCommentInput { """ - The new contents of the comment body. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the discussion comment to update. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - commentId: ID! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateDiscussionComment. -""" -type UpdateDiscussionCommentPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The modified discussion comment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - comment: DiscussionComment -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateDiscussion -""" -input UpdateDiscussionInput { """ - The new contents of the discussion body. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - body: String + labels: [LabelUpdateInput!] """ - The Node ID of a discussion category within the same repository to change this discussion to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - categoryId: ID + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The Node ID of the discussion to update. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussionId: ID! + labels: [LabelUpdateInput!] """ - The new discussion title. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - title: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateDiscussion. -""" -type UpdateDiscussionPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The modified discussion. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - discussion: Discussion -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseAdministratorRole -""" -input UpdateEnterpriseAdministratorRoleInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the Enterprise which the admin belongs to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The login of a administrator whose role is being changed. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - login: String! + labels: [LabelUpdateInput!] """ - The new role for the Enterprise administrator. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - role: EnterpriseAdministratorRole! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseAdministratorRole. -""" -type UpdateEnterpriseAdministratorRolePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - A message confirming the result of changing the administrator's role. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting -""" -input UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the allow private repository forking setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the allow private repository forking policy on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - policyValue: EnterpriseAllowPrivateRepositoryForkingPolicyValue + labels: [LabelUpdateInput!] """ - The value for the allow private repository forking setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting. -""" -type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated allow private repository forking setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the allow private repository forking setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting -""" -input UpdateEnterpriseDefaultRepositoryPermissionSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the base repository permission setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the base repository permission setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseDefaultRepositoryPermissionSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseDefaultRepositoryPermissionSetting. -""" -type UpdateEnterpriseDefaultRepositoryPermissionSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated base repository permission setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the base repository permission setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseDeployKeySetting -""" -input UpdateEnterpriseDeployKeySettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the deploy key setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the deploy key setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseDeployKeySetting. -""" -type UpdateEnterpriseDeployKeySettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated deploy key setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the deploy key setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting -""" -input UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can change repository visibility setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can change repository visibility setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting. -""" -type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can change repository visibility setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can change repository visibility setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting -""" -input UpdateEnterpriseMembersCanCreateRepositoriesSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can create repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - Allow members to create internal repositories. Defaults to current value. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersCanCreateInternalRepositories: Boolean + labels: [LabelUpdateInput!] """ - Allow members to create private repositories. Defaults to current value. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersCanCreatePrivateRepositories: Boolean + labels: [LabelUpdateInput!] """ - Allow members to create public repositories. Defaults to current value. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersCanCreatePublicRepositories: Boolean + labels: [LabelUpdateInput!] """ - When false, allow member organizations to set their own repository creation member privileges. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - membersCanCreateRepositoriesPolicyEnabled: Boolean + labels: [LabelUpdateInput!] """ - Value for the members can create repositories setting on the enterprise. This - or the granular public/private/internal allowed fields (but not both) must be provided. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseMembersCanCreateRepositoriesSettingValue -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanCreateRepositoriesSetting. -""" -type UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can create repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can create repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting -""" -input UpdateEnterpriseMembersCanDeleteIssuesSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can delete issues setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can delete issues setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanDeleteIssuesSetting. -""" -type UpdateEnterpriseMembersCanDeleteIssuesSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can delete issues setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can delete issues setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting -""" -input UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can delete repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can delete repositories setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting. -""" -type UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can delete repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can delete repositories setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting -""" -input UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can invite collaborators setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can invite collaborators setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting. -""" -type UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can invite collaborators setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can invite collaborators setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting -""" -input UpdateEnterpriseMembersCanMakePurchasesSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can make purchases setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can make purchases setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseMembersCanMakePurchasesSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanMakePurchasesSetting. -""" -type UpdateEnterpriseMembersCanMakePurchasesSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can make purchases setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can make purchases setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting -""" -input UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can update protected branches setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can update protected branches setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting. -""" -type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can update protected branches setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can update protected branches setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting -""" -input UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the members can view dependency insights setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the members can view dependency insights setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting. -""" -type UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated members can view dependency insights setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the members can view dependency insights setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting -""" -input UpdateEnterpriseOrganizationProjectsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the organization projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the organization projects setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseOrganizationProjectsSetting. -""" -type UpdateEnterpriseOrganizationProjectsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated organization projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the organization projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole -""" -input UpdateEnterpriseOwnerOrganizationRoleInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the Enterprise which the owner belongs to. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The ID of the organization for membership change. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationId: ID! + labels: [LabelUpdateInput!] """ - The role to assume in the organization. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - organizationRole: RoleInOrganization! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseOwnerOrganizationRole. -""" -type UpdateEnterpriseOwnerOrganizationRolePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - A message confirming the result of changing the owner's organization role. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseProfile -""" -input UpdateEnterpriseProfileInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The description of the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - description: String + labels: [LabelUpdateInput!] """ - The Enterprise ID to update. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The location of the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - location: String + labels: [LabelUpdateInput!] """ - The name of the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String + labels: [LabelUpdateInput!] """ - The URL of the enterprise's website. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - websiteUrl: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseProfile. -""" -type UpdateEnterpriseProfilePayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The updated enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting -""" -input UpdateEnterpriseRepositoryProjectsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the repository projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the repository projects setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseRepositoryProjectsSetting. -""" -type UpdateEnterpriseRepositoryProjectsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated repository projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the repository projects setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseTeamDiscussionsSetting -""" -input UpdateEnterpriseTeamDiscussionsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the team discussions setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the team discussions setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledDisabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseTeamDiscussionsSetting. -""" -type UpdateEnterpriseTeamDiscussionsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated team discussions setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the team discussions setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting -""" -input UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the two-factor authentication disallowed methods setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseDisallowedMethodsSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting. -""" -type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated two-factor authentication disallowed methods setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the two-factor authentication disallowed methods setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting -""" -input UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the enterprise on which to set the two factor authentication required setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterpriseId: ID! + labels: [LabelUpdateInput!] """ - The value for the two factor authentication required setting on the enterprise. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: EnterpriseEnabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting. -""" -type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The enterprise with the updated two factor authentication required setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - enterprise: Enterprise + labels: [LabelUpdateInput!] """ - A message confirming the result of updating the two factor authentication required setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - message: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateEnvironment -""" -input UpdateEnvironmentInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The node ID of the environment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - environmentId: ID! + labels: [LabelUpdateInput!] """ - Whether deployments to this environment can be approved by the user who created the deployment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - preventSelfReview: Boolean + labels: [LabelUpdateInput!] """ - The ids of users or teams that can approve deployments to this environment + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - reviewers: [ID!] + labels: [LabelUpdateInput!] """ - The wait timer in minutes. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - waitTimer: Int -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateEnvironment. -""" -type UpdateEnvironmentPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The updated environment. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - environment: Environment -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateIpAllowListEnabledSetting -""" -input UpdateIpAllowListEnabledSettingInput { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the owner on which to set the IP allow list enabled setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ownerId: ID! + labels: [LabelUpdateInput!] """ - The value for the IP allow list enabled setting. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - settingValue: IpAllowListEnabledSettingValue! -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateIpAllowListEnabledSetting. -""" -type UpdateIpAllowListEnabledSettingPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The IP allow list owner on which the setting was updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - owner: IpAllowListOwner -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateIpAllowListEntry -""" -input UpdateIpAllowListEntryInput { """ - An IP address or range of addresses in CIDR notation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - allowListValue: String! + labels: [LabelUpdateInput!] """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The ID of the IP allow list entry to update. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ipAllowListEntryId: ID! + labels: [LabelUpdateInput!] """ - Whether the IP allow list entry is active when an IP allow list is enabled. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - isActive: Boolean! + labels: [LabelUpdateInput!] """ - An optional name for the IP allow list entry. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - name: String -} + labels: [LabelUpdateInput!] -""" -Autogenerated return type of UpdateIpAllowListEntry. -""" -type UpdateIpAllowListEntryPayload { """ - A unique identifier for the client performing the mutation. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - clientMutationId: String + labels: [LabelUpdateInput!] """ - The IP allow list entry that was updated. + An array of labels to set on this issue, each with optional rationale or suggest flag. Mutually exclusive with `labelIds`. """ - ipAllowListEntry: IpAllowListEntry -} + labels: [LabelUpdateInput!] -""" -Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting -""" -input UpdateIpAllowListForInstalledAppsEnabledSettingInput { """ - A unique identifier for the client performing the mutation. + The Node ID of the milestone for this issue. """ - clientMutationId: String + milestoneId: ID """ - The ID of the owner. + An array of Node IDs for projects associated with this issue. """ - ownerId: ID! + projectIds: [ID!] """ - The value for the IP allow list configuration for installed GitHub Apps setting. + The desired issue state. """ - settingValue: IpAllowListForInstalledAppsEnabledSettingValue! -} + state: IssueState -""" -Autogenerated return type of UpdateIpAllowListForInstalledAppsEnabledSetting. -""" -type UpdateIpAllowListForInstalledAppsEnabledSettingPayload { """ - A unique identifier for the client performing the mutation. + The desired issue state, with optional rationale, state reason, or duplicate reference. Mutually exclusive with `state`. """ - clientMutationId: String + stateInput: IssueStateUpdateInput """ - The IP allow list owner on which the setting was updated. + The title for the issue. """ - owner: IpAllowListOwner + title: String } """ -Autogenerated input type of UpdateIssueComment +Autogenerated input type of UpdateIssueIssueType """ -input UpdateIssueCommentInput { +input UpdateIssueIssueTypeInput { """ - The updated text of the comment. + A unique identifier for the client performing the mutation. """ - body: String! + clientMutationId: String """ - A unique identifier for the client performing the mutation. + The ID of the issue to update """ - clientMutationId: String + issueId: ID! """ - The ID of the IssueComment to modify. + The ID of the issue type to update on the issue """ - id: ID! + issueTypeId: ID } """ -Autogenerated return type of UpdateIssueComment. +Autogenerated return type of UpdateIssueIssueType. """ -type UpdateIssueCommentPayload { +type UpdateIssueIssueTypePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The updated comment. + The updated issue """ - issueComment: IssueComment + issue: Issue } """ -Autogenerated input type of UpdateIssue +Autogenerated return type of UpdateIssue. """ -input UpdateIssueInput { +type UpdateIssuePayload { """ - An array of Node IDs of users for this issue. + Identifies the actor who performed the event. """ - assigneeIds: [ID!] + actor: Actor """ - The body for the issue description. + A unique identifier for the client performing the mutation. """ - body: String + clientMutationId: String """ - A unique identifier for the client performing the mutation. + The issue. """ - clientMutationId: String + issue: Issue +} +""" +Autogenerated input type of UpdateIssueType +""" +input UpdateIssueTypeInput { """ - The ID of the Issue to modify. + A unique identifier for the client performing the mutation. """ - id: ID! + clientMutationId: String """ - An array of Node IDs of labels for this issue. + Color for the issue type """ - labelIds: [ID!] + color: IssueTypeColor """ - The Node ID of the milestone for this issue. + The description of the issue type """ - milestoneId: ID + description: String """ - An array of Node IDs for projects associated with this issue. + Whether or not the issue type is enabled for the organization """ - projectIds: [ID!] + isEnabled: Boolean """ - The desired issue state. + The ID of the issue type to update """ - state: IssueState + issueTypeId: ID! """ - The title for the issue. + The name of the issue type """ - title: String + name: String } """ -Autogenerated return type of UpdateIssue. +Autogenerated return type of UpdateIssueType. """ -type UpdateIssuePayload { - """ - Identifies the actor who performed the event. - """ - actor: Actor - +type UpdateIssueTypePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - The issue. + The updated issue type """ - issue: Issue + issueType: IssueType } """ @@ -60291,19 +77103,28 @@ input UpdateProjectV2FieldInput { fieldId: ID! """ - Configuration for an iteration field. + Configuration for a field of type ITERATION. Empty input is ignored, provided + values overwrite the existing configuration, and existing configuration should + be fetched for partial updates. """ iterationConfiguration: ProjectV2IterationFieldConfigurationInput + """ + Options for a field of type MULTI_SELECT. Empty input is ignored, provided + values overwrite existing options, and existing options should be fetched for + partial updates. + """ + multiSelectOptions: [ProjectV2MultiSelectFieldOptionInput!] + """ 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. + Options for a field of type SINGLE_SELECT. Empty input is ignored, provided + values overwrite existing options, and existing options should be fetched for + partial updates. """ singleSelectOptions: [ProjectV2SingleSelectFieldOptionInput!] } @@ -60533,6 +77354,56 @@ type UpdateProjectV2StatusUpdatePayload { statusUpdate: ProjectV2StatusUpdate } +""" +Autogenerated input type of UpdateProjectV2View +""" +input UpdateProjectV2ViewInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The new configuration for the view. + """ + configuration: ProjectV2ViewConfigurationInput + + """ + The new filter for the view. + """ + filter: String + + """ + The new layout for the view. + """ + layout: ProjectV2ViewLayout + + """ + The new name for the view. + """ + name: String + + """ + The ID of the view to update. + """ + viewId: ID! +} + +""" +Autogenerated return type of UpdateProjectV2View. +""" +type UpdateProjectV2ViewPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated view. + """ + projectV2View: ProjectV2View +} + """ Autogenerated input type of UpdatePullRequestBranch """ @@ -60794,6 +77665,71 @@ type UpdateRefsPayload { clientMutationId: String } +""" +Autogenerated input type of UpdateRepositoryCustomProperty +""" +input UpdateRepositoryCustomPropertyInput { + """ + The updated allowed values for the custom property. + """ + allowedValues: [String!] + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated default value for the custom property if the property is required. + """ + defaultValue: String + + """ + The updated description of the custom property. + """ + description: String + + """ + The regex pattern that the value of the custom property must match, if the `value_type` is `string`. + """ + regex: String + + """ + The global relay id of the source of the custom property. + """ + repositoryCustomPropertyId: ID! + + """ + Whether this repository custom property requires explicit values. + """ + requireExplicitValues: Boolean + + """ + Whether the updated custom property is required. + """ + required: Boolean + + """ + The updated actors who can edit the values of the custom property. + """ + valuesEditableBy: RepositoryCustomPropertyValuesEditableBy +} + +""" +Autogenerated return type of UpdateRepositoryCustomProperty. +""" +type UpdateRepositoryCustomPropertyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The updated repository custom property. + """ + repositoryCustomProperty: RepositoryCustomProperty +} + """ Autogenerated input type of UpdateRepository """ @@ -60823,6 +77759,11 @@ input UpdateRepositoryInput { """ hasProjectsEnabled: Boolean + """ + Indicates if the repository should have the pull requests feature enabled. + """ + hasPullRequestsEnabled: Boolean + """ Indicates if the repository displays a Sponsor button for financial contributions. """ @@ -60838,11 +77779,21 @@ input UpdateRepositoryInput { """ homepageUrl: URI + """ + The policy controlling who can create issues in this repository. + """ + issueCreationPolicy: IssueCreationPolicy + """ The new name of the repository. """ name: String + """ + The policy controlling who can create pull requests in this repository. + """ + pullRequestCreationPolicy: PullRequestCreationPolicy + """ The ID of the repository to update. """ @@ -61063,97 +78014,6 @@ type UpdateSubscriptionPayload { subscribable: Subscribable } -""" -Autogenerated input type of UpdateTeamDiscussionComment -""" -input UpdateTeamDiscussionCommentInput { - """ - The updated text of the comment. - """ - body: String! - - """ - The current version of the body content. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The ID of the comment to modify. - """ - id: ID! -} - -""" -Autogenerated return type of UpdateTeamDiscussionComment. -""" -type UpdateTeamDiscussionCommentPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated comment. - """ - teamDiscussionComment: TeamDiscussionComment -} - -""" -Autogenerated input type of UpdateTeamDiscussion -""" -input UpdateTeamDiscussionInput { - """ - The updated text of the discussion. - """ - body: String - - """ - The current version of the body content. If provided, this update operation - will be rejected if the given version does not match the latest version on the server. - """ - bodyVersion: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The Node ID of the discussion to modify. - """ - id: ID! - - """ - If provided, sets the pinned state of the updated discussion. - """ - pinned: Boolean - - """ - The updated title of the discussion. - """ - title: String -} - -""" -Autogenerated return type of UpdateTeamDiscussion. -""" -type UpdateTeamDiscussionPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The updated discussion. - """ - teamDiscussion: TeamDiscussion -} - """ Autogenerated input type of UpdateTeamReviewAssignment """ @@ -61407,7 +78267,7 @@ type UpdateUserListsForItemPayload { """ A user is an individual's account on GitHub that owns repositories and can make new content. """ -type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -62993,7 +79853,7 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ Can the current viewer create new projects on this owner. """ - viewerCanCreateProjects: Boolean! + viewerCanCreateProjects: Boolean! @deprecated(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.") """ Whether or not the viewer is able to follow the user. @@ -63005,6 +79865,26 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ viewerCanSponsor: Boolean! + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for task updates. + """ + viewerCopilotAgentTaskUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String + """ Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. """ @@ -64062,6 +80942,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { last: Int ): DeploymentReviewConnection! + """ + The human-readable title of the workflow run. + """ + displayTitle: String + """ The event that triggered the workflow run """ @@ -64107,6 +80992,11 @@ type WorkflowRun implements Node & UniformResourceLocatable { """ resourcePath: URI! + """ + The attempt number of this workflow run. + """ + runAttempt: Int! + """ A number that uniquely identifies this workflow run in its parent workflow. """ @@ -64307,3 +81197,7 @@ input WorkflowsParametersInput { A valid x509 certificate string """ scalar X509Certificate + +scalar _Any + +union _Entity = AddedToMergeQueueEvent | AddedToProjectEvent | AddedToProjectV2Event | AddedToStackEvent | App | AssignedEvent | AutoMergeDisabledEvent | AutoMergeEnabledEvent | AutoRebaseEnabledEvent | AutoSquashEnabledEvent | AutomaticBaseChangeFailedEvent | AutomaticBaseChangeSucceededEvent | BaseRefChangedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | Blob | BlockedByAddedEvent | BlockedByRemovedEvent | BlockingAddedEvent | BlockingRemovedEvent | Bot | BranchProtectionRule | BypassForcePushAllowance | BypassPullRequestAllowance | CWE | CheckRun | CheckSuite | ClosedEvent | CodeOfConduct | CommentDeletedEvent | Commit | CommitComment | CommitCommentThread | Comparison | ConnectedEvent | ConvertToDraftEvent | ConvertedFromDraftEvent | ConvertedNoteToIssueEvent | ConvertedToDiscussionEvent | CrossReferencedEvent | DemilestonedEvent | DependencyGraphManifest | DeployKey | DeployedEvent | Deployment | DeploymentEnvironmentChangedEvent | DeploymentReview | DeploymentStatus | DisconnectedEvent | Discussion | DiscussionCategory | DiscussionComment | DiscussionPoll | DiscussionPollOption | DraftIssue | Enterprise | EnterpriseAdministratorInvitation | EnterpriseIdentityProvider | EnterpriseMemberInvitation | EnterpriseRepositoryInfo | EnterpriseServerInstallation | EnterpriseServerUserAccount | EnterpriseServerUserAccountEmail | EnterpriseServerUserAccountsUpload | EnterpriseTeam | EnterpriseUserAccount | Environment | ExternalIdentity | Gist | GistComment | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | IpAllowListEntry | Issue | IssueComment | IssueCommentPinnedEvent | IssueCommentUnpinnedEvent | IssueFieldAddedEvent | IssueFieldChangedEvent | IssueFieldDate | IssueFieldDateValue | IssueFieldMultiSelect | IssueFieldMultiSelectValue | IssueFieldNumber | IssueFieldNumberValue | IssueFieldRemovedEvent | IssueFieldSingleSelect | IssueFieldSingleSelectOption | IssueFieldSingleSelectValue | IssueFieldText | IssueFieldTextValue | IssueType | IssueTypeAddedEvent | IssueTypeChangedEvent | IssueTypeRemovedEvent | Label | LabeledEvent | Language | License | LinkedBranch | LockedEvent | Mannequin | MarkedAsDuplicateEvent | MarketplaceCategory | MarketplaceListing | MemberFeatureRequestNotification | MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | MentionedEvent | MergeQueue | MergeQueueEntry | MergedEvent | MigrationSource | Milestone | MilestonedEvent | MovedColumnsInProjectEvent | OIDCProvider | OauthApplicationCreateAuditEntry | OrgAddBillingManagerAuditEntry | OrgAddMemberAuditEntry | OrgBlockUserAuditEntry | OrgConfigDisableCollaboratorsOnlyAuditEntry | OrgConfigEnableCollaboratorsOnlyAuditEntry | OrgCreateAuditEntry | OrgDisableOauthAppRestrictionsAuditEntry | OrgDisableSamlAuditEntry | OrgDisableTwoFactorRequirementAuditEntry | OrgEnableOauthAppRestrictionsAuditEntry | OrgEnableSamlAuditEntry | OrgEnableTwoFactorRequirementAuditEntry | OrgInviteMemberAuditEntry | OrgInviteToBusinessAuditEntry | OrgOauthAppAccessApprovedAuditEntry | OrgOauthAppAccessBlockedAuditEntry | OrgOauthAppAccessDeniedAuditEntry | OrgOauthAppAccessRequestedAuditEntry | OrgOauthAppAccessUnblockedAuditEntry | OrgRemoveBillingManagerAuditEntry | OrgRemoveMemberAuditEntry | OrgRemoveOutsideCollaboratorAuditEntry | OrgRestoreMemberAuditEntry | OrgUnblockUserAuditEntry | OrgUpdateDefaultRepositoryPermissionAuditEntry | OrgUpdateMemberAuditEntry | OrgUpdateMemberRepositoryCreationPermissionAuditEntry | OrgUpdateMemberRepositoryInvitationPermissionAuditEntry | Organization | OrganizationIdentityProvider | OrganizationInvitation | Package | PackageFile | PackageTag | PackageVersion | ParentIssueAddedEvent | ParentIssueRemovedEvent | PendingAssigneeSuggestion | PendingCloseSuggestion | PendingFieldSuggestion | PendingLabelSuggestion | PendingTypeSuggestion | PinnedDiscussion | PinnedEnvironment | PinnedEvent | PinnedIssue | PinnedIssueComment | PrivateRepositoryForkingDisableAuditEntry | PrivateRepositoryForkingEnableAuditEntry | Project | ProjectCard | ProjectColumn | ProjectV2 | ProjectV2Field | ProjectV2Item | ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldMultiSelectValue | ProjectV2ItemFieldNumberValue | ProjectV2ItemFieldSingleSelectValue | ProjectV2ItemFieldTextValue | ProjectV2ItemStatusChangedEvent | ProjectV2IterationField | ProjectV2MultiSelectField | ProjectV2SingleSelectField | ProjectV2StatusUpdate | ProjectV2View | ProjectV2Workflow | PublicKey | PullRequest | PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewComment | PullRequestReviewThread | PullRequestStack | PullRequestStackEntry | PullRequestThread | Push | PushAllowance | Query | Reaction | ReadyForReviewEvent | Ref | ReferencedEvent | Release | ReleaseAsset | RemovedFromMergeQueueEvent | RemovedFromProjectEvent | RemovedFromProjectV2Event | RemovedFromStackEvent | RenamedTitleEvent | ReopenedEvent | RepoAccessAuditEntry | RepoAddMemberAuditEntry | RepoAddTopicAuditEntry | RepoArchivedAuditEntry | RepoChangeMergeSettingAuditEntry | RepoConfigDisableAnonymousGitAccessAuditEntry | RepoConfigDisableCollaboratorsOnlyAuditEntry | RepoConfigDisableContributorsOnlyAuditEntry | RepoConfigDisableSockpuppetDisallowedAuditEntry | RepoConfigEnableAnonymousGitAccessAuditEntry | RepoConfigEnableCollaboratorsOnlyAuditEntry | RepoConfigEnableContributorsOnlyAuditEntry | RepoConfigEnableSockpuppetDisallowedAuditEntry | RepoConfigLockAnonymousGitAccessAuditEntry | RepoConfigUnlockAnonymousGitAccessAuditEntry | RepoCreateAuditEntry | RepoDestroyAuditEntry | RepoRemoveMemberAuditEntry | RepoRemoveTopicAuditEntry | Repository | RepositoryCustomProperty | RepositoryInvitation | RepositoryMigration | RepositoryRule | RepositoryRuleset | RepositoryRulesetBypassActor | RepositoryTopic | RepositoryVisibilityChangeDisableAuditEntry | RepositoryVisibilityChangeEnableAuditEntry | RepositoryVulnerabilityAlert | ReviewDismissalAllowance | ReviewDismissedEvent | ReviewRequest | ReviewRequestRemovedEvent | ReviewRequestedEvent | SavedReply | SecurityAdvisory | SponsorsActivity | SponsorsListing | SponsorsListingFeaturedItem | SponsorsTier | Sponsorship | SponsorshipNewsletter | Status | StatusCheckRollup | StatusContext | SubIssueAddedEvent | SubIssueRemovedEvent | SubscribedEvent | Team | TeamAddMemberAuditEntry | TeamAddRepositoryAuditEntry | TeamChangeParentTeamAuditEntry | TeamRemoveMemberAuditEntry | TeamRemoveRepositoryAuditEntry | Topic | TransferredEvent | Tree | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UnmarkedAsDuplicateEvent | UnpinnedEvent | UnsubscribedEvent | User | UserBlockedEvent | UserContentEdit | UserList | UserNamespaceRepository | UserStatus | VerifiableDomain | Workflow | WorkflowRun | WorkflowRunFile diff --git a/schema.json b/schema.json index 8cc7a1755..eebbe3884 100644 --- a/schema.json +++ b/schema.json @@ -388,6 +388,102 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "AccessUserNamespaceRepositoryInput", + "description": "Autogenerated input type of AccessUserNamespaceRepository", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "enterpriseId", + "description": "The ID of the enterprise owning the user namespace repository.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "repositoryId", + "description": "The ID of the user namespace repository to access.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AccessUserNamespaceRepositoryPayload", + "description": "Autogenerated return type of AccessUserNamespaceRepository.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiresAt", + "description": "The time that repository access expires at", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repository", + "description": "The repository that is temporarily accessible.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Repository", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INTERFACE", "name": "Actor", @@ -2366,8 +2462,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "AddUpvoteInput", - "description": "Autogenerated input type of AddUpvote", + "name": "AddSubIssueInput", + "description": "Autogenerated input type of AddSubIssue", "fields": null, "inputFields": [ { @@ -2381,8 +2477,8 @@ "defaultValue": null }, { - "name": "subjectId", - "description": "The Node ID of the discussion or comment to upvote.", + "name": "issueId", + "description": "The id of the issue.", "type": { "kind": "NON_NULL", "name": null, @@ -2393,6 +2489,36 @@ } }, "defaultValue": null + }, + { + "name": "subIssueId", + "description": "The id of the sub-issue.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "subIssueUrl", + "description": "The url of the sub-issue.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "replaceParent", + "description": "Option to replace parent issue if one already exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -2401,8 +2527,8 @@ }, { "kind": "OBJECT", - "name": "AddUpvotePayload", - "description": "Autogenerated return type of AddUpvote.", + "name": "AddSubIssuePayload", + "description": "Autogenerated return type of AddSubIssue.", "fields": [ { "name": "clientMutationId", @@ -2417,12 +2543,24 @@ "deprecationReason": null }, { - "name": "subject", - "description": "The votable subject.", + "name": "issue", + "description": "The parent issue that the sub-issue was added to.", "args": [], "type": { - "kind": "INTERFACE", - "name": "Votable", + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subIssue", + "description": "The sub-issue of the parent.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", "ofType": null }, "isDeprecated": false, @@ -2436,8 +2574,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "AddVerifiableDomainInput", - "description": "Autogenerated input type of AddVerifiableDomain", + "name": "AddUpvoteInput", + "description": "Autogenerated input type of AddUpvote", "fields": null, "inputFields": [ { @@ -2451,8 +2589,8 @@ "defaultValue": null }, { - "name": "ownerId", - "description": "The ID of the owner to add the domain to", + "name": "subjectId", + "description": "The Node ID of the discussion or comment to upvote.", "type": { "kind": "NON_NULL", "name": null, @@ -2463,20 +2601,6 @@ } }, "defaultValue": null - }, - { - "name": "domain", - "description": "The URL of the domain", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "URI", - "ofType": null - } - }, - "defaultValue": null } ], "interfaces": null, @@ -2485,8 +2609,8 @@ }, { "kind": "OBJECT", - "name": "AddVerifiableDomainPayload", - "description": "Autogenerated return type of AddVerifiableDomain.", + "name": "AddUpvotePayload", + "description": "Autogenerated return type of AddUpvote.", "fields": [ { "name": "clientMutationId", @@ -2501,12 +2625,12 @@ "deprecationReason": null }, { - "name": "domain", - "description": "The verifiable domain that was added.", + "name": "subject", + "description": "The votable subject.", "args": [], "type": { - "kind": "OBJECT", - "name": "VerifiableDomain", + "kind": "INTERFACE", + "name": "Votable", "ofType": null }, "isDeprecated": false, @@ -2519,85 +2643,78 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "AddedToMergeQueueEvent", - "description": "Represents an 'added_to_merge_queue' event on a given pull request.", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "AddVerifiableDomainInput", + "description": "Autogenerated input type of AddVerifiableDomain", + "fields": null, + "inputFields": [ { - "name": "actor", - "description": "Identifies the actor who performed the event.", - "args": [], + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", "type": { - "kind": "INTERFACE", - "name": "Actor", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.", - "args": [], + "name": "ownerId", + "description": "The ID of the owner to add the domain to", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enqueuer", - "description": "The user who added this Pull Request to the merge queue", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", - "description": "The Node ID of the AddedToMergeQueueEvent object", - "args": [], + "name": "domain", + "description": "The URL of the domain", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "URI", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddVerifiableDomainPayload", + "description": "Autogenerated return type of AddVerifiableDomain.", + "fields": [ { - "name": "mergeQueue", - "description": "The merge queue where this pull request was added to.", + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", "args": [], "type": { - "kind": "OBJECT", - "name": "MergeQueue", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pullRequest", - "description": "PullRequest referenced by event.", + "name": "domain", + "description": "The verifiable domain that was added.", "args": [], "type": { "kind": "OBJECT", - "name": "PullRequest", + "name": "VerifiableDomain", "ofType": null }, "isDeprecated": false, @@ -2605,20 +2722,111 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "AddedToProjectEvent", - "description": "Represents a 'added_to_project' event on a given issue or pull request.", + "name": "AddedToMergeQueueEvent", + "description": "Represents an 'added_to_merge_queue' event on a given pull request.", + "fields": [ + { + "name": "actor", + "description": "Identifies the actor who performed the event.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enqueuer", + "description": "The user who added this Pull Request to the merge queue", + "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The Node ID of the AddedToMergeQueueEvent object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mergeQueue", + "description": "The merge queue where this pull request was added to.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MergeQueue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pullRequest", + "description": "PullRequest referenced by event.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "PullRequest", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "AddedToProjectEvent", + "description": "Represents a 'added_to_project' event on a given issue or pull request.", "fields": [ { "name": "actor", @@ -2657,8 +2865,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -2697,8 +2905,8 @@ "name": "ProjectCard", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectColumnName", @@ -2713,8 +2921,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -2729,12 +2937,56 @@ "possibleTypes": null }, { - "kind": "INTERFACE", + "kind": "OBJECT", "name": "AnnouncementBanner", - "description": "Represents an announcement banner.", + "description": "An announcement banner for an enterprise or organization.", "fields": [ { - "name": "announcement", + "name": "createdAt", + "description": "The date the announcement was created", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expiresAt", + "description": "The expiration date of the announcement, if any", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isUserDismissible", + "description": "Whether the announcement can be dismissed by the user", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", "description": "The text of the announcement", "args": [], "type": { @@ -2744,6 +2996,29 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "AnnouncementBannerI", + "description": "Represents an announcement banner.", + "fields": [ + { + "name": "announcement", + "description": "The text of the announcement", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementCreatedAt", @@ -2754,8 +3029,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementExpiresAt", @@ -2766,8 +3041,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementUserDismissible", @@ -2778,8 +3053,8 @@ "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." } ], "inputFields": null, @@ -2803,6 +3078,18 @@ "name": "App", "description": "A GitHub App.", "fields": [ + { + "name": "clientId", + "description": "The client ID of the app.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "createdAt", "description": "Identifies the date and time when the object was created.", @@ -10957,6 +11244,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "duplicateIssueId", + "description": "ID of the issue that this is a duplicate of.", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -17461,8 +17758,8 @@ "name": "ProjectCard", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectColumnName", @@ -19535,6 +19832,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "parentIssueId", + "description": "The Node ID of the parent issue to add this new issue to", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -20125,6 +20432,16 @@ } }, "defaultValue": null + }, + { + "name": "iterationConfiguration", + "description": "Configuration for an iteration field.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ProjectV2IterationFieldConfigurationInput", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -23206,6 +23523,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "CvssSeverities", + "description": "The Common Vulnerability Scoring System", + "fields": [ + { + "name": "cvssV3", + "description": "The CVSS v3 severity associated with this advisory", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CVSS", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "cvssV4", + "description": "The CVSS v4 severity associated with this advisory", + "args": [], + "type": { + "kind": "OBJECT", + "name": "CVSS", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "Date", @@ -25555,6 +25907,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "relationship", + "description": "Public preview: The relationship of the dependency. Can be direct, transitive, or unknown", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "repository", "description": "The repository containing the package", @@ -26093,6 +26461,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "enabled", + "description": "Whether or not the deploy key is enabled by policy at the Enterprise or Organization level.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": "The Node ID of the DeployKey object", @@ -29354,6 +29738,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "viewerCanLabel", + "description": "Indicates if the viewer can edit labels for this object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "viewerCanReact", "description": "Can user react to this subject", @@ -32066,6 +32466,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "EPSS", + "description": "The Exploit Prediction Scoring System", + "fields": [ + { + "name": "percentage", + "description": "The EPSS percentage represents the likelihood of a CVE being exploited.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "percentile", + "description": "The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "EnablePullRequestAutoMergeInput", @@ -32302,6 +32737,18 @@ "name": "String", "ofType": null }, + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + }, + { + "name": "announcementBanner", + "description": "The announcement banner set on this enterprise, if any. Only visible to members of the enterprise.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "AnnouncementBanner", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, @@ -32314,8 +32761,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementExpiresAt", @@ -32326,8 +32773,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementUserDismissible", @@ -32338,8 +32785,8 @@ "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "avatarUrl", @@ -32540,7 +32987,7 @@ }, { "name": "hasTwoFactorEnabled", - "description": "Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance.", + "description": "Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n", "type": { "kind": "SCALAR", "name": "Boolean", @@ -32548,6 +32995,16 @@ }, "defaultValue": "null" }, + { + "name": "twoFactorMethodSecurity", + "description": "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.", + "type": { + "kind": "ENUM", + "name": "TwoFactorCredentialSecurityType", + "ofType": null + }, + "defaultValue": "null" + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -32760,6 +33217,86 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "ruleset", + "description": "Returns a single ruleset from the current enterprise by ID.", + "args": [ + { + "name": "databaseId", + "description": "The ID of the ruleset to be returned.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "RepositoryRuleset", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rulesets", + "description": "A list of rulesets for this enterprise.", + "args": [ + { + "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": "RepositoryRulesetConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "slug", "description": "The URL-friendly identifier for the enterprise.", @@ -32776,6 +33313,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "updatedAt", + "description": "Identifies the date and time when the object was last updated.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "url", "description": "The HTTP URL for this enterprise.", @@ -32792,6 +33345,83 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "userNamespaceRepositories", + "description": "A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users.", + "args": [ + { + "name": "query", + "description": "The search string to look for.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for repositories returned from the connection.", + "type": { + "kind": "INPUT_OBJECT", + "name": "RepositoryOrder", + "ofType": null + }, + "defaultValue": "{field: NAME, direction: ASC}" + }, + { + "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": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserNamespaceRepositoryConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "viewerIsAdmin", "description": "Is the current viewer an admin of this enterprise?", @@ -32825,7 +33455,7 @@ "interfaces": [ { "kind": "INTERFACE", - "name": "AnnouncementBanner", + "name": "AnnouncementBannerI", "ofType": null }, { @@ -33273,6 +33903,12 @@ "description": "Represents a billing manager of the enterprise account.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "UNAFFILIATED", + "description": "Unaffiliated member of the enterprise account without an admin role.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -33699,6 +34335,29 @@ ], "possibleTypes": null }, + { + "kind": "ENUM", + "name": "EnterpriseDisallowedMethodsSettingValue", + "description": "The possible values for an enabled/no policy enterprise setting.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "INSECURE", + "description": "The setting prevents insecure 2FA methods from being used by members of the enterprise.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NO_POLICY", + "description": "There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "EnterpriseEdge", @@ -35125,7 +35784,7 @@ }, { "name": "hasTwoFactorEnabled", - "description": "Only return administrators with this two-factor authentication status.", + "description": "Only return administrators with this two-factor authentication status.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n", "type": { "kind": "SCALAR", "name": "Boolean", @@ -35133,6 +35792,16 @@ }, "defaultValue": "null" }, + { + "name": "twoFactorMethodSecurity", + "description": "Only return outside collaborators with this type of two-factor authentication method.", + "type": { + "kind": "ENUM", + "name": "TwoFactorCredentialSecurityType", + "ofType": null + }, + "defaultValue": "null" + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -36725,7 +37394,7 @@ }, { "name": "hasTwoFactorEnabled", - "description": "Only return outside collaborators with this two-factor authentication status.", + "description": "Only return outside collaborators with this two-factor authentication status.\n\n**Upcoming Change on 2025-04-01 UTC**\n**Description:** `hasTwoFactorEnabled` will be removed. Use `two_factor_method_security` instead.\n**Reason:** `has_two_factor_enabled` will be removed.\n", "type": { "kind": "SCALAR", "name": "Boolean", @@ -36733,6 +37402,16 @@ }, "defaultValue": "null" }, + { + "name": "twoFactorMethodSecurity", + "description": "Only return outside collaborators with this type of two-factor authentication method.", + "type": { + "kind": "ENUM", + "name": "TwoFactorCredentialSecurityType", + "ofType": null + }, + "defaultValue": "null" + }, { "name": "organizationLogins", "description": "Only return outside collaborators within the organizations with these logins", @@ -37140,6 +37819,103 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "repositoryDeployKeySetting", + "description": "The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EnterpriseEnabledDisabledSettingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "repositoryDeployKeySettingOrganizations", + "description": "A list of enterprise organizations configured with the provided deploy keys setting value.", + "args": [ + { + "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 + }, + { + "name": "value", + "description": "The setting value to find organizations for.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "orderBy", + "description": "Ordering options for organizations with this setting.", + "type": { + "kind": "INPUT_OBJECT", + "name": "OrganizationOrder", + "ofType": null + }, + "defaultValue": "{field: LOGIN, direction: ASC}" + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "OrganizationConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "repositoryProjectsSetting", "description": "The setting value for whether repository projects are enabled in this enterprise.", @@ -37494,6 +38270,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "twoFactorDisallowedMethodsSetting", + "description": "The setting value for what methods of two-factor authentication the enterprise prevents its users from having.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EnterpriseDisallowedMethodsSettingValue", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "twoFactorRequiredSetting", "description": "The setting value for whether the enterprise requires two-factor authentication for its organizations and users.", @@ -40846,7 +41638,7 @@ { "kind": "OBJECT", "name": "FileExtensionRestrictionParameters", - "description": "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", + "description": "Prevent commits that include files with specified file extensions from being pushed to the commit graph.", "fields": [ { "name": "restrictedFileExtensions", @@ -40881,7 +41673,7 @@ { "kind": "INPUT_OBJECT", "name": "FileExtensionRestrictionParametersInput", - "description": "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", + "description": "Prevent commits that include files with specified file extensions from being pushed to the commit graph.", "fields": null, "inputFields": [ { @@ -40914,7 +41706,7 @@ { "kind": "OBJECT", "name": "FilePathRestrictionParameters", - "description": "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", + "description": "Prevent commits that include changes in specified file paths from being pushed to the commit graph.", "fields": [ { "name": "restrictedFilePaths", @@ -40949,7 +41741,7 @@ { "kind": "INPUT_OBJECT", "name": "FilePathRestrictionParametersInput", - "description": "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", + "description": "Prevent commits that include changes in specified file paths from being pushed to the commit graph.", "fields": null, "inputFields": [ { @@ -41425,6 +42217,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "THANKS_DEV", + "description": "thanks.dev funding platform.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "CUSTOM", "description": "Custom funding platform.", @@ -43426,6 +44224,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "verifiedAt", + "description": "The date the signature was verified, if valid", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "wasSignedByGitHub", "description": "True if the signature was made with GitHub's signing key.", @@ -43701,6 +44511,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "verifiedAt", + "description": "The date the signature was verified, if valid", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "wasSignedByGitHub", "description": "True if the signature was made with GitHub's signing key.", @@ -45786,6 +46608,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "parent", + "description": "The parent entity of the issue.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "participants", "description": "A list of Users that are participating in the Issue conversation.", @@ -46014,7 +46848,7 @@ "args": [ { "name": "query", - "description": "A project to search for under the the owner.", + "description": "A project to search for under the owner.", "type": { "kind": "SCALAR", "name": "String", @@ -46255,7 +47089,18 @@ { "name": "stateReason", "description": "Identifies the reason for the issue state.", - "args": [], + "args": [ + { + "name": "enableDuplicate", + "description": "Whether or not to return state reason for duplicates", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], "type": { "kind": "ENUM", "name": "IssueStateReason", @@ -46264,6 +47109,79 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "subIssues", + "description": "A list of sub-issues associated with the Issue.", + "args": [ + { + "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": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "IssueConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subIssuesSummary", + "description": "Summary of the state of an issue's sub-issues", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SubIssuesSummary", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "timeline", "description": "A list of events, comments, commits, etc. associated with the issue.", @@ -46720,6 +47638,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "viewerCanLabel", + "description": "Indicates if the viewer can edit labels for this object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "viewerCanReact", "description": "Can user react to this subject", @@ -46961,6 +47895,12 @@ "description": "An issue that has been closed as not planned", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "DUPLICATE", + "description": "An issue that has been closed as a duplicate", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -48223,6 +49163,12 @@ "description": "An issue that has been closed as completed", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "DUPLICATE", + "description": "An issue that has been closed as a duplicate. To retrieve this value, set `(enableDuplicate: true)` when querying the stateReason field.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -48740,6 +49686,16 @@ "name": "MovedColumnsInProjectEvent", "ofType": null }, + { + "kind": "OBJECT", + "name": "ParentIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ParentIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "PinnedEvent", @@ -48765,6 +49721,16 @@ "name": "ReopenedEvent", "ofType": null }, + { + "kind": "OBJECT", + "name": "SubIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "SubscribedEvent", @@ -49167,6 +50133,30 @@ "description": "Represents an 'unsubscribed' event on a given `Subscribable`.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "Represents a 'sub_issue_added' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "Represents a 'sub_issue_removed' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARENT_ISSUE_ADDED_EVENT", + "description": "Represents a 'parent_issue_added' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARENT_ISSUE_REMOVED_EVENT", + "description": "Represents a 'parent_issue_removed' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -49912,6 +50902,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "viewerCanLabel", + "description": "Indicates if the viewer can edit labels for this object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -51813,88 +52819,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "MarkNotificationAsDoneInput", - "description": "Autogenerated input type of MarkNotificationAsDone", - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": "The NotificationThread id.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MarkNotificationAsDonePayload", - "description": "Autogenerated return type of MarkNotificationAsDone.", - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "success", - "description": "Did the operation succeed?", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "viewer", - "description": "The user that the notification belongs to.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", "name": "MarkProjectV2AsTemplateInput", @@ -53286,7 +54210,7 @@ { "kind": "OBJECT", "name": "MaxFilePathLengthParameters", - "description": "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", + "description": "Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "fields": [ { "name": "maxFilePathLength", @@ -53313,7 +54237,7 @@ { "kind": "INPUT_OBJECT", "name": "MaxFilePathLengthParametersInput", - "description": "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", + "description": "Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "fields": null, "inputFields": [ { @@ -53338,7 +54262,7 @@ { "kind": "OBJECT", "name": "MaxFileSizeParameters", - "description": "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", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.", "fields": [ { "name": "maxFileSize", @@ -53365,7 +54289,7 @@ { "kind": "INPUT_OBJECT", "name": "MaxFileSizeParametersInput", - "description": "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", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.", "fields": null, "inputFields": [ { @@ -55413,6 +56337,58 @@ ], "possibleTypes": null }, + { + "kind": "ENUM", + "name": "MergeQueueGroupingStrategy", + "description": "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.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ALLGREEN", + "description": "The merge commit created by merge queue for each PR in the group must pass all required checks to merge", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEADGREEN", + "description": "Only the commit at the head of the merge group must pass its required checks to merge.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "MergeQueueMergeMethod", + "description": "Method to use when merging changes from queued pull requests.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "MERGE", + "description": "Merge commit", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SQUASH", + "description": "Squash and merge", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "REBASE", + "description": "Rebase and merge", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "ENUM", "name": "MergeQueueMergingStrategy", @@ -55436,6 +56412,238 @@ ], "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "MergeQueueParameters", + "description": "Merges must be performed via a merge queue.", + "fields": [ + { + "name": "checkResponseTimeoutMinutes", + "description": "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", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "groupingStrategy", + "description": "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.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MergeQueueGroupingStrategy", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxEntriesToBuild", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maxEntriesToMerge", + "description": "The maximum number of PRs that will be merged together in a group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mergeMethod", + "description": "Method to use when merging changes from queued pull requests.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MergeQueueMergeMethod", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "minEntriesToMerge", + "description": "The minimum number of PRs that will be merged together in a group.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "minEntriesToMergeWaitMinutes", + "description": "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.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "MergeQueueParametersInput", + "description": "Merges must be performed via a merge queue.", + "fields": null, + "inputFields": [ + { + "name": "checkResponseTimeoutMinutes", + "description": "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", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "groupingStrategy", + "description": "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.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MergeQueueGroupingStrategy", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "maxEntriesToBuild", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "maxEntriesToMerge", + "description": "The maximum number of PRs that will be merged together in a group.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "mergeMethod", + "description": "Method to use when merging changes from queued pull requests.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "MergeQueueMergeMethod", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "minEntriesToMerge", + "description": "The minimum number of PRs that will be merged together in a group.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "minEntriesToMergeWaitMinutes", + "description": "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.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", "name": "MergeStateStatus", @@ -57252,8 +58460,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -57284,8 +58492,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "project", @@ -57308,8 +58516,8 @@ "name": "ProjectCard", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectColumnName", @@ -57324,8 +58532,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -57479,6 +58687,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "accessUserNamespaceRepository", + "description": "Access user namespace repository for a temporary duration.", + "args": [ + { + "name": "input", + "description": "Parameters for AccessUserNamespaceRepository", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AccessUserNamespaceRepositoryInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "AccessUserNamespaceRepositoryPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "addAssigneesToAssignable", "description": "Adds assignees to an assignable object.", @@ -57692,8 +58927,8 @@ "name": "AddProjectCardPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "addProjectColumn", @@ -57719,8 +58954,8 @@ "name": "AddProjectColumnPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "addProjectV2DraftIssue", @@ -57938,6 +59173,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "addSubIssue", + "description": "Adds a sub-issue to a given issue", + "args": [ + { + "name": "input", + "description": "Parameters for AddSubIssue", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AddSubIssueInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "AddSubIssuePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "addUpvote", "description": "Add an upvote to a discussion or discussion comment.", @@ -58286,8 +59548,8 @@ "name": "CloneProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "cloneTemplateRepository", @@ -58421,8 +59683,8 @@ "name": "ConvertProjectCardNoteToIssuePayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "convertProjectV2DraftIssueItemToIssue", @@ -58934,8 +60196,8 @@ "name": "CreateProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "createProjectV2", @@ -59663,8 +60925,8 @@ "name": "DeleteProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "deleteProjectCard", @@ -59690,8 +60952,8 @@ "name": "DeleteProjectCardPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "deleteProjectColumn", @@ -59717,8 +60979,8 @@ "name": "DeleteProjectColumnPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "deleteProjectV2", @@ -60365,8 +61627,8 @@ "name": "ImportProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "inviteEnterpriseAdmin", @@ -60500,8 +61762,8 @@ "name": "LinkRepositoryToProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "lockLockable", @@ -60584,33 +61846,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "markNotificationAsDone", - "description": "Marks a notification as done", - "args": [ - { - "name": "input", - "description": "Parameters for MarkNotificationAsDone", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "MarkNotificationAsDoneInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "MarkNotificationAsDonePayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "markProjectV2AsTemplate", "description": "Mark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.", @@ -60770,8 +62005,8 @@ "name": "MoveProjectCardPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "moveProjectColumn", @@ -60797,8 +62032,8 @@ "name": "MoveProjectColumnPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "pinEnvironment", @@ -61232,6 +62467,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "removeSubIssue", + "description": "Removes a sub-issue from a given issue", + "args": [ + { + "name": "input", + "description": "Parameters for RemoveSubIssue", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "RemoveSubIssueInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "RemoveSubIssuePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "removeUpvote", "description": "Remove an upvote to a discussion or discussion comment.", @@ -61367,6 +62629,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "reprioritizeSubIssue", + "description": "Reprioritizes a sub-issue to a different position in the parent list.", + "args": [ + { + "name": "input", + "description": "Parameters for ReprioritizeSubIssue", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ReprioritizeSubIssueInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "ReprioritizeSubIssuePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "requestReviews", "description": "Set review requests on a pull request.", @@ -61985,8 +63274,8 @@ "name": "UnlinkRepositoryFromProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "unlockLockable", @@ -62204,33 +63493,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "unsubscribeFromNotifications", - "description": "Unsubscribes from notifications", - "args": [ - { - "name": "input", - "description": "Parameters for UnsubscribeFromNotifications", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UnsubscribeFromNotificationsInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UnsubscribeFromNotificationsPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "updateBranchProtectionRule", "description": "Update a branch protection rule", @@ -62447,6 +63709,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "updateEnterpriseDeployKeySetting", + "description": "Sets whether deploy keys are allowed to be created and used for an enterprise.", + "args": [ + { + "name": "input", + "description": "Parameters for UpdateEnterpriseDeployKeySetting", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateEnterpriseDeployKeySettingInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UpdateEnterpriseDeployKeySettingPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "updateEnterpriseMembersCanChangeRepositoryVisibilitySetting", "description": "Sets whether organization members with admin permissions on a repository can change repository visibility.", @@ -62798,6 +64087,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "updateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting", + "description": "Sets the two-factor authentication methods that users of an enterprise may not use.", + "args": [ + { + "name": "input", + "description": "Parameters for UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "updateEnterpriseTwoFactorAuthenticationRequiredSetting", "description": "Sets whether two factor authentication is required for all users in an enterprise.", @@ -63146,8 +64462,8 @@ "name": "UpdateProjectPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "updateProjectCard", @@ -63173,8 +64489,8 @@ "name": "UpdateProjectCardPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "updateProjectColumn", @@ -63200,8 +64516,8 @@ "name": "UpdateProjectColumnPayload", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "updateProjectV2", @@ -63284,6 +64600,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "updateProjectV2Field", + "description": "Update a project field.", + "args": [ + { + "name": "input", + "description": "Parameters for UpdateProjectV2Field", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateProjectV2FieldInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UpdateProjectV2FieldPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "updateProjectV2ItemFieldValue", "description": "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.", @@ -64550,6 +65893,16 @@ "name": "PackageVersion", "ofType": null }, + { + "kind": "OBJECT", + "name": "ParentIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ParentIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "PinnedDiscussion", @@ -64710,6 +66063,11 @@ "name": "PushAllowance", "ofType": null }, + { + "kind": "OBJECT", + "name": "Query", + "ofType": null + }, { "kind": "OBJECT", "name": "Reaction", @@ -64985,6 +66343,16 @@ "name": "StatusContext", "ofType": null }, + { + "kind": "OBJECT", + "name": "SubIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "SubscribedEvent", @@ -65100,6 +66468,11 @@ "name": "UserList", "ofType": null }, + { + "kind": "OBJECT", + "name": "UserNamespaceRepository", + "ofType": null + }, { "kind": "OBJECT", "name": "UserStatus", @@ -74389,6 +75762,18 @@ "name": "String", "ofType": null }, + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." + }, + { + "name": "announcementBanner", + "description": "The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "AnnouncementBanner", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, @@ -74401,8 +75786,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementExpiresAt", @@ -74413,8 +75798,8 @@ "name": "DateTime", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "announcementUserDismissible", @@ -74425,8 +75810,8 @@ "name": "Boolean", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "The individual `announcementX` fields do not follow our standard GraphQL patterns. Use the `announcementBanner` object instead. Removal on 2025-04-01 UTC." }, { "name": "anyPinnableItems", @@ -75791,8 +77176,8 @@ "name": "Project", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectV2", @@ -75913,8 +77298,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectsResourcePath", @@ -75954,7 +77339,7 @@ "args": [ { "name": "query", - "description": "A project to search for under the the owner.", + "description": "A project to search for under the owner.", "type": { "kind": "SCALAR", "name": "String", @@ -76598,6 +77983,16 @@ } }, "defaultValue": null + }, + { + "name": "includeParents", + "description": "Include rulesets configured at higher levels that apply to this organization.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" } ], "type": { @@ -76661,6 +78056,24 @@ "ofType": null }, "defaultValue": "true" + }, + { + "name": "targets", + "description": "Return rulesets that apply to the specified target", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryRulesetTarget", + "ofType": null + } + } + }, + "defaultValue": "null" } ], "type": { @@ -77750,7 +79163,7 @@ }, { "kind": "INTERFACE", - "name": "AnnouncementBanner", + "name": "AnnouncementBannerI", "ofType": null }, { @@ -81607,6 +83020,152 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "ParentIssueAddedEvent", + "description": "Represents a 'parent_issue_added' event on a given issue.", + "fields": [ + { + "name": "actor", + "description": "Identifies the actor who performed the event.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The Node ID of the ParentIssueAddedEvent object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent", + "description": "The parent issue added.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ParentIssueRemovedEvent", + "description": "Represents a 'parent_issue_removed' event on a given issue.", + "fields": [ + { + "name": "actor", + "description": "Identifies the actor who performed the event.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The Node ID of the ParentIssueRemovedEvent object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent", + "description": "The parent issue removed.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", "name": "PatchStatus", @@ -84203,8 +85762,8 @@ "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "bodyHTML", @@ -84219,8 +85778,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "closed", @@ -84304,8 +85863,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "createdAt", @@ -84320,8 +85879,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "creator", @@ -84332,8 +85891,8 @@ "name": "Actor", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "databaseId", @@ -84344,8 +85903,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -84360,8 +85919,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "name", @@ -84376,8 +85935,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "number", @@ -84392,8 +85951,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "owner", @@ -84408,8 +85967,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "pendingCards", @@ -84479,8 +86038,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "progress", @@ -84495,8 +86054,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "resourcePath", @@ -84511,8 +86070,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "state", @@ -84527,8 +86086,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "updatedAt", @@ -84543,8 +86102,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "url", @@ -84559,8 +86118,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "viewerCanClose", @@ -84646,8 +86205,8 @@ "name": "ProjectColumn", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "content", @@ -84658,8 +86217,8 @@ "name": "ProjectCardItem", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "createdAt", @@ -84674,8 +86233,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "creator", @@ -84686,8 +86245,8 @@ "name": "Actor", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "databaseId", @@ -84698,8 +86257,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -84714,8 +86273,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "isArchived", @@ -84730,8 +86289,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "note", @@ -84742,8 +86301,8 @@ "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "project", @@ -84758,8 +86317,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "resourcePath", @@ -84774,8 +86333,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "state", @@ -84786,8 +86345,8 @@ "name": "ProjectCardState", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "updatedAt", @@ -84802,8 +86361,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "url", @@ -84818,8 +86377,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -85132,8 +86691,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "createdAt", @@ -85148,8 +86707,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "databaseId", @@ -85160,8 +86719,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -85176,8 +86735,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "name", @@ -85192,8 +86751,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "project", @@ -85208,8 +86767,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "purpose", @@ -85220,8 +86779,8 @@ "name": "ProjectColumnPurpose", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "resourcePath", @@ -85236,8 +86795,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "updatedAt", @@ -85252,8 +86811,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "url", @@ -85268,8 +86827,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -85710,8 +87269,8 @@ "name": "Project", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projects", @@ -85805,8 +87364,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectsResourcePath", @@ -85896,8 +87455,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "donePercentage", @@ -85912,8 +87471,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "enabled", @@ -85928,8 +87487,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "inProgressCount", @@ -85944,8 +87503,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "inProgressPercentage", @@ -85960,8 +87519,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "todoCount", @@ -85976,8 +87535,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "todoPercentage", @@ -85992,8 +87551,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -86129,8 +87688,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC." }, { "name": "field", @@ -86226,6 +87785,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "fullDatabaseId", + "description": "Identifies the primary key from the database as a BigInt.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "BigInt", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": "The Node ID of the ProjectV2 object", @@ -87206,6 +88777,12 @@ "description": "Date", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "ITERATION", + "description": "Iteration", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -87927,6 +89504,18 @@ "description": "Tracked by", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "PARENT_ISSUE", + "description": "Parent issue", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUB_ISSUES_PROGRESS", + "description": "Sub-issues progress", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -88067,8 +89656,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC." }, { "name": "fieldValueByName", @@ -90106,6 +91695,59 @@ ], "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "ProjectV2Iteration", + "description": "Represents an iteration", + "fields": null, + "inputFields": [ + { + "name": "startDate", + "description": "The start date for the iteration.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "duration", + "description": "The duration of the iteration, in days.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "title", + "description": "The title for the iteration.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "ProjectV2IterationField", @@ -90343,6 +91985,67 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "ProjectV2IterationFieldConfigurationInput", + "description": "Represents an iteration field configuration.", + "fields": null, + "inputFields": [ + { + "name": "startDate", + "description": "The start date for the first iteration.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "duration", + "description": "The duration of each iteration, in days.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "iterations", + "description": "Zero or more iterations for the field.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ProjectV2Iteration", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "ProjectV2IterationFieldIteration", @@ -90562,7 +92265,7 @@ "args": [ { "name": "query", - "description": "A project to search for under the the owner.", + "description": "A project to search for under the owner.", "type": { "kind": "SCALAR", "name": "String", @@ -91652,6 +93355,18 @@ "name": "Int", "ofType": null }, + "isDeprecated": true, + "deprecationReason": "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC." + }, + { + "name": "fullDatabaseId", + "description": "Identifies the primary key from the database as a BigInt.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "BigInt", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, @@ -91953,8 +93668,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC." }, { "name": "fields", @@ -92031,6 +93746,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "fullDatabaseId", + "description": "Identifies the primary key from the database as a BigInt.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "BigInt", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "groupBy", "description": "The view's group-by field.", @@ -92801,8 +94528,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "isDeprecated": true, + "deprecationReason": "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2025-04-01 UTC." }, { "name": "enabled", @@ -92820,6 +94547,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "fullDatabaseId", + "description": "Identifies the primary key from the database as a BigInt.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "BigInt", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": "The Node ID of the ProjectV2Workflow object", @@ -93845,7 +95584,7 @@ }, { "name": "closingIssuesReferences", - "description": "List of issues that were may be closed by this pull request", + "description": "List of issues that may be closed by this pull request", "args": [ { "name": "userLinkedOnly", @@ -94995,7 +96734,7 @@ "args": [ { "name": "query", - "description": "A project to search for under the the owner.", + "description": "A project to search for under the owner.", "type": { "kind": "SCALAR", "name": "String", @@ -95887,6 +97626,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "viewerCanLabel", + "description": "Indicates if the viewer can edit labels for this object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "viewerCanMergeAsAdmin", "description": "Indicates whether the viewer can bypass branch protections and merge the pull request immediately", @@ -97100,6 +98855,26 @@ "name": "PullRequestParameters", "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.", "fields": [ + { + "name": "allowedMergeMethods", + "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "dismissStaleReviewsOnPush", "description": "New, reviewable commits pushed will dismiss previous pull request review approvals.", @@ -97192,6 +98967,24 @@ "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.", "fields": null, "inputFields": [ + { + "name": "allowedMergeMethods", + "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "dismissStaleReviewsOnPush", "description": "New, reviewable commits pushed will dismiss previous pull request review approvals.", @@ -100752,6 +102545,16 @@ "name": "MovedColumnsInProjectEvent", "ofType": null }, + { + "kind": "OBJECT", + "name": "ParentIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ParentIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "PinnedEvent", @@ -100827,6 +102630,16 @@ "name": "ReviewRequestedEvent", "ofType": null }, + { + "kind": "OBJECT", + "name": "SubIssueAddedEvent", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "SubIssueRemovedEvent", + "ofType": null + }, { "kind": "OBJECT", "name": "SubscribedEvent", @@ -101391,6 +103204,30 @@ "description": "Represents an 'unsubscribed' event on a given `Subscribable`.", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "SUB_ISSUE_ADDED_EVENT", + "description": "Represents a 'sub_issue_added' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUB_ISSUE_REMOVED_EVENT", + "description": "Represents a 'sub_issue_removed' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARENT_ISSUE_ADDED_EVENT", + "description": "Represents a 'parent_issue_added' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PARENT_ISSUE_REMOVED_EVENT", + "description": "Represents a 'parent_issue_removed' event on a given issue.", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -101811,7 +103648,7 @@ "args": [ { "name": "userLogin", - "description": "The login of the user invited to join the business.", + "description": "The login of the user invited to join the enterprise.", "type": { "kind": "NON_NULL", "name": null, @@ -101839,7 +103676,7 @@ }, { "name": "role", - "description": "The role for the business member invitation.", + "description": "The role for the enterprise member invitation.", "type": { "kind": "NON_NULL", "name": null, @@ -101893,7 +103730,7 @@ "args": [ { "name": "userLogin", - "description": "The login of the user invited to join the business.", + "description": "The login of the user invited to join the enterprise.", "type": { "kind": "NON_NULL", "name": null, @@ -101955,6 +103792,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "id", + "description": "ID of the object.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "license", "description": "Look up an open source license by its key", @@ -102684,6 +104537,26 @@ }, "defaultValue": null }, + { + "name": "epssPercentage", + "description": "The EPSS percentage to filter advisories by.", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "epssPercentile", + "description": "The EPSS percentile to filter advisories by.", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -103066,7 +104939,13 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, @@ -107581,6 +109460,102 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "RemoveSubIssueInput", + "description": "Autogenerated input type of RemoveSubIssue", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issueId", + "description": "The id of the issue.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "subIssueId", + "description": "The id of the sub-issue.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "RemoveSubIssuePayload", + "description": "Autogenerated return type of RemoveSubIssue.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "The parent of the sub-issue.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subIssue", + "description": "The sub-issue of the parent.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "RemoveUpvoteInput", @@ -107814,8 +109789,8 @@ "name": "Int", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "id", @@ -107858,8 +109833,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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." } ], "inputFields": null, @@ -108716,7 +110691,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -109065,7 +111040,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -109751,7 +111726,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -113565,7 +115540,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -113914,7 +115889,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -114263,7 +116238,7 @@ "enumValues": [ { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null }, @@ -117319,8 +119294,8 @@ "name": "Project", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectV2", @@ -117441,8 +119416,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectsResourcePath", @@ -118199,6 +120174,24 @@ "ofType": null }, "defaultValue": "true" + }, + { + "name": "targets", + "description": "Return rulesets that apply to the specified target", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "RepositoryRulesetTarget", + "ofType": null + } + } + }, + "defaultValue": "null" } ], "type": { @@ -122809,25 +124802,25 @@ }, { "name": "FILE_PATH_RESTRICTION", - "description": "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", + "description": "Prevent commits that include changes in specified file paths from being pushed to the commit graph.", "isDeprecated": false, "deprecationReason": null }, { "name": "MAX_FILE_PATH_LENGTH", - "description": "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", + "description": "Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph.", "isDeprecated": false, "deprecationReason": null }, { "name": "FILE_EXTENSION_RESTRICTION", - "description": "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", + "description": "Prevent commits that include files with specified file extensions from being pushed to the commit graph.", "isDeprecated": false, "deprecationReason": null }, { "name": "MAX_FILE_SIZE", - "description": "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", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.", "isDeprecated": false, "deprecationReason": null }, @@ -123172,6 +125165,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "enterpriseOwner", + "description": "This actor represents the ability for an enterprise owner to bypass", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": "The Node ID of the RepositoryRulesetBypassActor object", @@ -123425,6 +125434,16 @@ }, "defaultValue": null }, + { + "name": "enterpriseOwner", + "description": "For enterprise owner bypasses, true", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, { "name": "deployKey", "description": "For deploy key bypasses, true. Can only use ALWAYS as the bypass mode", @@ -123571,7 +125590,7 @@ { "kind": "ENUM", "name": "RepositoryRulesetTarget", - "description": "The targets supported for rulesets. NOTE: The push target is in beta and subject to change.", + "description": "The targets supported for rulesets.", "fields": null, "inputFields": null, "interfaces": null, @@ -123593,6 +125612,12 @@ "description": "Push", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "REPOSITORY", + "description": "repository", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -123819,7 +125844,7 @@ }, { "name": "INTERNAL", - "description": "The repository is visible only to users in the same business.", + "description": "The repository is visible only to users in the same enterprise.", "isDeprecated": false, "deprecationReason": null } @@ -124856,6 +126881,110 @@ ], "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "ReprioritizeSubIssueInput", + "description": "Autogenerated input type of ReprioritizeSubIssue", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issueId", + "description": "The id of the parent issue.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "subIssueId", + "description": "The id of the sub-issue to reprioritize.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "afterId", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified).", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "beforeId", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified).", + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ReprioritizeSubIssuePayload", + "description": "Autogenerated return type of ReprioritizeSubIssue.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "The parent issue that the sub-issue was reprioritized in.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "RequestReviewsInput", @@ -125388,6 +127517,22 @@ "name": "RequiredStatusChecksParameters", "description": "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.", "fields": [ + { + "name": "doNotEnforceOnCreate", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "requiredStatusChecks", "description": "Status checks that are required.", @@ -125440,6 +127585,16 @@ "description": "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.", "fields": null, "inputFields": [ + { + "name": "doNotEnforceOnCreate", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, { "name": "requiredStatusChecks", "description": "Status checks that are required.", @@ -127078,6 +129233,11 @@ "name": "MaxFileSizeParameters", "ofType": null }, + { + "kind": "OBJECT", + "name": "MergeQueueParameters", + "ofType": null + }, { "kind": "OBJECT", "name": "PullRequestParameters", @@ -127126,6 +129286,16 @@ }, "defaultValue": null }, + { + "name": "mergeQueue", + "description": "Parameters used for the `merge_queue` rule type", + "type": { + "kind": "INPUT_OBJECT", + "name": "MergeQueueParametersInput", + "ofType": null + }, + "defaultValue": null + }, { "name": "requiredDeployments", "description": "Parameters used for the `required_deployments` rule type", @@ -127280,6 +129450,11 @@ "interfaces": null, "enumValues": null, "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Enterprise", + "ofType": null + }, { "kind": "OBJECT", "name": "Organization", @@ -127967,6 +130142,22 @@ "ofType": null } }, + "isDeprecated": true, + "deprecationReason": "`cvss` will be removed. New `cvss_severities` field will now contain both `cvss_v3` and `cvss_v4` properties. Removal on 2025-10-01 UTC." + }, + { + "name": "cvssSeverities", + "description": "The CVSS associated with this advisory", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CvssSeverities", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, @@ -128055,6 +130246,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "epss", + "description": "The Exploit Prediction Scoring System", + "args": [], + "type": { + "kind": "OBJECT", + "name": "EPSS", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "ghsaId", "description": "The GitHub Security Advisory ID", @@ -128769,6 +130972,18 @@ "description": "Order advisories by update time", "isDeprecated": false, "deprecationReason": null + }, + { + "name": "EPSS_PERCENTAGE", + "description": "Order advisories by EPSS percentage", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EPSS_PERCENTILE", + "description": "Order advisories by EPSS percentile", + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -129693,6 +131908,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "verifiedAt", + "description": "The date the signature was verified, if valid", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "wasSignedByGitHub", "description": "True if the signature was made with GitHub's signing key.", @@ -129962,6 +132189,12 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "BLUESKY", + "description": "Decentralized microblogging social platform.", + "isDeprecated": false, + "deprecationReason": null + }, { "name": "NPM", "description": "JavaScript package registry.", @@ -135515,6 +137748,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "verifiedAt", + "description": "The date the signature was verified, if valid", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "wasSignedByGitHub", "description": "True if the signature was made with GitHub's signing key.", @@ -137284,6 +139529,211 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "SubIssueAddedEvent", + "description": "Represents a 'sub_issue_added' event on a given issue.", + "fields": [ + { + "name": "actor", + "description": "Identifies the actor who performed the event.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The Node ID of the SubIssueAddedEvent object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subIssue", + "description": "The sub-issue added.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubIssueRemovedEvent", + "description": "Represents a 'sub_issue_removed' event on a given issue.", + "fields": [ + { + "name": "actor", + "description": "Identifies the actor who performed the event.", + "args": [], + "type": { + "kind": "INTERFACE", + "name": "Actor", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": "Identifies the date and time when the object was created.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The Node ID of the SubIssueRemovedEvent object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subIssue", + "description": "The sub-issue removed.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Issue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SubIssuesSummary", + "description": "Summary of the state of an issue's sub-issues", + "fields": [ + { + "name": "completed", + "description": "Count of completed sub-issues", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "percentCompleted", + "description": "Percent of sub-issues which are completed", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total", + "description": "Count of total number of sub-issues", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "SubmitPullRequestReviewInput", @@ -145081,6 +147531,35 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "TwoFactorCredentialSecurityType", + "description": "Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SECURE", + "description": "Has only secure methods of two-factor authentication.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INSECURE", + "description": "Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DISABLED", + "description": "No method of two-factor authentication.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "SCALAR", "name": "URI", @@ -145752,6 +148231,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "verifiedAt", + "description": "The date the signature was verified, if valid", + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "wasSignedByGitHub", "description": "True if the signature was made with GitHub's signing key.", @@ -147004,84 +149495,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "UnsubscribeFromNotificationsInput", - "description": "Autogenerated input type of UnsubscribeFromNotifications", - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ids", - "description": "The NotificationThread IDs of the objects to unsubscribe from.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UnsubscribeFromNotificationsPayload", - "description": "Autogenerated return type of UnsubscribeFromNotifications.", - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "success", - "description": "Did the operation succeed?", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "UnsubscribedEvent", @@ -148492,6 +150905,102 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateEnterpriseDeployKeySettingInput", + "description": "Autogenerated input type of UpdateEnterpriseDeployKeySetting", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "enterpriseId", + "description": "The ID of the enterprise on which to set the deploy key setting.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "settingValue", + "description": "The value for the deploy key setting on the enterprise.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EnterpriseEnabledDisabledSettingValue", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UpdateEnterpriseDeployKeySettingPayload", + "description": "Autogenerated return type of UpdateEnterpriseDeployKeySetting.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enterprise", + "description": "The enterprise with the updated deploy key setting.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Enterprise", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "A message confirming the result of updating the deploy key setting.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput", @@ -149792,6 +152301,102 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput", + "description": "Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "enterpriseId", + "description": "The ID of the enterprise on which to set the two-factor authentication disallowed methods setting.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "settingValue", + "description": "The value for the two-factor authentication disallowed methods setting on the enterprise.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EnterpriseDisallowedMethodsSettingValue", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingPayload", + "description": "Autogenerated return type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enterprise", + "description": "The enterprise with the updated two-factor authentication disallowed methods setting.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Enterprise", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "message", + "description": "A message confirming the result of updating the two-factor authentication disallowed methods setting.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput", @@ -151565,6 +154170,114 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateProjectV2FieldInput", + "description": "Autogenerated input type of UpdateProjectV2Field", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "fieldId", + "description": "The ID of the field to update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "name", + "description": "The name to update.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "singleSelectOptions", + "description": "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.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ProjectV2SingleSelectFieldOptionInput", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "iterationConfiguration", + "description": "Configuration for an iteration field.", + "type": { + "kind": "INPUT_OBJECT", + "name": "ProjectV2IterationFieldConfigurationInput", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UpdateProjectV2FieldPayload", + "description": "Autogenerated return type of UpdateProjectV2Field.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectV2Field", + "description": "The updated field.", + "args": [], + "type": { + "kind": "UNION", + "name": "ProjectV2FieldConfiguration", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "UpdateProjectV2Input", @@ -155850,8 +158563,8 @@ "name": "Project", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectV2", @@ -155972,8 +158685,8 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "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": "projectsResourcePath", @@ -156013,7 +158726,7 @@ "args": [ { "name": "query", - "description": "A project to search for under the the owner.", + "description": "A project to search for under the owner.", "type": { "kind": "SCALAR", "name": "String", @@ -157849,6 +160562,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "userViewType", + "description": "Whether the request returns publicly visible information or privately visible information about the user", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "UserViewType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "viewerCanChangePinnedItems", "description": "Can the viewer pin repositories and gists to the profile?", @@ -159190,6 +161919,201 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "UserNamespaceRepository", + "description": "A repository owned by an Enterprise Managed user.", + "fields": [ + { + "name": "id", + "description": "The Node ID of the UserNamespaceRepository object", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The name of the repository.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nameWithOwner", + "description": "The repository's name with owner.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "owner", + "description": "The user owner of the repository.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "RepositoryOwner", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserNamespaceRepositoryConnection", + "description": "A list of repositories owned by users in an enterprise with Enterprise Managed Users.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserNamespaceRepositoryEdge", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of nodes.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserNamespaceRepository", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalCount", + "description": "Identifies the total count of items in the connection.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserNamespaceRepositoryEdge", + "description": "An edge in a connection.", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "UserNamespaceRepository", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "UserStatus", @@ -159517,6 +162441,29 @@ ], "possibleTypes": null }, + { + "kind": "ENUM", + "name": "UserViewType", + "description": "Whether a user being viewed contains public or private information.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PUBLIC", + "description": "A user that is publicly visible.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PRIVATE", + "description": "A user containing information only visible to the authenticated user.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "VerifiableDomain", @@ -161185,6 +164132,22 @@ "name": "WorkflowsParameters", "description": "Require all changes made to a targeted branch to pass the specified workflows before they can be merged.", "fields": [ + { + "name": "doNotEnforceOnCreate", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "workflows", "description": "Workflows that must pass for this rule to pass.", @@ -161221,6 +164184,16 @@ "description": "Require all changes made to a targeted branch to pass the specified workflows before they can be merged.", "fields": null, "inputFields": [ + { + "name": "doNotEnforceOnCreate", + "description": "Allow repositories and branches to be created if a check would otherwise prohibit it.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, { "name": "workflows", "description": "Workflows that must pass for this rule to pass.",