//#region src/github-schema.d.ts type Maybe = T | null; type InputMaybe = Maybe; /** All built-in and custom scalars, mapped to their actual values */ type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; /** A (potentially binary) string encoded using base64. */ Base64String: { input: unknown; output: unknown; }; /** * Represents non-fractional signed whole numeric values. Since the value may * exceed the size of a 32-bit integer, it's encoded as a string. */ BigInt: { input: unknown; output: unknown; }; /** * 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. */ CustomPropertyValue: { input: unknown; output: unknown; }; /** An ISO-8601 encoded date string. */ Date: { input: unknown; output: unknown; }; /** An ISO-8601 encoded UTC date string. */ DateTime: { input: unknown; output: unknown; }; /** A Git object ID. */ GitObjectID: { input: unknown; output: unknown; }; /** A fully qualified reference name (e.g. `refs/heads/master`). */ GitRefname: { input: unknown; output: unknown; }; /** Git SSH string */ GitSSHRemote: { input: unknown; output: unknown; }; /** An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. */ GitTimestamp: { input: unknown; output: unknown; }; /** A string containing HTML code. */ HTML: { input: unknown; output: unknown; }; /** An ISO-8601 encoded UTC date string with millisecond precision. */ PreciseDateTime: { input: unknown; output: unknown; }; /** An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. */ URI: { input: unknown; output: unknown; }; /** A valid x509 certificate string */ X509Certificate: { input: unknown; output: unknown; }; _Any: { input: unknown; output: unknown; }; }; /** Autogenerated input type of AbortQueuedMigrations */ type AbortQueuedMigrationsInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the organization that is running the migrations. */ ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of AbortQueuedMigrations. */ type AbortQueuedMigrationsPayload = { __typename?: 'AbortQueuedMigrationsPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** Did the operation succeed? */ success?: Maybe; }; /** Autogenerated input type of AbortRepositoryMigration */ type AbortRepositoryMigrationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the migration to be aborted. */ migrationId: Scalars['ID']['input']; }; /** Autogenerated return type of AbortRepositoryMigration. */ type AbortRepositoryMigrationPayload = { __typename?: 'AbortRepositoryMigrationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** Did the operation succeed? */ success?: Maybe; }; /** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ type AcceptEnterpriseAdministratorInvitationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The id of the invitation being accepted */ invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of AcceptEnterpriseAdministratorInvitation. */ type AcceptEnterpriseAdministratorInvitationPayload = { __typename?: 'AcceptEnterpriseAdministratorInvitationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The invitation that was accepted. */ invitation?: Maybe; /** A message confirming the result of accepting an administrator invitation. */ message?: Maybe; }; /** Autogenerated input type of AcceptEnterpriseMemberInvitation */ type AcceptEnterpriseMemberInvitationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The id of the invitation being accepted */ invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of AcceptEnterpriseMemberInvitation. */ type AcceptEnterpriseMemberInvitationPayload = { __typename?: 'AcceptEnterpriseMemberInvitationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The invitation that was accepted. */ invitation?: Maybe; /** A message confirming the result of accepting an unaffiliated member invitation. */ message?: Maybe; }; /** Autogenerated input type of AcceptTopicSuggestion */ type AcceptTopicSuggestionInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** * The name of the suggested topic. * * **Upcoming Change on 2024-04-01 UTC** * **Description:** `name` will be removed. * **Reason:** Suggested topics are no longer supported */ name?: InputMaybe; /** * The Node ID of the repository. * * **Upcoming Change on 2024-04-01 UTC** * **Description:** `repositoryId` will be removed. * **Reason:** Suggested topics are no longer supported */ repositoryId?: InputMaybe; }; /** Autogenerated return type of AcceptTopicSuggestion. */ type AcceptTopicSuggestionPayload = { __typename?: 'AcceptTopicSuggestionPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** * The accepted topic. * @deprecated Suggested topics are no longer supported Removal on 2024-04-01 UTC. */ topic?: Maybe; }; /** Autogenerated input type of AccessUserNamespaceRepository */ 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. */ 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. */ type Actor = { /** A URL pointing to the actor's public avatar. */avatarUrl: Scalars['URI']['output']; /** The username of the actor. */ login: Scalars['String']['output']; /** The HTTP path for this actor. */ resourcePath: Scalars['URI']['output']; /** The HTTP URL for this actor. */ url: Scalars['URI']['output']; }; /** Represents an object which can take actions on GitHub. Typically a User or Bot. */ type ActorAvatarUrlArgs = { size?: InputMaybe; }; /** The connection type for Actor. */ type ActorConnection = { __typename?: 'ActorConnection'; /** 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. */ type ActorEdge = { __typename?: 'ActorEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** Location information for an actor */ type ActorLocation = { __typename?: 'ActorLocation'; /** City */ city?: Maybe; /** Country name */ country?: Maybe; /** Country code */ countryCode?: Maybe; /** Region name */ region?: Maybe; /** Region or state code */ regionCode?: Maybe; }; /** The actor's type. */ type ActorType = /** Indicates a team actor. */'TEAM' /** Indicates a user actor. */ | 'USER'; /** Autogenerated input type of AddAssigneesToAssignable */ type AddAssigneesToAssignableInput = { /** Configuration for assigning Copilot to this issue. */agentAssignment?: InputMaybe; /** The id of the assignable object to add assignees to. */ assignableId: Scalars['ID']['input']; /** The ids of actors (users or bots) to add as assignees. */ assigneeIds: Array; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; }; /** Autogenerated return type of AddAssigneesToAssignable. */ type AddAssigneesToAssignablePayload = { __typename?: 'AddAssigneesToAssignablePayload'; /** The item that was assigned. */ assignable?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; }; /** Autogenerated input type of AddBlockedBy */ type AddBlockedByInput = { /** The ID of the issue that blocks the given issue. */blockingIssueId: Scalars['ID']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The ID of the issue to be blocked. */ issueId: Scalars['ID']['input']; }; /** Autogenerated return type of AddBlockedBy. */ type AddBlockedByPayload = { __typename?: 'AddBlockedByPayload'; /** The issue that is blocking the given issue. */ blockingIssue?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The issue that is blocked. */ issue?: Maybe; }; /** Autogenerated input type of AddComment */ type AddCommentInput = { /** The contents of the comment. */body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The Node ID of the subject to modify. */ subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddComment. */ type AddCommentPayload = { __typename?: 'AddCommentPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The edge from the subject's comment connection. */ commentEdge?: Maybe; /** The subject */ subject?: Maybe; /** The edge from the subject's timeline connection. */ timelineEdge?: Maybe; }; /** Autogenerated input type of AddDiscussionComment */ type AddDiscussionCommentInput = { /** The contents of the comment. */body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The Node ID of the discussion to comment on. */ discussionId: Scalars['ID']['input']; /** The Node ID of the discussion comment within this discussion to reply to. */ replyToId?: InputMaybe; }; /** Autogenerated return type of AddDiscussionComment. */ type AddDiscussionCommentPayload = { __typename?: 'AddDiscussionCommentPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created discussion comment. */ comment?: Maybe; }; /** Autogenerated input type of AddDiscussionPollVote */ type AddDiscussionPollVoteInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the discussion poll option to vote for. */ pollOptionId: Scalars['ID']['input']; }; /** Autogenerated return type of AddDiscussionPollVote. */ type AddDiscussionPollVotePayload = { __typename?: 'AddDiscussionPollVotePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The poll option that a vote was added to. */ pollOption?: Maybe; }; /** Autogenerated input type of AddEnterpriseOrganizationMember */ type AddEnterpriseOrganizationMemberInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the enterprise which owns the organization. */ enterpriseId: Scalars['ID']['input']; /** The ID of the organization the users will be added to. */ organizationId: Scalars['ID']['input']; /** The role to assign the users in the organization */ role?: InputMaybe; /** The IDs of the enterprise members to add. */ userIds: Array; }; /** Autogenerated return type of AddEnterpriseOrganizationMember. */ type AddEnterpriseOrganizationMemberPayload = { __typename?: 'AddEnterpriseOrganizationMemberPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The users who were added to the organization. */ users?: Maybe>; }; /** Autogenerated input type of AddEnterpriseSupportEntitlement */ type AddEnterpriseSupportEntitlementInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the Enterprise which the admin belongs to. */ enterpriseId: Scalars['ID']['input']; /** The login of a member who will receive the support entitlement. */ login: Scalars['String']['input']; }; /** Autogenerated return type of AddEnterpriseSupportEntitlement. */ type AddEnterpriseSupportEntitlementPayload = { __typename?: 'AddEnterpriseSupportEntitlementPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** A message confirming the result of adding the support entitlement. */ message?: Maybe; }; /** Autogenerated input type of AddLabelsToLabelable */ type AddLabelsToLabelableInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ids of the labels to add. */ labelIds?: InputMaybe>; /** The id of the labelable object to add labels to. */ labelableId: Scalars['ID']['input']; }; /** Autogenerated return type of AddLabelsToLabelable. */ type AddLabelsToLabelablePayload = { __typename?: 'AddLabelsToLabelablePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The item that was labeled. */ labelable?: Maybe; }; /** Autogenerated input type of AddProjectCard */ type AddProjectCardInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The content of the card. Must be a member of the ProjectCardItem union */ contentId?: InputMaybe; /** The note on the card. */ note?: InputMaybe; /** The Node ID of the ProjectColumn. */ projectColumnId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectCard. */ type AddProjectCardPayload = { __typename?: 'AddProjectCardPayload'; /** The edge from the ProjectColumn's card connection. */ cardEdge?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The ProjectColumn */ projectColumn?: Maybe; }; /** Autogenerated input type of AddProjectColumn */ type AddProjectColumnInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The name of the column. */ name: Scalars['String']['input']; /** The Node ID of the project. */ projectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectColumn. */ type AddProjectColumnPayload = { __typename?: 'AddProjectColumnPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The edge from the project's column connection. */ columnEdge?: Maybe; /** The project */ project?: Maybe; }; /** Autogenerated input type of AddProjectV2DraftIssue */ type AddProjectV2DraftIssueInput = { /** The IDs of the assignees of the draft issue. */assigneeIds?: InputMaybe>; /** The body of the draft issue. */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The ID of the Project to add the draft issue to. */ projectId: Scalars['ID']['input']; /** * The title of the draft issue. A project item can also be created by providing * the URL of an Issue or Pull Request if you have access. */ title: Scalars['String']['input']; }; /** Autogenerated return type of AddProjectV2DraftIssue. */ type AddProjectV2DraftIssuePayload = { __typename?: 'AddProjectV2DraftIssuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The draft issue added to the project. */ projectItem?: Maybe; }; /** Autogenerated input type of AddProjectV2ItemById */ type AddProjectV2ItemByIdInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The id of the Issue or Pull Request to add. */ contentId: Scalars['ID']['input']; /** The ID of the Project to add the item to. */ projectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddProjectV2ItemById. */ type AddProjectV2ItemByIdPayload = { __typename?: 'AddProjectV2ItemByIdPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The item added to the project. */ item?: Maybe; }; /** Autogenerated input type of AddPullRequestCreationCapBypassUsers */ type AddPullRequestCreationCapBypassUsersInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the repository. */ repositoryId: Scalars['ID']['input']; /** The Node IDs of the users to add to the bypass list. */ userIds: Array; }; /** Autogenerated return type of AddPullRequestCreationCapBypassUsers. */ type AddPullRequestCreationCapBypassUsersPayload = { __typename?: 'AddPullRequestCreationCapBypassUsersPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The repository with the updated bypass list. */ repository?: Maybe; }; /** Autogenerated input type of AddPullRequestReviewComment */ type AddPullRequestReviewCommentInput = { /** * The text of the comment. This field is required * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** * The SHA of the commit to comment on. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ commitOID?: InputMaybe; /** * The comment id to reply to. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ inReplyTo?: InputMaybe; /** * The relative path of the file to comment on. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ path?: InputMaybe; /** * The line index in the diff to comment on. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ position?: InputMaybe; /** * The node ID of the pull request reviewing * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `pullRequestId` will be removed. use * addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ pullRequestId?: InputMaybe; /** * The Node ID of the review to modify. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `pullRequestReviewId` will be removed. use * addPullRequestReviewThread or addPullRequestReviewThreadReply instead * **Reason:** We are deprecating the addPullRequestReviewComment mutation */ pullRequestReviewId?: InputMaybe; }; /** Autogenerated return type of AddPullRequestReviewComment. */ type AddPullRequestReviewCommentPayload = { __typename?: 'AddPullRequestReviewCommentPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created comment. */ comment?: Maybe; /** The edge from the review's comment connection. */ commentEdge?: Maybe; }; /** Autogenerated input type of AddPullRequestReview */ type AddPullRequestReviewInput = { /** The contents of the review body comment. */body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** * The review line comments. * * **Upcoming Change on 2023-10-01 UTC** * **Description:** `comments` will be removed. use the `threads` argument instead * **Reason:** We are deprecating comment fields that use diff-relative positioning */ comments?: InputMaybe>>; /** The commit OID the review pertains to. */ commitOID?: InputMaybe; /** The event to perform on the pull request review. */ event?: InputMaybe; /** The Node ID of the pull request to modify. */ pullRequestId: Scalars['ID']['input']; /** The review line comment threads. */ threads?: InputMaybe>>; }; /** Autogenerated return type of AddPullRequestReview. */ type AddPullRequestReviewPayload = { __typename?: 'AddPullRequestReviewPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created pull request review. */ pullRequestReview?: Maybe; /** The edge from the pull request's review connection. */ reviewEdge?: Maybe; }; /** Autogenerated input type of AddPullRequestReviewThread */ type AddPullRequestReviewThreadInput = { /** Body of the thread's first comment. */body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** * The line of the blob to which the thread refers, required for line-level * threads. The end of the line range for multi-line comments. */ line?: InputMaybe; /** Path to the file being commented on. */ path?: InputMaybe; /** The node ID of the pull request reviewing */ pullRequestId?: InputMaybe; /** The Node ID of the review to modify. */ pullRequestReviewId?: InputMaybe; /** 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. */ side?: InputMaybe; /** The first line of the range to which the comment refers. */ startLine?: InputMaybe; /** The side of the diff on which the start line resides. */ startSide?: InputMaybe; /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ subjectType?: InputMaybe; }; /** Autogenerated return type of AddPullRequestReviewThread. */ type AddPullRequestReviewThreadPayload = { __typename?: 'AddPullRequestReviewThreadPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created thread. */ thread?: Maybe; }; /** Autogenerated input type of AddPullRequestReviewThreadReply */ type AddPullRequestReviewThreadReplyInput = { /** The text of the reply. */body: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The Node ID of the pending review to which the reply will belong. */ pullRequestReviewId?: InputMaybe; /** The Node ID of the thread to which this reply is being written. */ pullRequestReviewThreadId: Scalars['ID']['input']; }; /** Autogenerated return type of AddPullRequestReviewThreadReply. */ type AddPullRequestReviewThreadReplyPayload = { __typename?: 'AddPullRequestReviewThreadReplyPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created reply. */ comment?: Maybe; }; /** Autogenerated input type of AddReaction */ type AddReactionInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The name of the emoji to react with. */ content: ReactionContent; /** The Node ID of the subject to modify. */ subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddReaction. */ type AddReactionPayload = { __typename?: 'AddReactionPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The reaction object. */ reaction?: Maybe; /** The reaction groups for the subject. */ reactionGroups?: Maybe>; /** The reactable subject. */ subject?: Maybe; }; /** Autogenerated input type of AddStar */ type AddStarInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Starrable ID to star. */ starrableId: Scalars['ID']['input']; }; /** Autogenerated return type of AddStar. */ type AddStarPayload = { __typename?: 'AddStarPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The starrable. */ starrable?: Maybe; }; /** Autogenerated input type of AddSubIssue */ 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. */ 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 */ type AddUpvoteInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the discussion or comment to upvote. */ subjectId: Scalars['ID']['input']; }; /** Autogenerated return type of AddUpvote. */ type AddUpvotePayload = { __typename?: 'AddUpvotePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The votable subject. */ subject?: Maybe; }; /** Autogenerated input type of AddVerifiableDomain */ type AddVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The URL of the domain */ domain: Scalars['URI']['input']; /** The ID of the owner to add the domain to */ ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of AddVerifiableDomain. */ type AddVerifiableDomainPayload = { __typename?: 'AddVerifiableDomainPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The verifiable domain that was added. */ domain?: Maybe; }; /** Represents an 'added_to_merge_queue' event on a given pull request. */ type AddedToMergeQueueEvent = Node & { __typename?: 'AddedToMergeQueueEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who added this Pull Request to the merge queue */ enqueuer?: Maybe; /** The Node ID of the AddedToMergeQueueEvent object */ id: Scalars['ID']['output']; /** The merge queue where this pull request was added to. */ mergeQueue?: Maybe; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; /** Represents a 'added_to_project' event on a given issue or pull request. */ type AddedToProjectEvent = Node & { __typename?: 'AddedToProjectEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** * 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. * @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; /** * 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. * @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 a 'added_to_project_v2' event on a given issue or pull request. */ type AddedToProjectV2Event = Node & ProjectV2Event & { __typename?: 'AddedToProjectV2Event'; /** 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 AddedToProjectV2Event object */ id: Scalars['ID']['output']; /** Project referenced by event. */ project?: Maybe; /** Did this event result from workflow automation? */ wasAutomated: Scalars['Boolean']['output']; }; /** Represents configuration for assigning Copilot to an issue (public variant) */ type AgentAssignmentInput = { /** The base ref/branch for the repository. Defaults to the default branch if not provided. */baseRef?: InputMaybe; /** Custom agent for Copilot. */ customAgent?: InputMaybe; /** Custom instructions for Copilot. */ customInstructions?: InputMaybe; /** The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided. */ targetRepositoryId?: InputMaybe; }; /** Copilot Agentic fields in context of the current viewer. */ type Agentic = { /** Channel value for subscribing to live updates for session creations. */viewerCopilotAgentCreatesChannel?: Maybe; /** Channel value for subscribing to live updates for session log updates. */ viewerCopilotAgentLogUpdatesChannel?: Maybe; /** Channel value for subscribing to live updates for task updates. */ viewerCopilotAgentTaskUpdatesChannel?: Maybe; /** Channel value for subscribing to live updates for session updates. */ viewerCopilotAgentUpdatesChannel?: Maybe; }; /** An announcement banner for an enterprise or organization. */ 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; }; /** A GitHub App. */ 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. */ databaseId?: Maybe; /** The description of the app. */ description?: Maybe; /** The Node ID of the App object */ id: Scalars['ID']['output']; /** The IP addresses of the app. */ ipAllowListEntries: IpAllowListEntryConnection; /** The hex color code, without the leading '#', for the logo background. */ logoBackgroundColor: Scalars['String']['output']; /** A URL pointing to the app's logo. */ logoUrl: Scalars['URI']['output']; /** The name of the app. */ name: Scalars['String']['output']; /** A slug based on the name of the app for use in URLs. */ slug: Scalars['String']['output']; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']['output']; /** The URL to the app's homepage. */ url: Scalars['URI']['output']; }; /** A GitHub App. */ type AppIpAllowListEntriesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** A GitHub App. */ type AppLogoUrlArgs = { size?: InputMaybe; }; /** Autogenerated input type of ApproveDeployments */ type ApproveDeploymentsInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** Optional comment for approving deployments */ comment?: InputMaybe; /** The ids of environments to reject deployments */ environmentIds: Array; /** The node ID of the workflow run containing the pending deployments. */ workflowRunId: Scalars['ID']['input']; }; /** Autogenerated return type of ApproveDeployments. */ type ApproveDeploymentsPayload = { __typename?: 'ApproveDeploymentsPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The affected deployments. */ deployments?: Maybe>; }; /** Autogenerated input type of ApproveVerifiableDomain */ type ApproveVerifiableDomainInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the verifiable domain to approve. */ id: Scalars['ID']['input']; }; /** Autogenerated return type of ApproveVerifiableDomain. */ type ApproveVerifiableDomainPayload = { __typename?: 'ApproveVerifiableDomainPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The verifiable domain that was approved. */ domain?: Maybe; }; /** Autogenerated input type of ArchiveProjectV2Item */ type ArchiveProjectV2ItemInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the ProjectV2Item to archive. */ itemId: Scalars['ID']['input']; /** The ID of the Project to archive the item from. */ projectId: Scalars['ID']['input']; }; /** Autogenerated return type of ArchiveProjectV2Item. */ type ArchiveProjectV2ItemPayload = { __typename?: 'ArchiveProjectV2ItemPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The item archived from the project. */ item?: Maybe; }; /** Autogenerated input type of ArchivePullRequest */ type ArchivePullRequestInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the pull request to archive. */ pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of ArchivePullRequest. */ type ArchivePullRequestPayload = { __typename?: 'ArchivePullRequestPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The pull request that was archived. */ pullRequest?: Maybe; }; /** Autogenerated input type of ArchiveRepository */ type ArchiveRepositoryInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the repository to mark as archived. */ repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of ArchiveRepository. */ type ArchiveRepositoryPayload = { __typename?: 'ArchiveRepositoryPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The repository that was marked as archived. */ repository?: Maybe; }; /** An object that can have users assigned to it. */ type Assignable = { /** A list of actors assigned to this object. */assignedActors: AssigneeConnection; /** A list of Users assigned to this object. */ assignees: UserConnection; /** A list of suggested actors to assign to this object */ suggestedActors: AssigneeConnection; }; /** An object that can have users assigned to it. */ type AssignableAssignedActorsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** An object that can have users assigned to it. */ type AssignableAssigneesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** An object that can have users assigned to it. */ type AssignableSuggestedActorsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; }; /** Represents an 'assigned' event on any assignable object. */ type AssignedEvent = Node & { __typename?: 'AssignedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the assignable associated with the event. */ assignable: Issue | PullRequest; /** Identifies the user or mannequin that was assigned. */ assignee?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the AssignedEvent object */ id: Scalars['ID']['output']; /** * Identifies the user who was assigned. * @deprecated Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC. */ user?: Maybe; }; /** Types that can be assigned to issues. */ type Assignee = Bot | Mannequin | Organization | User; /** The connection type for Assignee. */ type AssigneeConnection = { __typename?: 'AssigneeConnection'; /** 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. */ type AssigneeEdge = { __typename?: 'AssigneeEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** An entry in the audit log. */ type AuditEntry = { /** * The action name * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ action: Scalars['String']['output']; /** * The user who initiated the action * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actor?: Maybe; /** * The IP address of the actor * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actorIp?: Maybe; /** * A readable representation of the actor's location * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actorLocation?: Maybe; /** * The username of the user who initiated the action * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actorLogin?: Maybe; /** * The HTTP path for the actor. * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actorResourcePath?: Maybe; /** * The HTTP URL for the actor. * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ actorUrl?: Maybe; /** * The time the action was initiated * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ createdAt: Scalars['PreciseDateTime']['output']; /** * The corresponding operation type for the action * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ operationType?: Maybe; /** * The user affected by the action * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ user?: Maybe; /** * For actions involving two users, the actor is the initiator and the user is the affected user. * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ userLogin?: Maybe; /** * The HTTP path for the user. * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ userResourcePath?: Maybe; /** * The HTTP URL for the user. * @deprecated The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC. */ userUrl?: Maybe; }; /** Types that can initiate an audit log event. */ type AuditEntryActor = Bot | Organization | User; /** Ordering options for Audit Log connections. */ type AuditLogOrder = { /** The ordering direction. */direction?: InputMaybe; /** The field to order Audit Logs by. */ field?: InputMaybe; }; /** Properties by which Audit Log connections can be ordered. */ type AuditLogOrderField = /** Order audit log entries by timestamp */'CREATED_AT'; /** Represents a 'auto_merge_disabled' event on a given pull request. */ type AutoMergeDisabledEvent = Node & { __typename?: 'AutoMergeDisabledEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who disabled auto-merge for this Pull Request */ disabler?: Maybe; /** The Node ID of the AutoMergeDisabledEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event */ pullRequest?: Maybe; /** The reason auto-merge was disabled */ reason?: Maybe; /** The reason_code relating to why auto-merge was disabled */ reasonCode?: Maybe; }; /** Represents a 'auto_merge_enabled' event on a given pull request. */ type AutoMergeEnabledEvent = Node & { __typename?: 'AutoMergeEnabledEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge for this Pull Request */ enabler?: Maybe; /** The Node ID of the AutoMergeEnabledEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; /** Represents an auto-merge request for a pull request */ type AutoMergeRequest = { __typename?: 'AutoMergeRequest'; /** The email address of the author of this auto-merge request. */ authorEmail?: Maybe; /** * The commit message of the auto-merge request. If a merge queue is required by * the base branch, this value will be set by the merge queue when merging. */ commitBody?: Maybe; /** * The commit title of the auto-merge request. If a merge queue is required by * the base branch, this value will be set by the merge queue when merging */ commitHeadline?: Maybe; /** When was this auto-merge request was enabled. */ enabledAt?: Maybe; /** The actor who created the auto-merge request. */ enabledBy?: Maybe; /** * The merge method of the auto-merge request. If a merge queue is required by * the base branch, this value will be set by the merge queue when merging. */ mergeMethod: PullRequestMergeMethod; /** The pull request that this auto-merge request is set against. */ pullRequest: PullRequest; }; /** Represents a 'auto_rebase_enabled' event on a given pull request. */ type AutoRebaseEnabledEvent = Node & { __typename?: 'AutoRebaseEnabledEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge (rebase) for this Pull Request */ enabler?: Maybe; /** The Node ID of the AutoRebaseEnabledEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; /** Represents a 'auto_squash_enabled' event on a given pull request. */ type AutoSquashEnabledEvent = Node & { __typename?: 'AutoSquashEnabledEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who enabled auto-merge (squash) for this Pull Request */ enabler?: Maybe; /** The Node ID of the AutoSquashEnabledEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; /** Represents a 'automatic_base_change_failed' event on a given pull request. */ type AutomaticBaseChangeFailedEvent = Node & { __typename?: 'AutomaticBaseChangeFailedEvent'; /** 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 AutomaticBaseChangeFailedEvent object */ id: Scalars['ID']['output']; /** The new base for this PR */ newBase: Scalars['String']['output']; /** The old base for this PR */ oldBase: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; /** Represents a 'automatic_base_change_succeeded' event on a given pull request. */ type AutomaticBaseChangeSucceededEvent = Node & { __typename?: 'AutomaticBaseChangeSucceededEvent'; /** 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 AutomaticBaseChangeSucceededEvent object */ id: Scalars['ID']['output']; /** The new base for this PR */ newBase: Scalars['String']['output']; /** The old base for this PR */ oldBase: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; /** Represents a 'base_ref_changed' event on a given issue or pull request. */ type BaseRefChangedEvent = Node & { __typename?: 'BaseRefChangedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the name of the base ref for the pull request after it was changed. */ currentRefName: Scalars['String']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The Node ID of the BaseRefChangedEvent object */ id: Scalars['ID']['output']; /** Identifies the name of the base ref for the pull request before it was changed. */ previousRefName: Scalars['String']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; }; /** Represents a 'base_ref_deleted' event on a given pull request. */ type BaseRefDeletedEvent = Node & { __typename?: 'BaseRefDeletedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the name of the Ref associated with the `base_ref_deleted` event. */ baseRefName?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BaseRefDeletedEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest?: Maybe; }; /** Represents a 'base_ref_force_pushed' event on a given pull request. */ type BaseRefForcePushedEvent = Node & { __typename?: 'BaseRefForcePushedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the after commit SHA for the 'base_ref_force_pushed' event. */ afterCommit?: Maybe; /** Identifies the before commit SHA for the 'base_ref_force_pushed' event. */ beforeCommit?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BaseRefForcePushedEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. */ ref?: Maybe; }; /** Represents a Git blame. */ type Blame = { __typename?: 'Blame'; /** The list of ranges from a Git blame. */ ranges: Array; }; /** Represents a range of information from a Git blame. */ type BlameRange = { __typename?: 'BlameRange'; /** * Identifies the recency of the change, from 1 (new) to 10 (old). This is * calculated as a 2-quantile and determines the length of distance between the * median age of all the changes in the file and the recency of the current * range's change. */ age: Scalars['Int']['output']; /** Identifies the line author */ commit: Commit; /** The ending line for the range */ endingLine: Scalars['Int']['output']; /** The starting line for the range */ startingLine: Scalars['Int']['output']; }; /** Represents a Git blob. */ type Blob = GitObject & Node & { __typename?: 'Blob'; /** An abbreviated version of the Git object ID */ abbreviatedOid: Scalars['String']['output']; /** Byte size of Blob object */ byteSize: Scalars['Int']['output']; /** The HTTP path for this Git object */ commitResourcePath: Scalars['URI']['output']; /** The HTTP URL for this Git object */ commitUrl: Scalars['URI']['output']; /** The Node ID of the Blob object */ id: Scalars['ID']['output']; /** Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. */ isBinary?: Maybe; /** Indicates whether the contents is truncated */ isTruncated: Scalars['Boolean']['output']; /** The Git object ID */ oid: Scalars['GitObjectID']['output']; /** The Repository the Git object belongs to */ repository: Repository; /** UTF8 text data or null if the Blob is binary */ text?: Maybe; }; /** Represents a 'blocked_by_added' event on a given issue. */ type BlockedByAddedEvent = Node & { __typename?: 'BlockedByAddedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** The blocking issue that was added. */ blockingIssue?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BlockedByAddedEvent object */ id: Scalars['ID']['output']; }; /** Represents a 'blocked_by_removed' event on a given issue. */ type BlockedByRemovedEvent = Node & { __typename?: 'BlockedByRemovedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** The blocking issue that was removed. */ blockingIssue?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BlockedByRemovedEvent object */ id: Scalars['ID']['output']; }; /** Represents a 'blocking_added' event on a given issue. */ type BlockingAddedEvent = Node & { __typename?: 'BlockingAddedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** The blocked issue that was added. */ blockedIssue?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BlockingAddedEvent object */ id: Scalars['ID']['output']; }; /** Represents a 'blocking_removed' event on a given issue. */ type BlockingRemovedEvent = Node & { __typename?: 'BlockingRemovedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** The blocked issue that was removed. */ blockedIssue?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The Node ID of the BlockingRemovedEvent object */ id: Scalars['ID']['output']; }; /** A special type of user which takes actions on behalf of GitHub Apps. */ type Bot = Actor & Node & UniformResourceLocatable & { __typename?: 'Bot'; /** A URL pointing to the GitHub App's public avatar. */ avatarUrl: Scalars['URI']['output']; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The Node ID of the Bot object */ id: Scalars['ID']['output']; /** The username of the actor. */ login: Scalars['String']['output']; /** The HTTP path for this bot */ resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this bot */ url: Scalars['URI']['output']; }; /** A special type of user which takes actions on behalf of GitHub Apps. */ type BotAvatarUrlArgs = { size?: InputMaybe; }; /** Types which can be actors for `BranchActorAllowance` objects. */ type BranchActorAllowanceActor = App | Team | User; /** Parameters to be used for the branch_name_pattern rule */ type BranchNamePatternParameters = { __typename?: 'BranchNamePatternParameters'; /** How this rule appears when configuring it. */ name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']['output']; /** The operator to use for matching. */ operator: Scalars['String']['output']; /** The pattern to match with. */ pattern: Scalars['String']['output']; }; /** Parameters to be used for the branch_name_pattern rule */ type BranchNamePatternParametersInput = { /** How this rule appears when configuring it. */name?: InputMaybe; /** If true, the rule will fail if the pattern matches. */ negate?: InputMaybe; /** The operator to use for matching. */ operator: Scalars['String']['input']; /** The pattern to match with. */ pattern: Scalars['String']['input']; }; /** A branch protection rule. */ type BranchProtectionRule = Node & { __typename?: 'BranchProtectionRule'; /** Can this branch be deleted. */ allowsDeletions: Scalars['Boolean']['output']; /** Are force pushes allowed on this branch. */ allowsForcePushes: Scalars['Boolean']['output']; /** Is branch creation a protected operation. */ blocksCreations: Scalars['Boolean']['output']; /** A list of conflicts matching branches protection rule and other branch protection rules */ branchProtectionRuleConflicts: BranchProtectionRuleConflictConnection; /** A list of actors able to force push for this branch protection rule. */ bypassForcePushAllowances: BypassForcePushAllowanceConnection; /** A list of actors able to bypass PRs for this branch protection rule. */ bypassPullRequestAllowances: BypassPullRequestAllowanceConnection; /** The actor who created this branch protection rule. */ creator?: Maybe; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ dismissesStaleReviews: Scalars['Boolean']['output']; /** The Node ID of the BranchProtectionRule object */ id: Scalars['ID']['output']; /** Can admins override branch protection. */ isAdminEnforced: Scalars['Boolean']['output']; /** * 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: Scalars['Boolean']['output']; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ lockBranch: Scalars['Boolean']['output']; /** Repository refs that are protected by this rule */ matchingRefs: RefConnection; /** Identifies the protection rule pattern. */ pattern: Scalars['String']['output']; /** A list push allowances for this branch protection rule. */ pushAllowances: PushAllowanceConnection; /** The repository associated with this branch protection rule. */ repository?: Maybe; /** Whether the most recent push must be approved by someone other than the person who pushed it */ requireLastPushApproval: Scalars['Boolean']['output']; /** Number of approving reviews required to update matching branches. */ requiredApprovingReviewCount?: Maybe; /** List of required deployment environments that must be deployed successfully to update matching branches */ requiredDeploymentEnvironments?: Maybe>>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ requiredStatusCheckContexts?: Maybe>>; /** List of required status checks that must pass for commits to be accepted to matching branches. */ requiredStatusChecks?: Maybe>; /** Are approving reviews required to update matching branches. */ requiresApprovingReviews: Scalars['Boolean']['output']; /** Are reviews from code owners required to update matching branches. */ requiresCodeOwnerReviews: Scalars['Boolean']['output']; /** Are commits required to be signed. */ requiresCommitSignatures: Scalars['Boolean']['output']; /** Are conversations required to be resolved before merging. */ requiresConversationResolution: Scalars['Boolean']['output']; /** Does this branch require deployment to specific environments before merging */ requiresDeployments: Scalars['Boolean']['output']; /** Are merge commits prohibited from being pushed to this branch. */ requiresLinearHistory: Scalars['Boolean']['output']; /** Are status checks required to update matching branches. */ requiresStatusChecks: Scalars['Boolean']['output']; /** Are branches required to be up to date before merging. */ requiresStrictStatusChecks: Scalars['Boolean']['output']; /** Is pushing to matching branches restricted. */ restrictsPushes: Scalars['Boolean']['output']; /** Is dismissal of pull request reviews restricted. */ restrictsReviewDismissals: Scalars['Boolean']['output']; /** A list review dismissal allowances for this branch protection rule. */ reviewDismissalAllowances: ReviewDismissalAllowanceConnection; }; /** A branch protection rule. */ type BranchProtectionRuleBranchProtectionRuleConflictsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A branch protection rule. */ type BranchProtectionRuleBypassForcePushAllowancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A branch protection rule. */ type BranchProtectionRuleBypassPullRequestAllowancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A branch protection rule. */ type BranchProtectionRuleMatchingRefsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; }; /** A branch protection rule. */ type BranchProtectionRulePushAllowancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A branch protection rule. */ type BranchProtectionRuleReviewDismissalAllowancesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A conflict between two branch protection rules. */ type BranchProtectionRuleConflict = { __typename?: 'BranchProtectionRuleConflict'; /** Identifies the branch protection rule. */ branchProtectionRule?: Maybe; /** Identifies the conflicting branch protection rule. */ conflictingBranchProtectionRule?: Maybe; /** Identifies the branch ref that has conflicting rules */ ref?: Maybe; }; /** The connection type for BranchProtectionRuleConflict. */ type BranchProtectionRuleConflictConnection = { __typename?: 'BranchProtectionRuleConflictConnection'; /** 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. */ type BranchProtectionRuleConflictEdge = { __typename?: 'BranchProtectionRuleConflictEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** The connection type for BranchProtectionRule. */ type BranchProtectionRuleConnection = { __typename?: 'BranchProtectionRuleConnection'; /** 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. */ type BranchProtectionRuleEdge = { __typename?: 'BranchProtectionRuleEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** * Information about a sponsorship to make for a user or organization with a GitHub * Sponsors profile, as part of sponsoring many users or organizations at once. */ type BulkSponsorship = { /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */amount: Scalars['Int']['input']; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ sponsorableId?: InputMaybe; /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ sponsorableLogin?: InputMaybe; }; /** Types that can represent a repository ruleset bypass actor. */ type BypassActor = App | EnterpriseTeam | Team | User; /** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ type BypassForcePushAllowance = Node & { __typename?: 'BypassForcePushAllowance'; /** The actor that can force push. */ actor?: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ branchProtectionRule?: Maybe; /** The Node ID of the BypassForcePushAllowance object */ id: Scalars['ID']['output']; }; /** The connection type for BypassForcePushAllowance. */ type BypassForcePushAllowanceConnection = { __typename?: 'BypassForcePushAllowanceConnection'; /** 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. */ type BypassForcePushAllowanceEdge = { __typename?: 'BypassForcePushAllowanceEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. */ type BypassPullRequestAllowance = Node & { __typename?: 'BypassPullRequestAllowance'; /** The actor that can bypass. */ actor?: Maybe; /** Identifies the branch protection rule associated with the allowed user, team, or app. */ branchProtectionRule?: Maybe; /** The Node ID of the BypassPullRequestAllowance object */ id: Scalars['ID']['output']; }; /** The connection type for BypassPullRequestAllowance. */ type BypassPullRequestAllowanceConnection = { __typename?: 'BypassPullRequestAllowanceConnection'; /** 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. */ type BypassPullRequestAllowanceEdge = { __typename?: 'BypassPullRequestAllowanceEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** The Common Vulnerability Scoring System */ type Cvss = { __typename?: 'CVSS'; /** The CVSS score associated with this advisory */ score: Scalars['Float']['output']; /** The CVSS vector string associated with this advisory */ vectorString?: Maybe; }; /** A common weakness enumeration */ type Cwe = Node & { __typename?: 'CWE'; /** The id of the CWE */ cweId: Scalars['String']['output']; /** A detailed description of this CWE */ description: Scalars['String']['output']; /** The Node ID of the CWE object */ id: Scalars['ID']['output']; /** The name of this CWE */ name: Scalars['String']['output']; }; /** The connection type for CWE. */ type CweConnection = { __typename?: 'CWEConnection'; /** 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. */ type CweEdge = { __typename?: 'CWEEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** Autogenerated input type of CancelEnterpriseAdminInvitation */ type CancelEnterpriseAdminInvitationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the pending enterprise administrator invitation. */ invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of CancelEnterpriseAdminInvitation. */ type CancelEnterpriseAdminInvitationPayload = { __typename?: 'CancelEnterpriseAdminInvitationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The invitation that was canceled. */ invitation?: Maybe; /** A message confirming the result of canceling an administrator invitation. */ message?: Maybe; }; /** Autogenerated input type of CancelEnterpriseMemberInvitation */ type CancelEnterpriseMemberInvitationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the pending enterprise member invitation. */ invitationId: Scalars['ID']['input']; }; /** Autogenerated return type of CancelEnterpriseMemberInvitation. */ type CancelEnterpriseMemberInvitationPayload = { __typename?: 'CancelEnterpriseMemberInvitationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The invitation that was canceled. */ invitation?: Maybe; /** A message confirming the result of canceling an member invitation. */ message?: Maybe; }; /** Autogenerated input type of CancelSponsorship */ type CancelSponsorshipInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** * The ID of the user or organization who is acting as the sponsor, paying for * the sponsorship. Required if sponsorLogin is not given. */ sponsorId?: InputMaybe; /** * The username of the user or organization who is acting as the sponsor, paying * for the sponsorship. Required if sponsorId is not given. */ sponsorLogin?: InputMaybe; /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ sponsorableId?: InputMaybe; /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ sponsorableLogin?: InputMaybe; }; /** Autogenerated return type of CancelSponsorship. */ type CancelSponsorshipPayload = { __typename?: 'CancelSponsorshipPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The tier that was being used at the time of cancellation. */ sponsorsTier?: Maybe; }; /** Autogenerated input type of ChangeUserStatus */ type ChangeUserStatusInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. */ emoji?: InputMaybe; /** If set, the user status will not be shown after this date. */ expiresAt?: InputMaybe; /** Whether this status should indicate you are not fully available on GitHub, e.g., you are away. */ limitedAvailability?: InputMaybe; /** A short description of your current status. */ message?: InputMaybe; /** * The ID of the organization whose members will be allowed to see the status. If * omitted, the status will be publicly visible. */ organizationId?: InputMaybe; }; /** Autogenerated return type of ChangeUserStatus. */ type ChangeUserStatusPayload = { __typename?: 'ChangeUserStatusPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** Your updated status. */ status?: Maybe; }; /** A single check annotation. */ type CheckAnnotation = { __typename?: 'CheckAnnotation'; /** The annotation's severity level. */ annotationLevel?: Maybe; /** The path to the file that this annotation was made on. */ blobUrl: Scalars['URI']['output']; /** * 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 2027-01-01 UTC. */ databaseId?: Maybe; /** Identifies the primary key from the database as a BigInt. */ fullDatabaseId?: Maybe; /** The position of this annotation. */ location: CheckAnnotationSpan; /** The annotation's message. */ message: Scalars['String']['output']; /** The path that this annotation was made on. */ path: Scalars['String']['output']; /** Additional information about the annotation. */ rawDetails?: Maybe; /** The annotation's title */ title?: Maybe; }; /** The connection type for CheckAnnotation. */ type CheckAnnotationConnection = { __typename?: 'CheckAnnotationConnection'; /** 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']; }; /** Information from a check run analysis to specific lines of code. */ type CheckAnnotationData = { /** Represents an annotation's information level */annotationLevel: CheckAnnotationLevel; /** The location of the annotation */ location: CheckAnnotationRange; /** A short description of the feedback for these lines of code. */ message: Scalars['String']['input']; /** The path of the file to add an annotation to. */ path: Scalars['String']['input']; /** Details about this annotation. */ rawDetails?: InputMaybe; /** The title that represents the annotation. */ title?: InputMaybe; }; /** An edge in a connection. */ type CheckAnnotationEdge = { __typename?: 'CheckAnnotationEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** Represents an annotation's information level. */ type CheckAnnotationLevel = /** An annotation indicating an inescapable error. */'FAILURE' /** An annotation indicating some information. */ | 'NOTICE' /** An annotation indicating an ignorable error. */ | 'WARNING'; /** A character position in a check annotation. */ type CheckAnnotationPosition = { __typename?: 'CheckAnnotationPosition'; /** Column number (1 indexed). */ column?: Maybe; /** Line number (1 indexed). */ line: Scalars['Int']['output']; }; /** Information from a check run analysis to specific lines of code. */ type CheckAnnotationRange = { /** The ending column of the range. */endColumn?: InputMaybe; /** The ending line of the range. */ endLine: Scalars['Int']['input']; /** The starting column of the range. */ startColumn?: InputMaybe; /** The starting line of the range. */ startLine: Scalars['Int']['input']; }; /** An inclusive pair of positions for a check annotation. */ type CheckAnnotationSpan = { __typename?: 'CheckAnnotationSpan'; /** End position (inclusive). */ end: CheckAnnotationPosition; /** Start position (inclusive). */ start: CheckAnnotationPosition; }; /** The possible states for a check suite or run conclusion. */ type CheckConclusionState = /** The check suite or run requires action. */'ACTION_REQUIRED' /** The check suite or run has been cancelled. */ | 'CANCELLED' /** The check suite or run has failed. */ | 'FAILURE' /** The check suite or run was neutral. */ | 'NEUTRAL' /** The check suite or run was skipped. */ | 'SKIPPED' /** The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. */ | 'STALE' /** The check suite or run has failed at startup. */ | 'STARTUP_FAILURE' /** The check suite or run has succeeded. */ | 'SUCCESS' /** The check suite or run has timed out. */ | 'TIMED_OUT'; /** A check run. */ type CheckRun = Node & RequirableByPullRequest & UniformResourceLocatable & { __typename?: 'CheckRun'; /** The check run's annotations */ annotations?: Maybe; /** The check suite that this run is a part of. */ checkSuite: CheckSuite; /** Identifies the date and time when the check run was completed. */ completedAt?: Maybe; /** The conclusion of the check run. */ conclusion?: Maybe; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The corresponding deployment for this job, if any */ deployment?: Maybe; /** The URL from which to find full details of the check run on the integrator's site. */ detailsUrl?: Maybe; /** A reference for the check run on the integrator's system. */ externalId?: Maybe; /** The Node ID of the CheckRun object */ id: Scalars['ID']['output']; /** Whether this is required to pass before merging for a specific pull request. */ isRequired: Scalars['Boolean']['output']; /** The name of the check for this check run. */ name: Scalars['String']['output']; /** Information about a pending deployment, if any, in this check run */ pendingDeploymentRequest?: Maybe; /** The permalink to the check run summary. */ permalink: Scalars['URI']['output']; /** The repository associated with this check run. */ repository: Repository; /** The HTTP path for this check run. */ resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the check run was started. */ startedAt?: Maybe; /** The current status of the check run. */ status: CheckStatusState; /** The check run's steps */ steps?: Maybe; /** A string representing the check run's summary */ summary?: Maybe; /** A string representing the check run's text */ text?: Maybe; /** A string representing the check run */ title?: Maybe; /** The HTTP URL for this check run. */ url: Scalars['URI']['output']; }; /** A check run. */ type CheckRunAnnotationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A check run. */ type CheckRunIsRequiredArgs = { pullRequestId?: InputMaybe; pullRequestNumber?: InputMaybe; }; /** A check run. */ type CheckRunStepsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; number?: InputMaybe; }; /** Possible further actions the integrator can perform. */ type CheckRunAction = { /** A short explanation of what this action would do. */description: Scalars['String']['input']; /** A reference for the action on the integrator's system. */ identifier: Scalars['String']['input']; /** The text to be displayed on a button in the web UI. */ label: Scalars['String']['input']; }; /** The connection type for CheckRun. */ type CheckRunConnection = { __typename?: 'CheckRunConnection'; /** 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. */ type CheckRunEdge = { __typename?: 'CheckRunEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** The filters that are available when fetching check runs. */ type CheckRunFilter = { /** Filters the check runs created by this application ID. */appId?: InputMaybe; /** Filters the check runs by this name. */ checkName?: InputMaybe; /** Filters the check runs by this type. */ checkType?: InputMaybe; /** Filters the check runs by these conclusions. */ conclusions?: InputMaybe>; /** Filters the check runs by this status. Superceded by statuses. */ status?: InputMaybe; /** Filters the check runs by this status. Overrides status. */ statuses?: InputMaybe>; }; /** Descriptive details about the check run. */ type CheckRunOutput = { /** The annotations that are made as part of the check run. */annotations?: InputMaybe>; /** Images attached to the check run output displayed in the GitHub pull request UI. */ images?: InputMaybe>; /** The summary of the check run (supports Commonmark). */ summary: Scalars['String']['input']; /** The details of the check run (supports Commonmark). */ text?: InputMaybe; /** A title to provide for this check run. */ title: Scalars['String']['input']; }; /** Images attached to the check run output displayed in the GitHub pull request UI. */ type CheckRunOutputImage = { /** The alternative text for the image. */alt: Scalars['String']['input']; /** A short image description. */ caption?: InputMaybe; /** The full URL of the image. */ imageUrl: Scalars['URI']['input']; }; /** The possible states of a check run in a status rollup. */ type CheckRunState = /** The check run requires action. */'ACTION_REQUIRED' /** The check run has been cancelled. */ | 'CANCELLED' /** The check run has been completed. */ | 'COMPLETED' /** The check run has failed. */ | 'FAILURE' /** The check run is in progress. */ | 'IN_PROGRESS' /** The check run was neutral. */ | 'NEUTRAL' /** The check run is in pending state. */ | 'PENDING' /** The check run has been queued. */ | 'QUEUED' /** The check run was skipped. */ | 'SKIPPED' /** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */ | 'STALE' /** The check run has failed at startup. */ | 'STARTUP_FAILURE' /** The check run has succeeded. */ | 'SUCCESS' /** The check run has timed out. */ | 'TIMED_OUT' /** The check run is in waiting state. */ | 'WAITING'; /** Represents a count of the state of a check run. */ type CheckRunStateCount = { __typename?: 'CheckRunStateCount'; /** The number of check runs with this state. */ count: Scalars['Int']['output']; /** The state of a check run. */ state: CheckRunState; }; /** The possible types of check runs. */ type CheckRunType = /** Every check run available. */'ALL' /** The latest check run. */ | 'LATEST'; /** The possible states for a check suite or run status. */ type CheckStatusState = /** The check suite or run has been completed. */'COMPLETED' /** The check suite or run is in progress. */ | 'IN_PROGRESS' /** The check suite or run is in pending state. */ | 'PENDING' /** The check suite or run has been queued. */ | 'QUEUED' /** The check suite or run has been requested. */ | 'REQUESTED' /** The check suite or run is in waiting state. */ | 'WAITING'; /** A single check step. */ type CheckStep = { __typename?: 'CheckStep'; /** Identifies the date and time when the check step was completed. */ completedAt?: Maybe; /** The conclusion of the check step. */ conclusion?: Maybe; /** A reference for the check step on the integrator's system. */ externalId?: Maybe; /** The step's name. */ name: Scalars['String']['output']; /** The index of the step in the list of steps of the parent check run. */ number: Scalars['Int']['output']; /** Number of seconds to completion. */ secondsToCompletion?: Maybe; /** Identifies the date and time when the check step was started. */ startedAt?: Maybe; /** The current status of the check step. */ status: CheckStatusState; }; /** The connection type for CheckStep. */ type CheckStepConnection = { __typename?: 'CheckStepConnection'; /** 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. */ type CheckStepEdge = { __typename?: 'CheckStepEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** A check suite. */ type CheckSuite = Node & { __typename?: 'CheckSuite'; /** The GitHub App which created this check suite. */ app?: Maybe; /** The name of the branch for this check suite. */ branch?: Maybe; /** The check runs associated with a check suite. */ checkRuns?: Maybe; /** The commit for this check suite */ commit: Commit; /** The conclusion of this check suite. */ conclusion?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The user who triggered the check suite. */ creator?: Maybe; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The Node ID of the CheckSuite object */ id: Scalars['ID']['output']; /** A list of open pull requests matching the check suite. */ matchingPullRequests?: Maybe; /** The push that triggered this check suite. */ push?: Maybe; /** The repository associated with this check suite. */ repository: Repository; /** The HTTP path for this check suite */ resourcePath: Scalars['URI']['output']; /** The status of this check suite. */ status: CheckStatusState; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']['output']; /** The HTTP URL for this check suite */ url: Scalars['URI']['output']; /** The workflow run associated with this check suite. */ workflowRun?: Maybe; }; /** A check suite. */ type CheckSuiteCheckRunsArgs = { after?: InputMaybe; before?: InputMaybe; filterBy?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A check suite. */ type CheckSuiteMatchingPullRequestsArgs = { after?: InputMaybe; baseRefName?: InputMaybe; before?: InputMaybe; first?: InputMaybe; headRefName?: InputMaybe; labels?: InputMaybe>; last?: InputMaybe; orderBy?: InputMaybe; states?: InputMaybe>; }; /** The auto-trigger preferences that are available for check suites. */ type CheckSuiteAutoTriggerPreference = { /** The node ID of the application that owns the check suite. */appId: Scalars['ID']['input']; /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. */ setting: Scalars['Boolean']['input']; }; /** The connection type for CheckSuite. */ type CheckSuiteConnection = { __typename?: 'CheckSuiteConnection'; /** 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. */ type CheckSuiteEdge = { __typename?: 'CheckSuiteEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** The filters that are available when fetching check suites. */ type CheckSuiteFilter = { /** Filters the check suites created by this application ID. */appId?: InputMaybe; /** Filters the check suites by this name. */ checkName?: InputMaybe; }; /** An object which can have its data claimed or claim data from another. */ type Claimable = Mannequin | User; /** Autogenerated input type of ClearLabelsFromLabelable */ type ClearLabelsFromLabelableInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The id of the labelable object to clear the labels from. */ labelableId: Scalars['ID']['input']; }; /** Autogenerated return type of ClearLabelsFromLabelable. */ type ClearLabelsFromLabelablePayload = { __typename?: 'ClearLabelsFromLabelablePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The item that was unlabeled. */ labelable?: Maybe; }; /** Autogenerated input type of ClearProjectV2ItemFieldValue */ type ClearProjectV2ItemFieldValueInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the field to be cleared. */ fieldId: Scalars['ID']['input']; /** The ID of the item to be cleared. */ itemId: Scalars['ID']['input']; /** The ID of the Project. */ projectId: Scalars['ID']['input']; }; /** Autogenerated return type of ClearProjectV2ItemFieldValue. */ type ClearProjectV2ItemFieldValuePayload = { __typename?: 'ClearProjectV2ItemFieldValuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The updated item. */ projectV2Item?: Maybe; }; /** Autogenerated input type of CloneProject */ type CloneProjectInput = { /** The description of the project. */body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Whether or not to clone the source project's workflows. */ includeWorkflows: Scalars['Boolean']['input']; /** The name of the project. */ name: Scalars['String']['input']; /** The visibility of the project, defaults to false (private). */ public?: InputMaybe; /** The source project to clone. */ sourceId: Scalars['ID']['input']; /** The owner ID to create the project under. */ targetOwnerId: Scalars['ID']['input']; }; /** Autogenerated return type of CloneProject. */ type CloneProjectPayload = { __typename?: 'CloneProjectPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The id of the JobStatus for populating cloned fields. */ jobStatusId?: Maybe; /** The new cloned project. */ project?: Maybe; }; /** Autogenerated input type of CloneTemplateRepository */ type CloneTemplateRepositoryInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** A short description of the new repository. */ description?: InputMaybe; /** * Whether to copy all branches from the template to the new repository. Defaults * to copying only the default branch of the template. */ includeAllBranches?: InputMaybe; /** The name of the new repository. */ name: Scalars['String']['input']; /** The ID of the owner for the new repository. */ ownerId: Scalars['ID']['input']; /** The Node ID of the template repository. */ repositoryId: Scalars['ID']['input']; /** Indicates the repository's visibility level. */ visibility: RepositoryVisibility; }; /** Autogenerated return type of CloneTemplateRepository. */ type CloneTemplateRepositoryPayload = { __typename?: 'CloneTemplateRepositoryPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new repository. */ repository?: Maybe; }; /** An object that can be closed */ type Closable = { /** 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; /** Indicates if the object can be closed by the viewer. */ viewerCanClose: Scalars['Boolean']['output']; /** Indicates if the object can be reopened by the viewer. */ viewerCanReopen: Scalars['Boolean']['output']; }; /** Autogenerated input type of CloseDiscussion */ type CloseDiscussionInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** ID of the discussion to be closed. */ discussionId: Scalars['ID']['input']; /** The reason why the discussion is being closed. */ reason?: InputMaybe; }; /** Autogenerated return type of CloseDiscussion. */ type CloseDiscussionPayload = { __typename?: 'CloseDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The discussion that was closed. */ discussion?: Maybe; }; /** Autogenerated input type of CloseIssue */ 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. */ stateReason?: InputMaybe; }; /** Autogenerated return type of CloseIssue. */ type CloseIssuePayload = { __typename?: 'CloseIssuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The issue that was closed. */ issue?: Maybe; }; /** Autogenerated input type of ClosePullRequest */ type ClosePullRequestInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** ID of the pull request to be closed. */ pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of ClosePullRequest. */ type ClosePullRequestPayload = { __typename?: 'ClosePullRequestPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The pull request that was closed. */ pullRequest?: Maybe; }; /** Represents a 'closed' event on any `Closable`. */ type ClosedEvent = Node & UniformResourceLocatable & { __typename?: 'ClosedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Object that was closed. */ closable: Discussion | Issue | Milestone | Project | ProjectV2 | PullRequest; /** Object which triggered the creation of this event. */ closer?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The issue or pull request that this issue was marked as a duplicate of. */ duplicateOf?: Maybe; /** The Node ID of the ClosedEvent object */ id: Scalars['ID']['output']; /** The HTTP path for this closed event. */ resourcePath: Scalars['URI']['output']; /** The reason the issue state was changed to closed. */ stateReason?: Maybe; /** The HTTP URL for this closed event. */ url: Scalars['URI']['output']; }; /** The object which triggered a `ClosedEvent`. */ type Closer = Commit | ProjectV2 | PullRequest; /** The Code of Conduct for a repository */ type CodeOfConduct = Node & { __typename?: 'CodeOfConduct'; /** The body of the Code of Conduct */ body?: Maybe; /** The Node ID of the CodeOfConduct object */ id: Scalars['ID']['output']; /** The key for the Code of Conduct */ key: Scalars['String']['output']; /** The formal name of the Code of Conduct */ name: Scalars['String']['output']; /** The HTTP path for this Code of Conduct */ resourcePath?: Maybe; /** The HTTP URL for this Code of Conduct */ url?: Maybe; }; /** * 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. */ type CodeScanningParameters = { __typename?: 'CodeScanningParameters'; /** Tools that must provide code scanning results for this rule to pass. */ codeScanningTools: Array; }; /** * 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. */ type CodeScanningParametersInput = { /** Tools that must provide code scanning results for this rule to pass. */codeScanningTools: Array; }; /** A tool that must provide code scanning results for this rule to pass. */ type CodeScanningTool = { __typename?: 'CodeScanningTool'; /** * The severity level at which code scanning results that raise alerts block a * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ alertsThreshold: Scalars['String']['output']; /** * The severity level at which code scanning results that raise security alerts * block a reference update. For more information on security severity levels, * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ securityAlertsThreshold: Scalars['String']['output']; /** The name of a code scanning tool */ tool: Scalars['String']['output']; }; /** A tool that must provide code scanning results for this rule to pass. */ type CodeScanningToolInput = { /** * The severity level at which code scanning results that raise alerts block a * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ alertsThreshold: Scalars['String']['input']; /** * The severity level at which code scanning results that raise security alerts * block a reference update. For more information on security severity levels, * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ securityAlertsThreshold: Scalars['String']['input']; /** The name of a code scanning tool */ tool: Scalars['String']['input']; }; /** Collaborators affiliation level with a subject. */ type CollaboratorAffiliation = /** All collaborators the authenticated user can see. */'ALL' /** All collaborators with permissions to an organization-owned subject, regardless of organization membership status. */ | 'DIRECT' /** All outside collaborators of an organization-owned subject. */ | 'OUTSIDE'; /** Represents a comment. */ type Comment = { /** The actor who authored the comment. */author?: Maybe; /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** The body as Markdown. */ body: Scalars['String']['output']; /** The body rendered to HTML. */ bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ bodyText: Scalars['String']['output']; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ createdViaEmail: Scalars['Boolean']['output']; /** The actor who edited the comment. */ editor?: Maybe; /** The Node ID of the Comment object */ id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ includesCreatedEdit: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; /** Identifies when the comment was published at. */ publishedAt?: Maybe; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Did the viewer author this comment. */ viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment. */ type CommentUserContentEditsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** A comment author association with repository. */ type CommentAuthorAssociation = /** Author has been invited to collaborate on the repository. */'COLLABORATOR' /** Author has previously committed to the repository. */ | 'CONTRIBUTOR' /** Author has not previously committed to GitHub. */ | 'FIRST_TIMER' /** Author has not previously committed to the repository. */ | 'FIRST_TIME_CONTRIBUTOR' /** Author is a placeholder for an unclaimed user. */ | 'MANNEQUIN' /** Author is a member of the organization that owns the repository. */ | 'MEMBER' /** Author has no association with the repository. */ | 'NONE' /** Author is the owner of the repository. */ | 'OWNER'; /** The possible errors that will prevent a user from updating a comment. */ type CommentCannotUpdateReason = /** Unable to create comment because repository is archived. */'ARCHIVED' /** You cannot update this comment */ | 'DENIED' /** You must be the author or have write access to this repository to update this comment. */ | 'INSUFFICIENT_ACCESS' /** Unable to create comment because issue is locked. */ | 'LOCKED' /** You must be logged in to update this comment. */ | 'LOGIN_REQUIRED' /** Repository is under maintenance. */ | 'MAINTENANCE' /** At least one email address must be verified to update this comment. */ | 'VERIFIED_EMAIL_REQUIRED'; /** Represents a 'comment_deleted' event on a given issue or pull request. */ type CommentDeletedEvent = Node & { __typename?: 'CommentDeletedEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The user who authored the deleted comment. */ deletedCommentAuthor?: Maybe; /** The Node ID of the CommentDeletedEvent object */ id: Scalars['ID']['output']; }; /** Represents a Git commit. */ type Commit = GitObject & Node & Subscribable & UniformResourceLocatable & { __typename?: 'Commit'; /** An abbreviated version of the Git object ID */ abbreviatedOid: Scalars['String']['output']; /** The number of additions in this commit. */ additions: Scalars['Int']['output']; /** * The merged Pull Request that introduced the commit to the repository. If the * commit is not present in the default branch, additionally returns open Pull * Requests associated with the commit */ associatedPullRequests?: Maybe; /** Authorship details of the commit. */ author?: Maybe; /** Check if the committer and the author match. */ authoredByCommitter: Scalars['Boolean']['output']; /** The datetime when this commit was authored. */ authoredDate: Scalars['DateTime']['output']; /** * The list of authors for this commit based on the git author and the Co-authored-by * message trailer. The git author will always be first. */ authors: GitActorConnection; /** Fetches `git blame` information. */ blame: Blame; /** * We recommend using the `changedFilesIfAvailable` field instead of * `changedFiles`, as `changedFiles` will cause your request to return an error * if GitHub is unable to calculate the number of changed files. * @deprecated `changedFiles` will be removed. Use `changedFilesIfAvailable` instead. Removal on 2023-01-01 UTC. */ changedFiles: Scalars['Int']['output']; /** * The number of changed files in this commit. If GitHub is unable to calculate * the number of changed files (for example due to a timeout), this will return * `null`. We recommend using this field instead of `changedFiles`. */ changedFilesIfAvailable?: Maybe; /** The check suites associated with a commit. */ checkSuites?: Maybe; /** Comments made on the commit. */ comments: CommitCommentConnection; /** The HTTP path for this Git object */ commitResourcePath: Scalars['URI']['output']; /** The HTTP URL for this Git object */ commitUrl: Scalars['URI']['output']; /** The datetime when this commit was committed. */ committedDate: Scalars['DateTime']['output']; /** Check if committed via GitHub web UI. */ committedViaWeb: Scalars['Boolean']['output']; /** Committer details of the commit. */ committer?: Maybe; /** The number of deletions in this commit. */ deletions: Scalars['Int']['output']; /** The deployments associated with a commit. */ deployments?: Maybe; /** The tree entry representing the file located at the given path. */ file?: Maybe; /** The linear commit history starting from (and including) this commit, in the same order as `git log`. */ history: CommitHistoryConnection; /** The Node ID of the Commit object */ id: Scalars['ID']['output']; /** The Git commit message */ message: Scalars['String']['output']; /** The Git commit message body */ messageBody: Scalars['String']['output']; /** The commit message body rendered to HTML. */ messageBodyHTML: Scalars['HTML']['output']; /** The Git commit message headline */ messageHeadline: Scalars['String']['output']; /** The commit message headline rendered to HTML. */ messageHeadlineHTML: Scalars['HTML']['output']; /** The Git object ID */ oid: Scalars['GitObjectID']['output']; /** The organization this commit was made on behalf of. */ onBehalfOf?: Maybe; /** The parents of a commit. */ parents: CommitConnection; /** * The datetime when this commit was pushed. * @deprecated `pushedDate` is no longer supported. Removal on 2023-07-01 UTC. */ pushedDate?: Maybe; /** The Repository this commit belongs to */ repository: Repository; /** The HTTP path for this commit */ resourcePath: Scalars['URI']['output']; /** Commit signing information, if present. */ signature?: Maybe; /** Status information for this commit */ status?: Maybe; /** Check and Status rollup information for this commit. */ statusCheckRollup?: Maybe; /** Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. */ submodules: SubmoduleConnection; /** * Returns a URL to download a tarball archive for a repository. * Note: For private repositories, these links are temporary and expire after five minutes. */ tarballUrl: Scalars['URI']['output']; /** Commit's root Tree */ tree: Tree; /** The HTTP path for the tree of this commit */ treeResourcePath: Scalars['URI']['output']; /** The HTTP URL for the tree of this commit */ treeUrl: Scalars['URI']['output']; /** The HTTP URL for this commit */ url: Scalars['URI']['output']; /** Check if the viewer is able to change their subscription status for the repository. */ viewerCanSubscribe: Scalars['Boolean']['output']; /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ viewerSubscription?: Maybe; /** * Returns a URL to download a zipball archive for a repository. * Note: For private repositories, these links are temporary and expire after five minutes. */ zipballUrl: Scalars['URI']['output']; }; /** Represents a Git commit. */ type CommitAssociatedPullRequestsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a Git commit. */ type CommitAuthorsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a Git commit. */ type CommitBlameArgs = { path: Scalars['String']['input']; }; /** Represents a Git commit. */ type CommitCheckSuitesArgs = { after?: InputMaybe; before?: InputMaybe; filterBy?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a Git commit. */ type CommitCommentsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a Git commit. */ type CommitDeploymentsArgs = { after?: InputMaybe; before?: InputMaybe; environments?: InputMaybe>; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a Git commit. */ type CommitFileArgs = { path: Scalars['String']['input']; }; /** Represents a Git commit. */ type CommitHistoryArgs = { after?: InputMaybe; author?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; path?: InputMaybe; since?: InputMaybe; until?: InputMaybe; }; /** Represents a Git commit. */ type CommitParentsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a Git commit. */ type CommitSubmodulesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Specifies an author for filtering Git commits. */ type CommitAuthor = { /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */emails?: InputMaybe>; /** * ID of a User to filter by. If non-null, only commits authored by this user * will be returned. This field takes precedence over emails. */ id?: InputMaybe; }; /** Parameters to be used for the commit_author_email_pattern rule */ type CommitAuthorEmailPatternParameters = { __typename?: 'CommitAuthorEmailPatternParameters'; /** How this rule appears when configuring it. */ name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']['output']; /** The operator to use for matching. */ operator: Scalars['String']['output']; /** The pattern to match with. */ pattern: Scalars['String']['output']; }; /** Parameters to be used for the commit_author_email_pattern rule */ type CommitAuthorEmailPatternParametersInput = { /** How this rule appears when configuring it. */name?: InputMaybe; /** If true, the rule will fail if the pattern matches. */ negate?: InputMaybe; /** The operator to use for matching. */ operator: Scalars['String']['input']; /** The pattern to match with. */ pattern: Scalars['String']['input']; }; /** Represents a comment on a given Commit. */ type CommitComment = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & { __typename?: 'CommitComment'; /** The actor who authored the comment. */ author?: Maybe; /** Author's association with the subject of the comment. */ authorAssociation: CommentAuthorAssociation; /** Identifies the comment body. */ body: Scalars['String']['output']; /** The body rendered to HTML. */ bodyHTML: Scalars['HTML']['output']; /** The body rendered to text. */ bodyText: Scalars['String']['output']; /** Identifies the commit associated with the comment, if the commit exists. */ commit?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Check if this comment was created via an email reply. */ createdViaEmail: Scalars['Boolean']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The actor who edited the comment. */ editor?: Maybe; /** The Node ID of the CommitComment object */ id: Scalars['ID']['output']; /** Check if this comment was edited and includes an edit with the creation data */ includesCreatedEdit: Scalars['Boolean']['output']; /** Returns whether or not a comment has been minimized. */ isMinimized: Scalars['Boolean']['output']; /** The moment the editor made the last edit */ lastEditedAt?: Maybe; /** * 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?: Maybe; /** Identifies the file path associated with the comment. */ path?: Maybe; /** Identifies the line position associated with the comment. */ position?: Maybe; /** Identifies when the comment was published at. */ publishedAt?: Maybe; /** A list of reactions grouped by content left on the subject. */ reactionGroups?: Maybe>; /** A list of Reactions left on the Issue. */ reactions: ReactionConnection; /** The repository associated with this node. */ repository: Repository; /** The HTTP path permalink for this commit comment. */ resourcePath: Scalars['URI']['output']; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']['output']; /** The HTTP URL permalink for this commit comment. */ url: Scalars['URI']['output']; /** A list of edits to this content. */ userContentEdits?: Maybe; /** Check if the current viewer can delete this object. */ viewerCanDelete: Scalars['Boolean']['output']; /** Check if the current viewer can minimize this object. */ viewerCanMinimize: Scalars['Boolean']['output']; /** Can user react to this subject */ viewerCanReact: Scalars['Boolean']['output']; /** Check if the current viewer can unminimize this object. */ viewerCanUnminimize: Scalars['Boolean']['output']; /** Check if the current viewer can update this object. */ viewerCanUpdate: Scalars['Boolean']['output']; /** Reasons why the current viewer can not update this comment. */ viewerCannotUpdateReasons: Array; /** Did the viewer author this comment. */ viewerDidAuthor: Scalars['Boolean']['output']; }; /** Represents a comment on a given Commit. */ type CommitCommentReactionsArgs = { after?: InputMaybe; before?: InputMaybe; content?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** Represents a comment on a given Commit. */ type CommitCommentUserContentEditsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The connection type for CommitComment. */ type CommitCommentConnection = { __typename?: 'CommitCommentConnection'; /** 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. */ type CommitCommentEdge = { __typename?: 'CommitCommentEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** A thread of comments on a commit. */ type CommitCommentThread = Node & RepositoryNode & { __typename?: 'CommitCommentThread'; /** The comments that exist in this thread. */ comments: CommitCommentConnection; /** The commit the comments were made on. */ commit?: Maybe; /** The Node ID of the CommitCommentThread object */ id: Scalars['ID']['output']; /** The file the comments were made on. */ path?: Maybe; /** The position in the diff for the commit that the comment was made on. */ position?: Maybe; /** The repository associated with this node. */ repository: Repository; }; /** A thread of comments on a commit. */ type CommitCommentThreadCommentsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The connection type for Commit. */ type CommitConnection = { __typename?: 'CommitConnection'; /** 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']; }; /** Ordering options for commit contribution connections. */ type CommitContributionOrder = { /** The ordering direction. */direction: OrderDirection; /** The field by which to order commit contributions. */ field: CommitContributionOrderField; }; /** Properties by which commit contribution connections can be ordered. */ type CommitContributionOrderField = /** Order commit contributions by how many commits they represent. */'COMMIT_COUNT' /** Order commit contributions by when they were made. */ | 'OCCURRED_AT'; /** This aggregates commits made by a user within one repository. */ type CommitContributionsByRepository = { __typename?: 'CommitContributionsByRepository'; /** The commit contributions, each representing a day. */ contributions: CreatedCommitContributionConnection; /** The repository in which the commits were made. */ repository: Repository; /** The HTTP path for the user's commits to the repository in this time range. */ resourcePath: Scalars['URI']['output']; /** The HTTP URL for the user's commits to the repository in this time range. */ url: Scalars['URI']['output']; }; /** This aggregates commits made by a user within one repository. */ type CommitContributionsByRepositoryContributionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** An edge in a connection. */ type CommitEdge = { __typename?: 'CommitEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']['output']; /** The item at the end of the edge. */ node?: Maybe; }; /** The connection type for Commit. */ type CommitHistoryConnection = { __typename?: 'CommitHistoryConnection'; /** 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']; }; /** A message to include with a new commit */ type CommitMessage = { /** The body of the message. */body?: InputMaybe; /** The headline of the message. */ headline: Scalars['String']['input']; }; /** Parameters to be used for the commit_message_pattern rule */ type CommitMessagePatternParameters = { __typename?: 'CommitMessagePatternParameters'; /** How this rule appears when configuring it. */ name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']['output']; /** The operator to use for matching. */ operator: Scalars['String']['output']; /** The pattern to match with. */ pattern: Scalars['String']['output']; }; /** Parameters to be used for the commit_message_pattern rule */ type CommitMessagePatternParametersInput = { /** How this rule appears when configuring it. */name?: InputMaybe; /** If true, the rule will fail if the pattern matches. */ negate?: InputMaybe; /** The operator to use for matching. */ operator: Scalars['String']['input']; /** The pattern to match with. */ pattern: Scalars['String']['input']; }; /** * A git ref for a commit to be appended to. * * The ref must be a branch, i.e. its fully qualified name must start * with `refs/heads/` (although the input is not required to be fully * qualified). * * The Ref may be specified by its global node ID or by the * `repositoryNameWithOwner` and `branchName`. * * ### Examples * * Specify a branch using a global node ID: * * { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } * * Specify a branch using `repositoryNameWithOwner` and `branchName`: * * { * "repositoryNameWithOwner": "github/graphql-client", * "branchName": "main" * } */ type CommittableBranch = { /** The unqualified name of the branch to append the commit to. */branchName?: InputMaybe; /** The Node ID of the Ref to be updated. */ id?: InputMaybe; /** The nameWithOwner of the repository to commit to. */ repositoryNameWithOwner?: InputMaybe; }; /** Parameters to be used for the committer_email_pattern rule */ type CommitterEmailPatternParameters = { __typename?: 'CommitterEmailPatternParameters'; /** How this rule appears when configuring it. */ name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']['output']; /** The operator to use for matching. */ operator: Scalars['String']['output']; /** The pattern to match with. */ pattern: Scalars['String']['output']; }; /** Parameters to be used for the committer_email_pattern rule */ type CommitterEmailPatternParametersInput = { /** How this rule appears when configuring it. */name?: InputMaybe; /** If true, the rule will fail if the pattern matches. */ negate?: InputMaybe; /** The operator to use for matching. */ operator: Scalars['String']['input']; /** The pattern to match with. */ pattern: Scalars['String']['input']; }; /** Represents a comparison between two commit revisions. */ type Comparison = Node & { __typename?: 'Comparison'; /** The number of commits ahead of the base branch. */ aheadBy: Scalars['Int']['output']; /** The base revision of this comparison. */ baseTarget: Blob | Commit | Tag | Tree; /** The number of commits behind the base branch. */ behindBy: Scalars['Int']['output']; /** The commits which compose this comparison. */ commits: ComparisonCommitConnection; /** The head revision of this comparison. */ headTarget: Blob | Commit | Tag | Tree; /** The Node ID of the Comparison object */ id: Scalars['ID']['output']; /** The status of this comparison. */ status: ComparisonStatus; }; /** Represents a comparison between two commit revisions. */ type ComparisonCommitsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The connection type for Commit. */ type ComparisonCommitConnection = { __typename?: 'ComparisonCommitConnection'; /** The total count of authors and co-authors across all commits. */ authorCount: Scalars['Int']['output']; /** 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']; }; /** The status of a git comparison between two refs. */ type ComparisonStatus = /** The head ref is ahead of the base ref. */'AHEAD' /** The head ref is behind the base ref. */ | 'BEHIND' /** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */ | 'DIVERGED' /** The head ref and base ref are identical. */ | 'IDENTICAL'; /** Represents a 'connected' event on a given issue or pull request. */ type ConnectedEvent = Node & { __typename?: 'ConnectedEvent'; /** 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 ConnectedEvent object */ id: Scalars['ID']['output']; /** Reference originated in a different repository. */ isCrossRepository: Scalars['Boolean']['output']; /** Issue or pull request that made the reference. */ source: ReferencedSubject; /** Issue or pull request which was connected. */ subject: ReferencedSubject; }; /** The content warning for a repository */ type ContentWarning = { __typename?: 'ContentWarning'; /** The content warning' category. E.g. 'mis_dis_information' */ category: Scalars['String']['output']; /** The content warning's custom sub category text. E.g. 'dangerous stuff.' */ customSubCategory?: Maybe; /** The content warning's sub category. E.g. 'medical_scientific' */ subCategory?: Maybe; /** The content warning's sub title. E.g. 'The information contained in this page has not been verified.' */ subTitle?: Maybe; /** The content warning's title. E.g. 'This page may contain false or misleading information.' */ title: Scalars['String']['output']; /** The type of content warning. E.g. 'interstitial' */ type: Scalars['String']['output']; }; /** The Contributing Guidelines for a repository. */ type ContributingGuidelines = { __typename?: 'ContributingGuidelines'; /** The body of the Contributing Guidelines. */ body?: Maybe; /** The HTTP path for the Contributing Guidelines. */ resourcePath?: Maybe; /** The HTTP URL for the Contributing Guidelines. */ url?: Maybe; }; /** Represents a contribution a user made on GitHub, such as opening an issue. */ type 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. */ isRestricted: Scalars['Boolean']['output']; /** When this contribution was made. */ occurredAt: Scalars['DateTime']['output']; /** The HTTP path for this contribution. */ resourcePath: Scalars['URI']['output']; /** The HTTP URL for this contribution. */ url: Scalars['URI']['output']; /** The user who made this contribution. */ user: User; }; /** A calendar of contributions made on GitHub by a user. */ type ContributionCalendar = { __typename?: 'ContributionCalendar'; /** A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. */ colors: Array; /** Determine if the color set was chosen because it's currently Halloween. */ isHalloween: Scalars['Boolean']['output']; /** A list of the months of contributions in this calendar. */ months: Array; /** The count of total contributions in the calendar. */ totalContributions: Scalars['Int']['output']; /** A list of the weeks of contributions in this calendar. */ weeks: Array; }; /** Represents a single day of contributions on GitHub by a user. */ type ContributionCalendarDay = { __typename?: 'ContributionCalendarDay'; /** The hex color code that represents how many contributions were made on this day compared to others in the calendar. */ color: Scalars['String']['output']; /** How many contributions were made by the user on this day. */ contributionCount: Scalars['Int']['output']; /** * Indication of contributions, relative to other days. Can be used to indicate * which color to represent this day on a calendar. */ contributionLevel: ContributionLevel; /** The day this square represents. */ date: Scalars['Date']['output']; /** A number representing which day of the week this square represents, e.g., 1 is Monday. */ weekday: Scalars['Int']['output']; }; /** A month of contributions in a user's contribution graph. */ type ContributionCalendarMonth = { __typename?: 'ContributionCalendarMonth'; /** The date of the first day of this month. */ firstDay: Scalars['Date']['output']; /** The name of the month. */ name: Scalars['String']['output']; /** How many weeks started in this month. */ totalWeeks: Scalars['Int']['output']; /** The year the month occurred in. */ year: Scalars['Int']['output']; }; /** A week of contributions in a user's contribution graph. */ type ContributionCalendarWeek = { __typename?: 'ContributionCalendarWeek'; /** The days of contributions in this week. */ contributionDays: Array; /** The date of the earliest square in this week. */ firstDay: Scalars['Date']['output']; }; /** Varying levels of contributions from none to many. */ type ContributionLevel = /** Lowest 25% of days of contributions. */'FIRST_QUARTILE' /** Highest 25% of days of contributions. More contributions than the third quartile. */ | 'FOURTH_QUARTILE' /** No contributions occurred. */ | 'NONE' /** Second lowest 25% of days of contributions. More contributions than the first quartile. */ | 'SECOND_QUARTILE' /** Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. */ | 'THIRD_QUARTILE'; /** Ordering options for contribution connections. */ type ContributionOrder = { /** The ordering direction. */direction: OrderDirection; }; /** * 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 = { __typename?: 'ContributionsCollection'; /** Commit contributions made by the user, grouped by repository. */ commitContributionsByRepository: Array; /** A calendar of this user's contributions on GitHub. */ contributionCalendar: ContributionCalendar; /** The years the user has been making contributions with the most recent year first. */ contributionYears: Array; /** Determine if this collection's time span ends in the current month. */ doesEndInCurrentMonth: Scalars['Boolean']['output']; /** * The date of the first restricted contribution the user made in this time * period. Can only be non-null when the user has enabled private contribution counts. */ earliestRestrictedContributionDate?: Maybe; /** The ending date and time of this collection. */ endedAt: Scalars['DateTime']['output']; /** * The first issue the user opened on GitHub. This will be null if that issue was * opened outside the collection's time range and ignoreTimeRange is false. If * the issue is not visible but the user has opted to show private contributions, * a RestrictedContribution will be returned. */ firstIssueContribution?: Maybe; /** * The first pull request the user opened on GitHub. This will be null if that * pull request was opened outside the collection's time range and * ignoreTimeRange is not true. If the pull request is not visible but the user * has opted to show private contributions, a RestrictedContribution will be returned. */ firstPullRequestContribution?: Maybe; /** * The first repository the user created on GitHub. This will be null if that * first repository was created outside the collection's time range and * ignoreTimeRange is false. If the repository is not visible, then a * RestrictedContribution is returned. */ firstRepositoryContribution?: Maybe; /** Does the user have any more activity in the timeline that occurred prior to the collection's time range? */ hasActivityInThePast: Scalars['Boolean']['output']; /** Determine if there are any contributions in this collection. */ hasAnyContributions: Scalars['Boolean']['output']; /** * Determine if the user made any contributions in this time frame whose details * are not visible because they were made in a private repository. Can only be * true if the user enabled private contribution counts. */ hasAnyRestrictedContributions: Scalars['Boolean']['output']; /** Whether or not the collector's time span is all within the same day. */ isSingleDay: Scalars['Boolean']['output']; /** A list of issues the user opened. */ issueContributions: CreatedIssueContributionConnection; /** Issue contributions made by the user, grouped by repository. */ issueContributionsByRepository: Array; /** * When the user signed up for GitHub. This will be null if that sign up date * falls outside the collection's time range and ignoreTimeRange is false. */ joinedGitHubContribution?: Maybe; /** * The date of the most recent restricted contribution the user made in this time * period. Can only be non-null when the user has enabled private contribution counts. */ latestRestrictedContributionDate?: Maybe; /** * When this collection's time range does not include any activity from the user, use this * to get a different collection from an earlier time range that does have activity. */ mostRecentCollectionWithActivity?: Maybe; /** * Returns a different contributions collection from an earlier time range than this one * that does not have any contributions. */ mostRecentCollectionWithoutActivity?: Maybe; /** * The issue the user opened on GitHub that received the most comments in the specified * time frame. */ popularIssueContribution?: Maybe; /** * The pull request the user opened on GitHub that received the most comments in the * specified time frame. */ popularPullRequestContribution?: Maybe; /** Pull request contributions made by the user. */ pullRequestContributions: CreatedPullRequestContributionConnection; /** Pull request contributions made by the user, grouped by repository. */ pullRequestContributionsByRepository: Array; /** * Pull request review contributions made by the user. Returns the most recently * submitted review for each PR reviewed by the user. */ pullRequestReviewContributions: CreatedPullRequestReviewContributionConnection; /** Pull request review contributions made by the user, grouped by repository. */ pullRequestReviewContributionsByRepository: Array; /** A list of repositories owned by the user that the user created in this time range. */ repositoryContributions: CreatedRepositoryContributionConnection; /** * A count of contributions made by the user that the viewer cannot access. Only * non-zero when the user has chosen to share their private contribution counts. */ restrictedContributionsCount: Scalars['Int']['output']; /** The beginning date and time of this collection. */ startedAt: Scalars['DateTime']['output']; /** How many commits were made by the user in this time span. */ totalCommitContributions: Scalars['Int']['output']; /** How many issues the user opened. */ totalIssueContributions: Scalars['Int']['output']; /** How many pull requests the user opened. */ totalPullRequestContributions: Scalars['Int']['output']; /** How many pull request reviews the user left. */ totalPullRequestReviewContributions: Scalars['Int']['output']; /** How many different repositories the user committed to. */ totalRepositoriesWithContributedCommits: Scalars['Int']['output']; /** How many different repositories the user opened issues in. */ totalRepositoriesWithContributedIssues: Scalars['Int']['output']; /** How many different repositories the user left pull request reviews in. */ totalRepositoriesWithContributedPullRequestReviews: Scalars['Int']['output']; /** How many different repositories the user opened pull requests in. */ totalRepositoriesWithContributedPullRequests: Scalars['Int']['output']; /** How many repositories the user created. */ totalRepositoryContributions: Scalars['Int']['output']; /** The user who made the contributions in this collection. */ user: 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 ContributionsCollectionCommitContributionsByRepositoryArgs = { maxRepositories?: InputMaybe; }; /** * 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 ContributionsCollectionIssueContributionsArgs = { after?: InputMaybe; before?: InputMaybe; excludeFirst?: InputMaybe; excludePopular?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** * 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 ContributionsCollectionIssueContributionsByRepositoryArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; maxRepositories?: InputMaybe; }; /** * 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 ContributionsCollectionPullRequestContributionsArgs = { after?: InputMaybe; before?: InputMaybe; excludeFirst?: InputMaybe; excludePopular?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** * 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 ContributionsCollectionPullRequestContributionsByRepositoryArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; maxRepositories?: InputMaybe; }; /** * 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 ContributionsCollectionPullRequestReviewContributionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** * 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 ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = { maxRepositories?: InputMaybe; }; /** * 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 ContributionsCollectionRepositoryContributionsArgs = { after?: InputMaybe; before?: InputMaybe; excludeFirst?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; }; /** * 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 ContributionsCollectionTotalIssueContributionsArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; }; /** * 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 ContributionsCollectionTotalPullRequestContributionsArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; }; /** * 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 ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; }; /** * 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 ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = { excludeFirst?: InputMaybe; excludePopular?: InputMaybe; }; /** * 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 ContributionsCollectionTotalRepositoryContributionsArgs = { excludeFirst?: InputMaybe; }; /** Autogenerated input type of ConvertProjectCardNoteToIssue */ type ConvertProjectCardNoteToIssueInput = { /** The body of the newly created issue. */body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The ProjectCard ID to convert. */ projectCardId: Scalars['ID']['input']; /** The ID of the repository to create the issue in. */ repositoryId: Scalars['ID']['input']; /** The title of the newly created issue. Defaults to the card's note text. */ title?: InputMaybe; }; /** Autogenerated return type of ConvertProjectCardNoteToIssue. */ type ConvertProjectCardNoteToIssuePayload = { __typename?: 'ConvertProjectCardNoteToIssuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The updated ProjectCard. */ projectCard?: Maybe; }; /** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ type ConvertProjectV2DraftIssueItemToIssueInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The ID of the draft issue ProjectV2Item to convert. */ itemId: Scalars['ID']['input']; /** The ID of the repository to create the issue in. */ repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue. */ type ConvertProjectV2DraftIssueItemToIssuePayload = { __typename?: 'ConvertProjectV2DraftIssueItemToIssuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The updated project item. */ item?: Maybe; }; /** Autogenerated input type of ConvertPullRequestToDraft */ type ConvertPullRequestToDraftInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** ID of the pull request to convert to draft */ pullRequestId: Scalars['ID']['input']; }; /** Autogenerated return type of ConvertPullRequestToDraft. */ type ConvertPullRequestToDraftPayload = { __typename?: 'ConvertPullRequestToDraftPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The pull request that is now a draft. */ pullRequest?: Maybe; }; /** Represents a 'convert_to_draft' event on a given pull request. */ type ConvertToDraftEvent = Node & UniformResourceLocatable & { __typename?: 'ConvertToDraftEvent'; /** 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 ConvertToDraftEvent object */ id: Scalars['ID']['output']; /** PullRequest referenced by event. */ pullRequest: PullRequest; /** The HTTP path for this convert to draft event. */ resourcePath: Scalars['URI']['output']; /** The HTTP URL for this convert to draft event. */ url: Scalars['URI']['output']; }; /** Represents a 'converted_from_draft' event on a given issue or pull request. */ type ConvertedFromDraftEvent = Node & ProjectV2Event & { __typename?: 'ConvertedFromDraftEvent'; /** 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 ConvertedFromDraftEvent object */ id: Scalars['ID']['output']; /** Project referenced by event. */ project?: Maybe; /** Did this event result from workflow automation? */ wasAutomated: Scalars['Boolean']['output']; }; /** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ type ConvertedNoteToIssueEvent = Node & { __typename?: 'ConvertedNoteToIssueEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** Identifies the primary key from the database. */ databaseId?: Maybe; /** The Node ID of the ConvertedNoteToIssueEvent object */ id: Scalars['ID']['output']; /** * Project referenced by 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. */ project?: Maybe; /** * 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']; }; /** Represents a 'converted_to_discussion' event on a given issue. */ type ConvertedToDiscussionEvent = Node & { __typename?: 'ConvertedToDiscussionEvent'; /** Identifies the actor who performed the event. */ actor?: Maybe; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']['output']; /** The discussion that the issue was converted into. */ discussion?: Maybe; /** The Node ID of the ConvertedToDiscussionEvent object */ id: Scalars['ID']['output']; }; /** * Request Copilot code review for new pull requests automatically if the author * has access to Copilot code review and their premium requests quota has not * reached the limit. */ type CopilotCodeReviewParameters = { __typename?: 'CopilotCodeReviewParameters'; /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */ reviewDraftPullRequests: Scalars['Boolean']['output']; /** Copilot automatically reviews each new push to the pull request. */ reviewOnPush: Scalars['Boolean']['output']; }; /** * Request Copilot code review for new pull requests automatically if the author * has access to Copilot code review and their premium requests quota has not * reached the limit. */ type CopilotCodeReviewParametersInput = { /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */reviewDraftPullRequests?: InputMaybe; /** Copilot automatically reviews each new push to the pull request. */ reviewOnPush?: InputMaybe; }; /** Copilot endpoint information */ type CopilotEndpoints = { __typename?: 'CopilotEndpoints'; /** Copilot API endpoint */ api: Scalars['String']['output']; /** Copilot origin tracker endpoint */ originTracker: Scalars['String']['output']; /** Copilot proxy endpoint */ proxy: Scalars['String']['output']; /** Copilot telemetry endpoint */ telemetry: Scalars['String']['output']; }; /** Autogenerated input type of CopyProjectV2 */ type CopyProjectV2Input = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** Include draft issues in the new project */ includeDraftIssues?: InputMaybe; /** The owner ID of the new project. */ ownerId: Scalars['ID']['input']; /** The ID of the source Project to copy. */ projectId: Scalars['ID']['input']; /** The title of the project. */ title: Scalars['String']['input']; }; /** Autogenerated return type of CopyProjectV2. */ type CopyProjectV2Payload = { __typename?: 'CopyProjectV2Payload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The copied project. */ projectV2?: Maybe; }; /** Autogenerated input type of CreateAttributionInvitation */ type CreateAttributionInvitationInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The Node ID of the owner scoping the reattributable data. */ ownerId: Scalars['ID']['input']; /** The Node ID of the account owning the data to reattribute. */ sourceId: Scalars['ID']['input']; /** The Node ID of the account which may claim the data. */ targetId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateAttributionInvitation. */ type CreateAttributionInvitationPayload = { __typename?: 'CreateAttributionInvitationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The owner scoping the reattributable data. */ owner?: Maybe; /** The account owning the data to reattribute. */ source?: Maybe; /** The account which may claim the data. */ target?: Maybe; }; /** Autogenerated input type of CreateBranchProtectionRule */ type CreateBranchProtectionRuleInput = { /** Can this branch be deleted. */allowsDeletions?: InputMaybe; /** Are force pushes allowed on this branch. */ allowsForcePushes?: InputMaybe; /** Is branch creation a protected operation. */ blocksCreations?: InputMaybe; /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ bypassForcePushActorIds?: InputMaybe>; /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ bypassPullRequestActorIds?: InputMaybe>; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Will new commits pushed to matching branches dismiss pull request review approvals. */ dismissesStaleReviews?: InputMaybe; /** Can admins override branch protection. */ isAdminEnforced?: InputMaybe; /** * 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?: InputMaybe; /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ lockBranch?: InputMaybe; /** The glob-like pattern used to determine matching branches. */ pattern: Scalars['String']['input']; /** A list of User, Team, or App IDs allowed to push to matching branches. */ pushActorIds?: InputMaybe>; /** The global relay id of the repository in which a new branch protection rule should be created in. */ repositoryId: Scalars['ID']['input']; /** Whether the most recent push must be approved by someone other than the person who pushed it */ requireLastPushApproval?: InputMaybe; /** Number of approving reviews required to update matching branches. */ requiredApprovingReviewCount?: InputMaybe; /** The list of required deployment environments */ requiredDeploymentEnvironments?: InputMaybe>; /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ requiredStatusCheckContexts?: InputMaybe>; /** The list of required status checks */ requiredStatusChecks?: InputMaybe>; /** Are approving reviews required to update matching branches. */ requiresApprovingReviews?: InputMaybe; /** Are reviews from code owners required to update matching branches. */ requiresCodeOwnerReviews?: InputMaybe; /** Are commits required to be signed. */ requiresCommitSignatures?: InputMaybe; /** Are conversations required to be resolved before merging. */ requiresConversationResolution?: InputMaybe; /** Are successful deployments required before merging. */ requiresDeployments?: InputMaybe; /** Are merge commits prohibited from being pushed to this branch. */ requiresLinearHistory?: InputMaybe; /** Are status checks required to update matching branches. */ requiresStatusChecks?: InputMaybe; /** Are branches required to be up to date before merging. */ requiresStrictStatusChecks?: InputMaybe; /** Is pushing to matching branches restricted. */ restrictsPushes?: InputMaybe; /** Is dismissal of pull request reviews restricted. */ restrictsReviewDismissals?: InputMaybe; /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ reviewDismissalActorIds?: InputMaybe>; }; /** Autogenerated return type of CreateBranchProtectionRule. */ type CreateBranchProtectionRulePayload = { __typename?: 'CreateBranchProtectionRulePayload'; /** The newly created BranchProtectionRule. */ branchProtectionRule?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCheckRun */ type CreateCheckRunInput = { /** Possible further actions the integrator can perform, which a user may trigger. */actions?: InputMaybe>; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The time that the check run finished. */ completedAt?: InputMaybe; /** The final conclusion of the check. */ conclusion?: InputMaybe; /** The URL of the integrator's site that has the full details of the check. */ detailsUrl?: InputMaybe; /** A reference for the run on the integrator's system. */ externalId?: InputMaybe; /** The SHA of the head commit. */ headSha: Scalars['GitObjectID']['input']; /** The name of the check. */ name: Scalars['String']['input']; /** Descriptive details about the run. */ output?: InputMaybe; /** The node ID of the repository. */ repositoryId: Scalars['ID']['input']; /** The time that the check run began. */ startedAt?: InputMaybe; /** The current status. */ status?: InputMaybe; }; /** Autogenerated return type of CreateCheckRun. */ type CreateCheckRunPayload = { __typename?: 'CreateCheckRunPayload'; /** The newly created check run. */ checkRun?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCheckSuite */ type CreateCheckSuiteInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The SHA of the head commit. */ headSha: Scalars['GitObjectID']['input']; /** The Node ID of the repository. */ repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateCheckSuite. */ type CreateCheckSuitePayload = { __typename?: 'CreateCheckSuitePayload'; /** The newly created check suite. */ checkSuite?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; }; /** Autogenerated input type of CreateCommitOnBranch */ type CreateCommitOnBranchInput = { /** The Ref to be updated. Must be a branch. */branch: CommittableBranch; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The git commit oid expected at the head of the branch prior to the commit */ expectedHeadOid: Scalars['GitObjectID']['input']; /** A description of changes to files in this commit. */ fileChanges?: InputMaybe; /** The commit message the be included with the commit. */ message: CommitMessage; }; /** Autogenerated return type of CreateCommitOnBranch. */ type CreateCommitOnBranchPayload = { __typename?: 'CreateCommitOnBranchPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new commit. */ commit?: Maybe; /** The ref which has been updated to point to the new commit. */ ref?: Maybe; }; /** Autogenerated input type of CreateDeployment */ type CreateDeploymentInput = { /** Attempt to automatically merge the default branch into the requested ref, defaults to true. */autoMerge?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Short description of the deployment. */ description?: InputMaybe; /** Name for the target deployment environment. */ environment?: InputMaybe; /** JSON payload with extra information about the deployment. */ payload?: InputMaybe; /** The node ID of the ref to be deployed. */ refId: Scalars['ID']['input']; /** The node ID of the repository. */ repositoryId: Scalars['ID']['input']; /** * The status contexts to verify against commit status checks. To bypass required * contexts, pass an empty array. Defaults to all unique contexts. */ requiredContexts?: InputMaybe>; /** Specifies a task to execute. */ task?: InputMaybe; }; /** Autogenerated return type of CreateDeployment. */ type CreateDeploymentPayload = { __typename?: 'CreateDeploymentPayload'; /** True if the default branch has been auto-merged into the deployment ref. */ autoMerged?: Maybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new deployment. */ deployment?: Maybe; }; /** Autogenerated input type of CreateDeploymentStatus */ type CreateDeploymentStatusInput = { /** * Adds a new inactive status to all non-transient, non-production environment * deployments with the same repository and environment name as the created * status's deployment. */ autoInactive?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The node ID of the deployment. */ deploymentId: Scalars['ID']['input']; /** A short description of the status. Maximum length of 140 characters. */ description?: InputMaybe; /** If provided, updates the environment of the deploy. Otherwise, does not modify the environment. */ environment?: InputMaybe; /** Sets the URL for accessing your environment. */ environmentUrl?: InputMaybe; /** * The log URL to associate with this status. This URL should contain * output to keep the user updated while the task is running or serve as * historical information for what happened in the deployment. */ logUrl?: InputMaybe; /** The state of the deployment. */ state: DeploymentStatusState; }; /** Autogenerated return type of CreateDeploymentStatus. */ type CreateDeploymentStatusPayload = { __typename?: 'CreateDeploymentStatusPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new deployment status. */ deploymentStatus?: Maybe; }; /** Autogenerated input type of CreateDiscussion */ type CreateDiscussionInput = { /** The body of the discussion. */body: Scalars['String']['input']; /** The id of the discussion category to associate with this discussion. */ categoryId: Scalars['ID']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The id of the repository on which to create the discussion. */ repositoryId: Scalars['ID']['input']; /** The title of the discussion. */ title: Scalars['String']['input']; }; /** Autogenerated return type of CreateDiscussion. */ type CreateDiscussionPayload = { __typename?: 'CreateDiscussionPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The discussion that was just created. */ discussion?: Maybe; }; /** Autogenerated input type of CreateEnterpriseOrganization */ type CreateEnterpriseOrganizationInput = { /** The logins for the administrators of the new organization. */adminLogins: Array; /** The email used for sending billing receipts. */ billingEmail: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** The ID of the enterprise owning the new organization. */ enterpriseId: Scalars['ID']['input']; /** The login of the new organization. */ login: Scalars['String']['input']; /** The profile name of the new organization. */ profileName: Scalars['String']['input']; }; /** Autogenerated return type of CreateEnterpriseOrganization. */ type CreateEnterpriseOrganizationPayload = { __typename?: 'CreateEnterpriseOrganizationPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The enterprise that owns the created organization. */ enterprise?: Maybe; /** The organization that was created. */ organization?: Maybe; }; /** Autogenerated input type of CreateEnvironment */ type CreateEnvironmentInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The name of the environment. */ name: Scalars['String']['input']; /** The node ID of the repository. */ repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateEnvironment. */ type CreateEnvironmentPayload = { __typename?: 'CreateEnvironmentPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new or existing environment. */ environment?: Maybe; }; /** Autogenerated input type of CreateIpAllowListEntry */ type CreateIpAllowListEntryInput = { /** An IP address or range of addresses in CIDR notation. */allowListValue: Scalars['String']['input']; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Whether the IP allow list entry is active when an IP allow list is enabled. */ isActive: Scalars['Boolean']['input']; /** An optional name for the IP allow list entry. */ name?: InputMaybe; /** The ID of the owner for which to create the new IP allow list entry. */ ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateIpAllowListEntry. */ type CreateIpAllowListEntryPayload = { __typename?: 'CreateIpAllowListEntryPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The IP allow list entry that was created. */ ipAllowListEntry?: Maybe; }; /** Autogenerated input type of CreateIssueField */ type CreateIssueFieldInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The data type of the issue field. */ dataType: IssueFieldDataType; /** A description of the issue field. */ description?: InputMaybe; /** The name of the issue field. */ name: Scalars['String']['input']; /** The options for the issue field if applicable. */ options?: InputMaybe>; /** The ID of the organization where the issue field will be created. */ ownerId: Scalars['ID']['input']; /** The visibility of the issue field. */ visibility?: InputMaybe; }; /** Autogenerated return type of CreateIssueField. */ type CreateIssueFieldPayload = { __typename?: 'CreateIssueFieldPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created issue field. */ issueField?: Maybe; }; /** Autogenerated input type of CreateIssueFieldValue */ type CreateIssueFieldValueInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** The field value to create. */ issueField: IssueFieldCreateOrUpdateInput; /** The ID of the issue. */ issueId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateIssueFieldValue. */ type CreateIssueFieldValuePayload = { __typename?: 'CreateIssueFieldValuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The issue object. */ issue?: Maybe; /** The newly created issue field value. */ issueFieldValue?: Maybe; }; /** Autogenerated input type of CreateIssue */ type CreateIssueInput = { /** Configuration for assigning Copilot to this issue. */agentAssignment?: InputMaybe; /** The Node ID of assignees for this issue. */ assigneeIds?: InputMaybe>; /** The body for the issue description. */ body?: InputMaybe; /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** An array of issue fields to set on the issue during creation */ issueFields?: InputMaybe>; /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */ issueTemplate?: InputMaybe; /** The Node ID of the issue type for this issue */ issueTypeId?: InputMaybe; /** An array of Node IDs of labels for this issue. */ 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>; /** An array of Node IDs for Projects V2 associated with this issue. */ projectV2Ids?: InputMaybe>; /** The Node ID of the repository. */ repositoryId: Scalars['ID']['input']; /** The title for the issue. */ title: Scalars['String']['input']; }; /** Autogenerated return type of CreateIssue. */ type CreateIssuePayload = { __typename?: 'CreateIssuePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new issue. */ issue?: Maybe; }; /** Autogenerated input type of CreateIssueType */ type CreateIssueTypeInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** Color for the issue type */ color?: InputMaybe; /** Description of the new issue type */ description?: InputMaybe; /** Whether or not the issue type is enabled on the org level */ isEnabled: Scalars['Boolean']['input']; /** Name of the new issue type */ name: Scalars['String']['input']; /** The ID for the organization on which the issue type is created */ ownerId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateIssueType. */ type CreateIssueTypePayload = { __typename?: 'CreateIssueTypePayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The newly created issue type */ issueType?: Maybe; }; /** Autogenerated input type of CreateLabel */ type CreateLabelInput = { /** A unique identifier for the client performing the mutation. */clientMutationId?: InputMaybe; /** A 6 character hex code, without the leading #, identifying the color of the label. */ color: Scalars['String']['input']; /** A brief description of the label, such as its purpose. */ description?: InputMaybe; /** The name of the label. */ name: Scalars['String']['input']; /** The Node ID of the repository. */ repositoryId: Scalars['ID']['input']; }; /** Autogenerated return type of CreateLabel. */ type CreateLabelPayload = { __typename?: 'CreateLabelPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; /** The new label. */ label?: Maybe