diff --git a/src/main/resources/graphql-documents/schema.docs.graphql b/src/main/resources/graphql-documents/schema.docs.graphql index 9051775e..21668692 100644 --- a/src/main/resources/graphql-documents/schema.docs.graphql +++ b/src/main/resources/graphql-documents/schema.docs.graphql @@ -57,6 +57,36 @@ type AbortQueuedMigrationsPayload { success: Boolean } +""" +Autogenerated input type of AbortRepositoryMigration +""" +input AbortRepositoryMigrationInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the migration to be aborted. + """ + migrationId: ID! @possibleTypes(concreteTypes: ["RepositoryMigration"]) +} + +""" +Autogenerated return type of AbortRepositoryMigration +""" +type AbortRepositoryMigrationPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Autogenerated input type of AcceptEnterpriseAdministratorInvitation """ @@ -864,6 +894,46 @@ type AddPullRequestReviewThreadPayload { thread: PullRequestReviewThread } +""" +Autogenerated input type of AddPullRequestReviewThreadReply +""" +input AddPullRequestReviewThreadReplyInput { + """ + The text of the reply. + """ + body: String! + + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The Node ID of the pending review to which the reply will belong. + """ + pullRequestReviewId: ID @possibleTypes(concreteTypes: ["PullRequestReview"]) + + """ + The Node ID of the thread to which this reply is being written. + """ + pullRequestReviewThreadId: ID! @possibleTypes(concreteTypes: ["PullRequestReviewThread"]) +} + +""" +Autogenerated return type of AddPullRequestReviewThreadReply +""" +type AddPullRequestReviewThreadReplyPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The newly created reply. + """ + comment: PullRequestReviewComment +} + """ Autogenerated input type of AddReaction """ @@ -1038,6 +1108,10 @@ type AddedToMergeQueueEvent implements Node { The user who added this Pull Request to the merge queue """ enqueuer: User + + """ + The Node ID of the AddedToMergeQueueEvent object + """ id: ID! """ @@ -1069,6 +1143,10 @@ type AddedToProjectEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the AddedToProjectEvent object + """ id: ID! """ @@ -1125,6 +1203,10 @@ type App implements Node { The description of the app. """ description: String + + """ + The Node ID of the App object + """ id: ID! """ @@ -1381,6 +1463,10 @@ type AssignedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the AssignedEvent object + """ id: ID! """ @@ -1513,6 +1599,10 @@ type AutoMergeDisabledEvent implements Node { The user who disabled auto-merge for this Pull Request """ disabler: User + + """ + The Node ID of the AutoMergeDisabledEvent object + """ id: ID! """ @@ -1549,6 +1639,10 @@ type AutoMergeEnabledEvent implements Node { The user who enabled auto-merge for this Pull Request """ enabler: User + + """ + The Node ID of the AutoMergeEnabledEvent object + """ id: ID! """ @@ -1618,6 +1712,10 @@ type AutoRebaseEnabledEvent implements Node { The user who enabled auto-merge (rebase) for this Pull Request """ enabler: User + + """ + The Node ID of the AutoRebaseEnabledEvent object + """ id: ID! """ @@ -1644,6 +1742,10 @@ type AutoSquashEnabledEvent implements Node { The user who enabled auto-merge (squash) for this Pull Request """ enabler: User + + """ + The Node ID of the AutoSquashEnabledEvent object + """ id: ID! """ @@ -1665,6 +1767,10 @@ type AutomaticBaseChangeFailedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the AutomaticBaseChangeFailedEvent object + """ id: ID! """ @@ -1696,6 +1802,10 @@ type AutomaticBaseChangeSucceededEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the AutomaticBaseChangeSucceededEvent object + """ id: ID! """ @@ -1742,6 +1852,10 @@ type BaseRefChangedEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the BaseRefChangedEvent object + """ id: ID! """ @@ -1773,6 +1887,10 @@ type BaseRefDeletedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the BaseRefDeletedEvent object + """ id: ID! """ @@ -1804,6 +1922,10 @@ type BaseRefForcePushedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the BaseRefForcePushedEvent object + """ id: ID! """ @@ -1884,6 +2006,10 @@ type Blob implements GitObject & Node { The HTTP URL for this Git object """ commitUrl: URI! + + """ + The Node ID of the Blob object + """ id: ID! """ @@ -1935,6 +2061,10 @@ type Bot implements Actor & Node & UniformResourceLocatable { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Bot object + """ id: ID! """ @@ -2121,10 +2251,14 @@ type BranchProtectionRule implements Node { Will new commits pushed to matching branches dismiss pull request review approvals. """ dismissesStaleReviews: Boolean! + + """ + The Node ID of the BranchProtectionRule object + """ id: ID! """ - Can admins overwrite branch protection. + Can admins override branch protection. """ isAdminEnforced: Boolean! @@ -2444,6 +2578,10 @@ type BypassForcePushAllowance implements Node { Identifies the branch protection rule associated with the allowed user, team, or app. """ branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the BypassForcePushAllowance object + """ id: ID! } @@ -2500,6 +2638,10 @@ type BypassPullRequestAllowance implements Node { Identifies the branch protection rule associated with the allowed user, team, or app. """ branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the BypassPullRequestAllowance object + """ id: ID! } @@ -2571,6 +2713,10 @@ type CWE implements Node { A detailed description of this CWE """ description: String! + + """ + The Node ID of the CWE object + """ id: ID! """ @@ -3060,6 +3206,10 @@ type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatab A reference for the check run on the integrator's system. """ externalId: String + + """ + The Node ID of the CheckRun object + """ id: ID! """ @@ -3601,6 +3751,10 @@ type CheckSuite implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the CheckSuite object + """ id: ID! """ @@ -4102,6 +4256,10 @@ type ClosedEvent implements Node & UniformResourceLocatable { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ClosedEvent object + """ id: ID! """ @@ -4133,6 +4291,10 @@ type CodeOfConduct implements Node { The body of the Code of Conduct """ body: String + + """ + The Node ID of the CodeOfConduct object + """ id: ID! """ @@ -4219,6 +4381,10 @@ interface Comment { The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the Comment object + """ id: ID! """ @@ -4380,6 +4546,10 @@ type CommentDeletedEvent implements Node { The user who authored the deleted comment. """ deletedCommentAuthor: Actor + + """ + The Node ID of the CommentDeletedEvent object + """ id: ID! } @@ -4671,6 +4841,10 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl """ until: GitTimestamp ): CommitHistoryConnection! + + """ + The Node ID of the Commit object + """ id: ID! """ @@ -4950,6 +5124,10 @@ type CommitComment implements Comment & Deletable & Minimizable & Node & Reactab The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the CommitComment object + """ id: ID! """ @@ -5178,6 +5356,10 @@ type CommitCommentThread implements Node & RepositoryNode { The commit the comments were made on. """ commit: Commit + + """ + The Node ID of the CommitCommentThread object + """ id: ID! """ @@ -5544,6 +5726,10 @@ type Comparison implements Node { The head revision of this comparison. """ headTarget: GitObject! + + """ + The Node ID of the Comparison object + """ id: ID! """ @@ -5620,6 +5806,10 @@ type ConnectedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ConnectedEvent object + """ id: ID! """ @@ -5638,6 +5828,26 @@ type ConnectedEvent implements Node { subject: ReferencedSubject! } +""" +The Contributing Guidelines for a repository. +""" +type ContributingGuidelines { + """ + The body of the Contributing Guidelines. + """ + body: String + + """ + The HTTP path for the Contributing Guidelines. + """ + resourcePath: URI + + """ + The HTTP URL for the Contributing Guidelines. + """ + url: URI +} + """ Represents a contribution a user made on GitHub, such as opening an issue. """ @@ -6324,6 +6534,10 @@ type ConvertToDraftEvent implements Node & UniformResourceLocatable { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ConvertToDraftEvent object + """ id: ID! """ @@ -6360,6 +6574,10 @@ type ConvertedNoteToIssueEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ConvertedNoteToIssueEvent object + """ id: ID! """ @@ -6396,6 +6614,10 @@ type ConvertedToDiscussionEvent implements Node { The discussion that the issue was converted into. """ discussion: Discussion + + """ + The Node ID of the ConvertedToDiscussionEvent object + """ id: ID! } @@ -6534,7 +6756,7 @@ input CreateBranchProtectionRuleInput { dismissesStaleReviews: Boolean """ - Can admins overwrite branch protection. + Can admins override branch protection. """ isAdminEnforced: Boolean @@ -7289,6 +7511,11 @@ type CreateLinkedBranchPayload { """ clientMutationId: String + """ + The issue that was linked to. + """ + issue: Issue + """ The new branch issue reference. """ @@ -8082,7 +8309,7 @@ input CreateTeamDiscussionInput { """ If true, restricts the visibility of this discussion to team members and - organization admins. If false or not specified, allows any organization member + organization owners. If false or not specified, allows any organization member to view this discussion. **Upcoming Change on 2024-07-01 UTC** @@ -8134,6 +8361,51 @@ type CreateTeamDiscussionPayload { ) } +""" +Autogenerated input type of CreateUserList +""" +input CreateUserListInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A description of the list + """ + description: String + + """ + Whether or not the list is private + """ + isPrivate: Boolean = false + + """ + The name of the new list + """ + name: String! +} + +""" +Autogenerated return type of CreateUserList +""" +type CreateUserListPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The list that was just created + """ + list: UserList + + """ + The user who created the list + """ + viewer: User +} + """ Represents the contribution a user made by committing to a repository. """ @@ -8562,6 +8834,10 @@ type CrossReferencedEvent implements Node & UniformResourceLocatable { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the CrossReferencedEvent object + """ id: ID! """ @@ -9389,6 +9665,36 @@ type DeleteTeamDiscussionPayload { clientMutationId: String } +""" +Autogenerated input type of DeleteUserList +""" +input DeleteUserListInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the list to delete. + """ + listId: ID! @possibleTypes(concreteTypes: ["UserList"]) +} + +""" +Autogenerated return type of DeleteUserList +""" +type DeleteUserListPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The owner of the list that will be deleted + """ + user: User +} + """ Autogenerated input type of DeleteVerifiableDomain """ @@ -9432,6 +9738,10 @@ type DemilestonedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the DemilestonedEvent object + """ id: ID! """ @@ -9671,6 +9981,10 @@ type DependencyGraphManifest implements Node @preview(toggledBy: "hawkgirl-previ Fully qualified manifest filename """ filename: String! + + """ + The Node ID of the DependencyGraphManifest object + """ id: ID! """ @@ -9732,6 +10046,10 @@ type DeployKey implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the DeployKey object + """ id: ID! """ @@ -9818,6 +10136,10 @@ type DeployedEvent implements Node { The deployment associated with the 'deployed' event. """ deployment: Deployment! + + """ + The Node ID of the DeployedEvent object + """ id: ID! """ @@ -9869,6 +10191,10 @@ type Deployment implements Node { The latest environment to which this deployment was made. """ environment: String + + """ + The Node ID of the Deployment object + """ id: ID! """ @@ -10000,6 +10326,10 @@ type DeploymentEnvironmentChangedEvent implements Node { The deployment status that updated the deployment environment. """ deploymentStatus: DeploymentStatus! + + """ + The Node ID of the DeploymentEnvironmentChangedEvent object + """ id: ID! """ @@ -10042,6 +10372,11 @@ type DeploymentProtectionRule { """ databaseId: Int + """ + Whether deployments to this environment can be approved by the user who created the deployment. + """ + preventSelfReview: Boolean + """ The teams or users that can review the deployment """ @@ -10261,6 +10596,10 @@ type DeploymentReview implements Node { """ last: Int ): EnvironmentConnection! + + """ + The Node ID of the DeploymentReview object + """ id: ID! """ @@ -10467,6 +10806,10 @@ type DeploymentStatus implements Node { Identifies the environment URL of the deployment. """ environmentUrl: URI + + """ + The Node ID of the DeploymentStatus object + """ id: ID! """ @@ -10663,6 +11006,10 @@ type DisconnectedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the DisconnectedEvent object + """ id: ID! """ @@ -10789,6 +11136,10 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the Discussion object + """ id: ID! """ @@ -10796,6 +11147,11 @@ type Discussion implements Closable & Comment & Deletable & Labelable & Lockable """ includesCreatedEdit: Boolean! + """ + Only return answered/unanswered discussions + """ + isAnswered: Boolean + """ A list of labels associated with the object. """ @@ -11025,6 +11381,10 @@ type DiscussionCategory implements Node & RepositoryNode { This category's emoji rendered as HTML. """ emojiHTML: HTML! + + """ + The Node ID of the DiscussionCategory object + """ id: ID! """ @@ -11171,6 +11531,10 @@ type DiscussionComment implements Comment & Deletable & Minimizable & Node & Rea The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the DiscussionComment object + """ id: ID! """ @@ -11489,6 +11853,10 @@ type DiscussionPoll implements Node { The discussion that this poll belongs to. """ discussion: Discussion + + """ + The Node ID of the DiscussionPoll object + """ id: ID! """ @@ -11546,6 +11914,9 @@ type DiscussionPoll implements Node { An option for a discussion poll. """ type DiscussionPollOption implements Node { + """ + The Node ID of the DiscussionPollOption object + """ id: ID! """ @@ -11832,6 +12203,10 @@ type DraftIssue implements Node { The actor who created this draft issue. """ creator: Actor + + """ + The Node ID of the DraftIssue object + """ id: ID! """ @@ -12108,6 +12483,10 @@ type Enterprise implements AnnouncementBanner & Node { The description of the enterprise as HTML. """ descriptionHTML: HTML! + + """ + The Node ID of the Enterprise object + """ id: ID! """ @@ -12311,6 +12690,10 @@ type EnterpriseAdministratorInvitation implements Node { The enterprise the invitation is for. """ enterprise: Enterprise! + + """ + The Node ID of the EnterpriseAdministratorInvitation object + """ id: ID! """ @@ -12519,6 +12902,31 @@ type EnterpriseBillingInfo { totalLicenses: Int! } +""" +The connection type for Enterprise. +""" +type EnterpriseConnection { + """ + A list of edges. + """ + edges: [EnterpriseEdge] + + """ + A list of nodes. + """ + nodes: [Enterprise] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + """ The possible values for the enterprise base repository permission setting. """ @@ -12549,6 +12957,21 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue { WRITE } +""" +An edge in a connection. +""" +type EnterpriseEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: Enterprise +} + """ The possible values for an enabled/disabled enterprise setting. """ @@ -12684,6 +13107,10 @@ type EnterpriseIdentityProvider implements Node { """ userName: String ): ExternalIdentityConnection! + + """ + The Node ID of the EnterpriseIdentityProvider object + """ id: ID! """ @@ -12802,7 +13229,7 @@ enum EnterpriseMembersCanCreateRepositoriesSettingValue { DISABLED """ - Organization administrators choose whether to allow members to create repositories. + Organization owners choose whether to allow members to create repositories. """ NO_POLICY @@ -12832,6 +13259,56 @@ enum EnterpriseMembersCanMakePurchasesSettingValue { ENABLED } +""" +The possible values we have for filtering Platform::Objects::User#enterprises. +""" +enum EnterpriseMembershipType { + """ + Returns all enterprises in which the user is an admin. + """ + ADMIN + + """ + Returns all enterprises in which the user is a member, admin, or billing manager. + """ + ALL + + """ + Returns all enterprises in which the user is a billing manager. + """ + BILLING_MANAGER + + """ + Returns all enterprises in which the user is a member of an org that is owned by the enterprise. + """ + ORG_MEMBERSHIP +} + +""" +Ordering options for enterprises. +""" +input EnterpriseOrder { + """ + The ordering direction. + """ + direction: OrderDirection! + + """ + The field to order enterprises by. + """ + field: EnterpriseOrderField! +} + +""" +Properties by which enterprise connections can be ordered. +""" +enum EnterpriseOrderField { + """ + Order enterprises by name + """ + NAME +} + """ The connection type for Organization. """ @@ -14036,6 +14513,9 @@ type EnterprisePendingMemberInvitationEdge { A subset of repository information queryable from an enterprise. """ type EnterpriseRepositoryInfo implements Node { + """ + The Node ID of the EnterpriseRepositoryInfo object + """ id: ID! """ @@ -14112,6 +14592,10 @@ type EnterpriseServerInstallation implements Node { The host name of the Enterprise Server installation. """ hostName: String! + + """ + The Node ID of the EnterpriseServerInstallation object + """ id: ID! """ @@ -14348,6 +14832,10 @@ type EnterpriseServerUserAccount implements Node { The Enterprise Server installation on which this user account exists. """ enterpriseServerInstallation: EnterpriseServerInstallation! + + """ + The Node ID of the EnterpriseServerUserAccount object + """ id: ID! """ @@ -14434,6 +14922,10 @@ type EnterpriseServerUserAccountEmail implements Node { The email address. """ email: String! + + """ + The Node ID of the EnterpriseServerUserAccountEmail object + """ id: ID! """ @@ -14565,6 +15057,10 @@ type EnterpriseServerUserAccountsUpload implements Node { The Enterprise Server installation for which this upload was generated. """ enterpriseServerInstallation: EnterpriseServerInstallation! + + """ + The Node ID of the EnterpriseServerUserAccountsUpload object + """ id: ID! """ @@ -14731,6 +15227,10 @@ type EnterpriseUserAccount implements Actor & Node { """ role: EnterpriseUserAccountMembershipRole ): EnterpriseServerInstallationMembershipConnection! + + """ + The Node ID of the EnterpriseUserAccount object + """ id: ID! """ @@ -14848,6 +15348,10 @@ type Environment implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Environment object + """ id: ID! """ @@ -14960,6 +15464,10 @@ type ExternalIdentity implements Node { The GUID for this identity """ guid: String! + + """ + The Node ID of the ExternalIdentity object + """ id: ID! """ @@ -15569,6 +16077,10 @@ type Gist implements Node & Starrable & UniformResourceLocatable { """ orderBy: GistOrder ): GistConnection! + + """ + The Node ID of the Gist object + """ id: ID! """ @@ -15705,6 +16217,10 @@ type GistComment implements Comment & Deletable & Minimizable & Node & Updatable The associated gist. """ gist: Gist! + + """ + The Node ID of the GistComment object + """ id: ID! """ @@ -16069,6 +16585,11 @@ type GitHubMetadata { """ gitIpAddresses: [String!] + """ + IP addresses that GitHub Enterprise Importer uses for outbound connections + """ + githubEnterpriseImporterIpAddresses: [String!] + """ IP addresses that service hooks are sent from """ @@ -16108,6 +16629,10 @@ interface GitObject { The HTTP URL for this Git object """ commitUrl: URI! + + """ + The Node ID of the GitObject object + """ id: ID! """ @@ -16441,6 +16966,10 @@ type HeadRefDeletedEvent implements Node { Identifies the name of the Ref associated with the `head_ref_deleted` event. """ headRefName: String! + + """ + The Node ID of the HeadRefDeletedEvent object + """ id: ID! """ @@ -16472,6 +17001,10 @@ type HeadRefForcePushedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the HeadRefForcePushedEvent object + """ id: ID! """ @@ -16498,6 +17031,10 @@ type HeadRefRestoredEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the HeadRefRestoredEvent object + """ id: ID! """ @@ -16674,6 +17211,10 @@ type IpAllowListEntry implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the IpAllowListEntry object + """ id: ID! """ @@ -16930,6 +17471,10 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable & """ includeNotificationContexts: Boolean = true ): Hovercard! + + """ + The Node ID of the Issue object + """ id: ID! """ @@ -17517,6 +18062,10 @@ type IssueComment implements Comment & Deletable & Minimizable & Node & Reactabl Identifies the primary key from the database as a BigInt. """ fullDatabaseId: BigInt + + """ + The Node ID of the IssueComment object + """ id: ID! """ @@ -18398,6 +18947,10 @@ type Label implements Node { A brief description of this label. """ description: String + + """ + The Node ID of the Label object + """ id: ID! """ @@ -18644,6 +19197,10 @@ type LabeledEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the LabeledEvent object + """ id: ID! """ @@ -18665,6 +19222,10 @@ type Language implements Node { The color defined for the current language. """ color: String + + """ + The Node ID of the Language object + """ id: ID! """ @@ -18769,6 +19330,10 @@ type License implements Node { Whether the license should be displayed in license pickers """ hidden: Boolean! + + """ + The Node ID of the License object + """ id: ID! """ @@ -18951,6 +19516,9 @@ type LinkRepositoryToProjectPayload { A branch linked to an issue. """ type LinkedBranch implements Node { + """ + The Node ID of the LinkedBranch object + """ id: ID! """ @@ -19092,6 +19660,10 @@ type LockedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the LockedEvent object + """ id: ID! """ @@ -19138,6 +19710,10 @@ type Mannequin implements Actor & Node & UniformResourceLocatable { The mannequin's email on the source instance. """ email: String + + """ + The Node ID of the Mannequin object + """ id: ID! """ @@ -19379,6 +19955,10 @@ type MarkedAsDuplicateEvent implements Node { The issue or pull request which has been marked as a duplicate of another. """ duplicate: IssueOrPullRequest + + """ + The Node ID of the MarkedAsDuplicateEvent object + """ id: ID! """ @@ -19400,6 +19980,10 @@ type MarketplaceCategory implements Node { The technical description of how apps listed in this category work with GitHub. """ howItWorks: String + + """ + The Node ID of the MarketplaceCategory object + """ id: ID! """ @@ -19506,6 +20090,10 @@ type MarketplaceListing implements Node { The listing's technical description rendered to HTML. """ howItWorksHTML: HTML! + + """ + The Node ID of the MarketplaceListing object + """ id: ID! """ @@ -19766,6 +20354,31 @@ type MarketplaceListingEdge { node: MarketplaceListing } +""" +Represents a member feature request notification +""" +type MemberFeatureRequestNotification implements Node { + """ + Represents member feature request body containing organization name and the number of feature requests + """ + body: String! + + """ + The Node ID of the MemberFeatureRequestNotification object + """ + id: ID! + + """ + Represents member feature request notification title + """ + title: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! +} + """ Entities that have members who can set status messages. """ @@ -19859,6 +20472,10 @@ type MembersCanDeleteReposClearAuditEntry implements AuditEntry & EnterpriseAudi The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the MembersCanDeleteReposClearAuditEntry object + """ id: ID! """ @@ -19965,6 +20582,10 @@ type MembersCanDeleteReposDisableAuditEntry implements AuditEntry & EnterpriseAu The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the MembersCanDeleteReposDisableAuditEntry object + """ id: ID! """ @@ -20071,6 +20692,10 @@ type MembersCanDeleteReposEnableAuditEntry implements AuditEntry & EnterpriseAud The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the MembersCanDeleteReposEnableAuditEntry object + """ id: ID! """ @@ -20137,6 +20762,10 @@ type MentionedEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the MentionedEvent object + """ id: ID! } @@ -20318,6 +20947,10 @@ type MergeQueue implements Node { """ last: Int ): MergeQueueEntryConnection + + """ + The Node ID of the MergeQueue object + """ id: ID! """ @@ -20410,6 +21043,10 @@ type MergeQueueEntry implements Node { The head commit for this entry """ headCommit: Commit + + """ + The Node ID of the MergeQueueEntry object + """ id: ID! """ @@ -20614,6 +21251,10 @@ type MergedEvent implements Node & UniformResourceLocatable { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the MergedEvent object + """ id: ID! """ @@ -20665,6 +21306,10 @@ interface Migration { The reason the migration failed. """ failureReason: String + + """ + The Node ID of the Migration object + """ id: ID! """ @@ -20703,6 +21348,9 @@ interface Migration { A GitHub Enterprise Importer (GEI) migration source. """ type MigrationSource implements Node { + """ + The Node ID of the MigrationSource object + """ id: ID! """ @@ -20814,6 +21462,10 @@ type Milestone implements Closable & Node & UniformResourceLocatable { Identifies the due date of the milestone. """ dueOn: DateTime + + """ + The Node ID of the Milestone object + """ id: ID! """ @@ -21075,6 +21727,10 @@ type MilestonedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the MilestonedEvent object + """ id: ID! """ @@ -21129,7 +21785,14 @@ input MinimizeCommentInput { """ subjectId: ID! @possibleTypes( - concreteTypes: ["CommitComment", "DiscussionComment", "GistComment", "IssueComment", "PullRequestReviewComment"] + concreteTypes: [ + "CommitComment" + "DiscussionComment" + "GistComment" + "IssueComment" + "PullRequestReview" + "PullRequestReviewComment" + ] abstractType: "Minimizable" ) } @@ -21242,6 +21905,10 @@ type MovedColumnsInProjectEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the MovedColumnsInProjectEvent object + """ id: ID! """ @@ -21279,6 +21946,16 @@ type Mutation { input: AbortQueuedMigrationsInput! ): AbortQueuedMigrationsPayload + """ + Abort a repository migration queued or in progress. + """ + abortRepositoryMigration( + """ + Parameters for AbortRepositoryMigration + """ + input: AbortRepositoryMigrationInput! + ): AbortRepositoryMigrationPayload + """ Accepts a pending invitation for a user to become an administrator of an enterprise. """ @@ -21439,6 +22116,16 @@ type Mutation { input: AddPullRequestReviewThreadInput! ): AddPullRequestReviewThreadPayload + """ + Adds a reply to an existing Pull Request Review Thread. + """ + addPullRequestReviewThreadReply( + """ + Parameters for AddPullRequestReviewThreadReply + """ + input: AddPullRequestReviewThreadReplyInput! + ): AddPullRequestReviewThreadReplyPayload + """ Adds a reaction to a subject. """ @@ -21773,7 +22460,12 @@ type Mutation { ): CreateDiscussionPayload """ - Creates an organization as part of an enterprise account. + Creates an organization as part of an enterprise account. A personal access + token used to create an organization is implicitly permitted to update the + organization it created, if the organization is part of an enterprise that has + SAML enabled or uses Enterprise Managed Users. If the organization is not part + of such an enterprise, and instead has SAML enabled for it individually, the + token will then require SAML authorization to continue working against that organization. """ createEnterpriseOrganization( """ @@ -21974,6 +22666,16 @@ type Mutation { input: CreateTeamDiscussionCommentInput! ): CreateTeamDiscussionCommentPayload + """ + Creates a new user list. + """ + createUserList( + """ + Parameters for CreateUserList + """ + input: CreateUserListInput! + ): CreateUserListPayload + """ Rejects a suggested topic for the repository. """ @@ -22224,6 +22926,16 @@ type Mutation { input: DeleteTeamDiscussionCommentInput! ): DeleteTeamDiscussionCommentPayload + """ + Deletes a user list. + """ + deleteUserList( + """ + Parameters for DeleteUserList + """ + input: DeleteUserListInput! + ): DeleteUserListPayload + """ Deletes a verifiable domain. """ @@ -22984,6 +23696,16 @@ type Mutation { input: UnresolveReviewThreadInput! ): UnresolveReviewThreadPayload + """ + Unsubscribes from notifications + """ + unsubscribeFromNotifications( + """ + Parameters for UnsubscribeFromNotifications + """ + input: UnsubscribeFromNotificationsInput! + ): UnsubscribeFromNotificationsPayload + """ Update a branch protection rule """ @@ -23115,7 +23837,7 @@ type Mutation { ): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload """ - Sets whether or not an organization admin can make purchases. + Sets whether or not an organization owner can make purchases. """ updateEnterpriseMembersCanMakePurchasesSetting( """ @@ -23304,6 +24026,19 @@ type Mutation { input: UpdateOrganizationWebCommitSignoffSettingInput! ): UpdateOrganizationWebCommitSignoffSettingPayload + """ + Toggle the setting for your GitHub Sponsors profile that allows other GitHub + accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. + Only applicable when you have a GitHub Sponsors profile and have connected + your GitHub account with Patreon. + """ + updatePatreonSponsorability( + """ + Parameters for UpdatePatreonSponsorability + """ + input: UpdatePatreonSponsorabilityInput! + ): UpdatePatreonSponsorabilityPayload + """ Updates an existing project. """ @@ -23335,7 +24070,7 @@ type Mutation { ): UpdateProjectColumnPayload """ - Updates an existing project (beta). + Updates an existing project. """ updateProjectV2( """ @@ -23562,6 +24297,26 @@ type Mutation { input: UpdateTopicsInput! ): UpdateTopicsPayload + """ + Updates an existing user list. + """ + updateUserList( + """ + Parameters for UpdateUserList + """ + input: UpdateUserListInput! + ): UpdateUserListPayload + + """ + Updates which of the viewer's lists an item belongs to + """ + updateUserListsForItem( + """ + Parameters for UpdateUserListsForItem + """ + input: UpdateUserListsForItemInput! + ): UpdateUserListsForItemPayload + """ Verify that a verifiable domain has the expected DNS record. """ @@ -23648,6 +24403,10 @@ type OIDCProvider implements Node { """ userName: String ): ExternalIdentityConnection! + + """ + The Node ID of the OIDCProvider object + """ id: ID! """ @@ -23744,6 +24503,10 @@ type OauthApplicationCreateAuditEntry implements AuditEntry & Node & OauthApplic The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OauthApplicationCreateAuditEntry object + """ id: ID! """ @@ -23935,6 +24698,10 @@ type OrgAddBillingManagerAuditEntry implements AuditEntry & Node & OrganizationA The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgAddBillingManagerAuditEntry object + """ id: ID! """ @@ -24031,6 +24798,10 @@ type OrgAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEntr The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgAddMemberAuditEntry object + """ id: ID! """ @@ -24162,6 +24933,10 @@ type OrgBlockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEntr The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgBlockUserAuditEntry object + """ id: ID! """ @@ -24253,6 +25028,10 @@ type OrgConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgConfigDisableCollaboratorsOnlyAuditEntry object + """ id: ID! """ @@ -24344,6 +25123,10 @@ type OrgConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & O The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgConfigEnableCollaboratorsOnlyAuditEntry object + """ id: ID! """ @@ -24440,6 +25223,10 @@ type OrgCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryDa The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgCreateAuditEntry object + """ id: ID! """ @@ -24561,6 +25348,10 @@ type OrgDisableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & Org The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgDisableOauthAppRestrictionsAuditEntry object + """ id: ID! """ @@ -24657,6 +25448,10 @@ type OrgDisableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEn The SAML provider's digest algorithm URL. """ digestMethodUrl: URI + + """ + The Node ID of the OrgDisableSamlAuditEntry object + """ id: ID! """ @@ -24763,6 +25558,10 @@ type OrgDisableTwoFactorRequirementAuditEntry implements AuditEntry & Node & Org The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgDisableTwoFactorRequirementAuditEntry object + """ id: ID! """ @@ -24854,6 +25653,10 @@ type OrgEnableOauthAppRestrictionsAuditEntry implements AuditEntry & Node & Orga The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgEnableOauthAppRestrictionsAuditEntry object + """ id: ID! """ @@ -24950,6 +25753,10 @@ type OrgEnableSamlAuditEntry implements AuditEntry & Node & OrganizationAuditEnt The SAML provider's digest algorithm URL. """ digestMethodUrl: URI + + """ + The Node ID of the OrgEnableSamlAuditEntry object + """ id: ID! """ @@ -25056,6 +25863,10 @@ type OrgEnableTwoFactorRequirementAuditEntry implements AuditEntry & Node & Orga The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgEnableTwoFactorRequirementAuditEntry object + """ id: ID! """ @@ -25177,6 +25988,10 @@ type OrgInviteMemberAuditEntry implements AuditEntry & Node & OrganizationAuditE The email address of the organization invitation. """ email: String + + """ + The Node ID of the OrgInviteMemberAuditEntry object + """ id: ID! """ @@ -25288,6 +26103,10 @@ type OrgInviteToBusinessAuditEntry implements AuditEntry & EnterpriseAuditEntryD The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the OrgInviteToBusinessAuditEntry object + """ id: ID! """ @@ -25379,6 +26198,10 @@ type OrgOauthAppAccessApprovedAuditEntry implements AuditEntry & Node & OauthApp The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgOauthAppAccessApprovedAuditEntry object + """ id: ID! """ @@ -25485,6 +26308,10 @@ type OrgOauthAppAccessBlockedAuditEntry implements AuditEntry & Node & OauthAppl The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgOauthAppAccessBlockedAuditEntry object + """ id: ID! """ @@ -25591,6 +26418,10 @@ type OrgOauthAppAccessDeniedAuditEntry implements AuditEntry & Node & OauthAppli The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgOauthAppAccessDeniedAuditEntry object + """ id: ID! """ @@ -25697,6 +26528,10 @@ type OrgOauthAppAccessRequestedAuditEntry implements AuditEntry & Node & OauthAp The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgOauthAppAccessRequestedAuditEntry object + """ id: ID! """ @@ -25803,6 +26638,10 @@ type OrgOauthAppAccessUnblockedAuditEntry implements AuditEntry & Node & OauthAp The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgOauthAppAccessUnblockedAuditEntry object + """ id: ID! """ @@ -25909,6 +26748,10 @@ type OrgRemoveBillingManagerAuditEntry implements AuditEntry & Node & Organizati The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgRemoveBillingManagerAuditEntry object + """ id: ID! """ @@ -26025,6 +26868,10 @@ type OrgRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAuditE The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgRemoveMemberAuditEntry object + """ id: ID! """ @@ -26088,9 +26935,9 @@ The type of membership a user has with an Organization. """ enum OrgRemoveMemberAuditEntryMembershipType { """ - Organization administrators have full access and can change several settings, + Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners - team membership. In addition, organization admins can delete the organization + team membership. In addition, organization owners can delete the organization and all of its repositories. """ ADMIN @@ -26197,6 +27044,10 @@ type OrgRemoveOutsideCollaboratorAuditEntry implements AuditEntry & Node & Organ The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgRemoveOutsideCollaboratorAuditEntry object + """ id: ID! """ @@ -26336,6 +27187,10 @@ type OrgRestoreMemberAuditEntry implements AuditEntry & Node & OrganizationAudit The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgRestoreMemberAuditEntry object + """ id: ID! """ @@ -26565,6 +27420,10 @@ type OrgUnblockUserAuditEntry implements AuditEntry & Node & OrganizationAuditEn The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgUnblockUserAuditEntry object + """ id: ID! """ @@ -26656,6 +27515,10 @@ type OrgUpdateDefaultRepositoryPermissionAuditEntry implements AuditEntry & Node The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgUpdateDefaultRepositoryPermissionAuditEntry object + """ id: ID! """ @@ -26782,6 +27645,10 @@ type OrgUpdateMemberAuditEntry implements AuditEntry & Node & OrganizationAuditE The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the OrgUpdateMemberAuditEntry object + """ id: ID! """ @@ -26903,152 +27770,160 @@ type OrgUpdateMemberRepositoryCreationPermissionAuditEntry implements AuditEntry The time the action was initiated """ createdAt: PreciseDateTime! - id: ID! - - """ - The corresponding operation type for the action - """ - operationType: OperationType - - """ - The Organization associated with the Audit Entry. - """ - organization: Organization - - """ - The name of the Organization. - """ - organizationName: String - - """ - The HTTP path for the organization - """ - organizationResourcePath: URI - - """ - The HTTP URL for the organization - """ - organizationUrl: URI - - """ - The user affected by the action - """ - user: User """ - For actions involving two users, the actor is the initiator and the user is the affected user. - """ - userLogin: String - - """ - The HTTP path for the user. - """ - userResourcePath: URI - - """ - The HTTP URL for the user. - """ - userUrl: URI - - """ - The permission for visibility level of repositories for this organization. + The Node ID of the OrgUpdateMemberRepositoryCreationPermissionAuditEntry object + """ + id: ID! + + """ + The corresponding operation type for the action + """ + operationType: OperationType + + """ + The Organization associated with the Audit Entry. + """ + organization: Organization + + """ + The name of the Organization. + """ + organizationName: String + + """ + The HTTP path for the organization + """ + organizationResourcePath: URI + + """ + The HTTP URL for the organization + """ + organizationUrl: URI + + """ + The user affected by the action + """ + user: User + + """ + For actions involving two users, the actor is the initiator and the user is the affected user. + """ + userLogin: String + + """ + The HTTP path for the user. + """ + userResourcePath: URI + + """ + The HTTP URL for the user. + """ + userUrl: URI + + """ + The permission for visibility level of repositories for this organization. + """ + visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility +} + +""" +The permissions available for repository creation on an Organization. +""" +enum OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility { + """ + All organization members are restricted from creating any repositories. + """ + ALL + + """ + All organization members are restricted from creating internal repositories. + """ + INTERNAL + + """ + All organization members are allowed to create any repositories. + """ + NONE + + """ + All organization members are restricted from creating private repositories. + """ + PRIVATE + + """ + All organization members are restricted from creating private or internal repositories. + """ + PRIVATE_INTERNAL + + """ + All organization members are restricted from creating public repositories. + """ + PUBLIC + + """ + All organization members are restricted from creating public or internal repositories. + """ + PUBLIC_INTERNAL + + """ + All organization members are restricted from creating public or private repositories. + """ + PUBLIC_PRIVATE +} + +""" +Audit log entry for a org.update_member_repository_invitation_permission event. +""" +type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { + """ + The action name + """ + action: String! + + """ + The user who initiated the action + """ + actor: AuditEntryActor + + """ + The IP address of the actor + """ + actorIp: String + + """ + A readable representation of the actor's location + """ + actorLocation: ActorLocation + + """ + The username of the user who initiated the action + """ + actorLogin: String + + """ + The HTTP path for the actor. + """ + actorResourcePath: URI + + """ + The HTTP URL for the actor. + """ + actorUrl: URI + + """ + Can outside collaborators be invited to repositories in the organization. + """ + canInviteOutsideCollaboratorsToRepositories: Boolean + + """ + The time the action was initiated + """ + createdAt: PreciseDateTime! + + """ + The Node ID of the OrgUpdateMemberRepositoryInvitationPermissionAuditEntry object """ - visibility: OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility -} - -""" -The permissions available for repository creation on an Organization. -""" -enum OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility { - """ - All organization members are restricted from creating any repositories. - """ - ALL - - """ - All organization members are restricted from creating internal repositories. - """ - INTERNAL - - """ - All organization members are allowed to create any repositories. - """ - NONE - - """ - All organization members are restricted from creating private repositories. - """ - PRIVATE - - """ - All organization members are restricted from creating private or internal repositories. - """ - PRIVATE_INTERNAL - - """ - All organization members are restricted from creating public repositories. - """ - PUBLIC - - """ - All organization members are restricted from creating public or internal repositories. - """ - PUBLIC_INTERNAL - - """ - All organization members are restricted from creating public or private repositories. - """ - PUBLIC_PRIVATE -} - -""" -Audit log entry for a org.update_member_repository_invitation_permission event. -""" -type OrgUpdateMemberRepositoryInvitationPermissionAuditEntry implements AuditEntry & Node & OrganizationAuditEntryData { - """ - The action name - """ - action: String! - - """ - The user who initiated the action - """ - actor: AuditEntryActor - - """ - The IP address of the actor - """ - actorIp: String - - """ - A readable representation of the actor's location - """ - actorLocation: ActorLocation - - """ - The username of the user who initiated the action - """ - actorLogin: String - - """ - The HTTP path for the actor. - """ - actorResourcePath: URI - - """ - The HTTP URL for the actor. - """ - actorUrl: URI - - """ - Can outside collaborators be invited to repositories in the organization. - """ - canInviteOutsideCollaboratorsToRepositories: Boolean - - """ - The time the action was initiated - """ - createdAt: PreciseDateTime! id: ID! """ @@ -27126,6 +28001,11 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod type: PinnableItemType ): Boolean! + """ + Identifies the date and time when the organization was archived. + """ + archivedAt: DateTime + """ Audit log entries of the organization """ @@ -27285,6 +28165,10 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod True if this user/organization has a GitHub Sponsors listing. """ hasSponsorsListing: Boolean! + + """ + The Node ID of the Organization object + """ id: ID! """ @@ -28738,6 +29622,10 @@ type OrganizationIdentityProvider implements Node { """ userName: String ): ExternalIdentityConnection! + + """ + The Node ID of the OrganizationIdentityProvider object + """ id: ID! """ @@ -28779,6 +29667,10 @@ type OrganizationInvitation implements Node { The email address of the user invited to the organization. """ email: String + + """ + The Node ID of the OrganizationInvitation object + """ id: ID! """ @@ -29020,6 +29912,10 @@ type OrganizationMigration implements Node { The reason the organization migration failed. """ failureReason: String + + """ + The Node ID of the OrganizationMigration object + """ id: ID! """ @@ -29252,6 +30148,9 @@ type OrganizationsHovercardContext implements HovercardContext { Information for an uploaded package. """ type Package implements Node { + """ + The Node ID of the Package object + """ id: ID! """ @@ -29364,6 +30263,9 @@ type PackageEdge { A file in a package version. """ type PackageFile implements Node { + """ + The Node ID of the PackageFile object + """ id: ID! """ @@ -29501,6 +30403,9 @@ enum PackageOrderField { Represents an owner of a package. """ interface PackageOwner { + """ + The Node ID of the PackageOwner object + """ id: ID! """ @@ -29563,6 +30468,9 @@ type PackageStatistics { A version tag contains the mapping between a tag name and a version. """ type PackageTag implements Node { + """ + The Node ID of the PackageTag object + """ id: ID! """ @@ -29664,6 +30572,10 @@ type PackageVersion implements Node { """ orderBy: PackageFileOrder = {field: CREATED_AT, direction: ASC} ): PackageFileConnection! + + """ + The Node ID of the PackageVersion object + """ id: ID! """ @@ -29861,6 +30773,11 @@ type PermissionSource { """ permission: DefaultRepositoryPermissionField! + """ + The name of the role this source has granted to the user. + """ + roleName: String + """ The source of this permission. """ @@ -30010,6 +30927,10 @@ type PinnedDiscussion implements Node & RepositoryNode { Color stops of the chosen gradient """ gradientStopColors: [String!]! + + """ + The Node ID of the PinnedDiscussion object + """ id: ID! """ @@ -30156,6 +31077,10 @@ type PinnedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the PinnedEvent object + """ id: ID! """ @@ -30177,6 +31102,10 @@ type PinnedIssue implements Node { Identifies the primary key from the database as a BigInt. """ fullDatabaseId: BigInt + + """ + The Node ID of the PinnedIssue object + """ id: ID! """ @@ -30298,6 +31227,10 @@ type PrivateRepositoryForkingDisableAuditEntry implements AuditEntry & Enterpris The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the PrivateRepositoryForkingDisableAuditEntry object + """ id: ID! """ @@ -30424,6 +31357,10 @@ type PrivateRepositoryForkingEnableAuditEntry implements AuditEntry & Enterprise The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the PrivateRepositoryForkingEnableAuditEntry object + """ id: ID! """ @@ -30548,6 +31485,10 @@ interface ProfileOwner { The public profile email. """ email: String + + """ + The Node ID of the ProfileOwner object + """ id: ID! """ @@ -30710,6 +31651,10 @@ type Project implements Closable & Node & Updatable { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Project object + """ id: ID! """ @@ -30829,6 +31774,10 @@ type ProjectCard implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectCard object + """ id: ID! """ @@ -31005,6 +31954,10 @@ type ProjectColumn implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectColumn object + """ id: ID! """ @@ -31197,6 +32150,9 @@ enum ProjectOrderField { Represents an owner of a Project. """ interface ProjectOwner { + """ + The Node ID of the ProjectOwner object + """ id: ID! """ @@ -31413,6 +32369,10 @@ type ProjectV2 implements Closable & Node & Updatable { """ orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} ): ProjectV2FieldConfigurationConnection! + + """ + The Node ID of the ProjectV2 object + """ id: ID! """ @@ -31799,6 +32759,10 @@ type ProjectV2Field implements Node & ProjectV2FieldCommon { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectV2Field object + """ id: ID! """ @@ -31835,6 +32799,10 @@ interface ProjectV2FieldCommon { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectV2FieldCommon object + """ id: ID! """ @@ -32151,6 +33119,10 @@ type ProjectV2Item implements Node { """ orderBy: ProjectV2ItemFieldValueOrder = {field: POSITION, direction: ASC} ): ProjectV2ItemFieldValueConnection! + + """ + The Node ID of the ProjectV2Item object + """ id: ID! """ @@ -32247,6 +33219,10 @@ type ProjectV2ItemFieldDateValue implements Node & ProjectV2ItemFieldValueCommon The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldDateValue object + """ id: ID! """ @@ -32288,6 +33264,10 @@ type ProjectV2ItemFieldIterationValue implements Node & ProjectV2ItemFieldValueC The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldIterationValue object + """ id: ID! """ @@ -32394,6 +33374,10 @@ type ProjectV2ItemFieldNumberValue implements Node & ProjectV2ItemFieldValueComm The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldNumberValue object + """ id: ID! """ @@ -32540,6 +33524,10 @@ type ProjectV2ItemFieldSingleSelectValue implements Node & ProjectV2ItemFieldVal The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldSingleSelectValue object + """ id: ID! """ @@ -32591,6 +33579,10 @@ type ProjectV2ItemFieldTextValue implements Node & ProjectV2ItemFieldValueCommon The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldTextValue object + """ id: ID! """ @@ -32683,6 +33675,10 @@ interface ProjectV2ItemFieldValueCommon { The project field that contains this value. """ field: ProjectV2FieldConfiguration! + + """ + The Node ID of the ProjectV2ItemFieldValueCommon object + """ id: ID! """ @@ -32834,6 +33830,10 @@ type ProjectV2IterationField implements Node & ProjectV2FieldCommon { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectV2IterationField object + """ id: ID! """ @@ -32948,9 +33948,12 @@ enum ProjectV2OrderField { } """ -Represents an owner of a project (beta). +Represents an owner of a project. """ interface ProjectV2Owner { + """ + The Node ID of the ProjectV2Owner object + """ id: ID! """ @@ -33072,6 +34075,10 @@ type ProjectV2SingleSelectField implements Node & ProjectV2FieldCommon { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ProjectV2SingleSelectField object + """ id: ID! """ @@ -33436,6 +34443,10 @@ type ProjectV2View implements Node { """ orderBy: ProjectV2FieldOrder = {field: POSITION, direction: ASC} ): ProjectV2FieldConfigurationConnection + + """ + The Node ID of the ProjectV2View object + """ id: ID! """ @@ -33723,18 +34734,22 @@ type ProjectV2Workflow implements Node { databaseId: Int """ - The workflows' enabled state. + Whether the workflow is enabled. """ enabled: Boolean! + + """ + The Node ID of the ProjectV2Workflow object + """ id: ID! """ - The workflows' name. + The name of the workflow. """ name: String! """ - The workflows' number. + The number of the workflow. """ number: Int! @@ -33809,22 +34824,22 @@ Properties by which project workflows can be ordered. """ enum ProjectV2WorkflowsOrderField { """ - The workflows' date and time of creation + The date and time of the workflow creation """ CREATED_AT """ - The workflows' name + The name of the workflow """ NAME """ - The workflows' number + The number of the workflow """ NUMBER """ - The workflows' date and time of update + The date and time of the workflow update """ UPDATED_AT } @@ -33848,6 +34863,10 @@ type PublicKey implements Node { The fingerprint for this PublicKey. """ fingerprint: String! + + """ + The Node ID of the PublicKey object + """ id: ID! """ @@ -34231,6 +35250,10 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab """ includeNotificationContexts: Boolean = true ): Hovercard! + + """ + The Node ID of the PullRequest object + """ id: ID! """ @@ -34934,6 +35957,21 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab viewerSubscription: SubscriptionState } +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """ + Update branch via merge + """ + MERGE + + """ + Update branch via rebase + """ + REBASE +} + """ A file changed in a pull request. """ @@ -35012,6 +36050,10 @@ type PullRequestCommit implements Node & UniformResourceLocatable { The Git commit object """ commit: Commit! + + """ + The Node ID of the PullRequestCommit object + """ id: ID! """ @@ -35063,6 +36105,10 @@ type PullRequestCommitCommentThread implements Node & RepositoryNode { The commit the comments were made on. """ commit: Commit! + + """ + The Node ID of the PullRequestCommitCommentThread object + """ id: ID! """ @@ -35319,7 +36365,7 @@ input PullRequestParametersInput { """ A review object for a given pull request. """ -type PullRequestReview implements Comment & Deletable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { +type PullRequestReview implements Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment { """ The actor who authored the comment. """ @@ -35399,6 +36445,10 @@ type PullRequestReview implements Comment & Deletable & Node & Reactable & Repos The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the PullRequestReview object + """ id: ID! """ @@ -35406,11 +36456,23 @@ type PullRequestReview implements Comment & Deletable & Node & Reactable & Repos """ includesCreatedEdit: Boolean! + """ + Returns whether or not a comment has been minimized. + """ + isMinimized: Boolean! + """ The moment the editor made the last edit """ lastEditedAt: DateTime + """ + Returns why the comment was minimized. One of `abuse`, `off-topic`, + `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + formatting of these values differs from the inputs to the `MinimizeComment` mutation. + """ + minimizedReason: String + """ A list of teams that this review was made on behalf of. """ @@ -35546,6 +36608,11 @@ type PullRequestReview implements Comment & Deletable & Node & Reactable & Repos """ viewerCanDelete: Boolean! + """ + Check if the current viewer can minimize this object. + """ + viewerCanMinimize: Boolean! + """ Can user react to this subject """ @@ -35630,6 +36697,10 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the PullRequestReviewComment object + """ id: ID! """ @@ -36097,6 +37168,10 @@ type PullRequestReviewThread implements Node { The side of the diff on which this thread was placed. """ diffSide: DiffSide! + + """ + The Node ID of the PullRequestReviewThread object + """ id: ID! """ @@ -36333,6 +37408,10 @@ type PullRequestThread implements Node { The side of the diff on which this thread was placed. """ diffSide: DiffSide! + + """ + The Node ID of the PullRequestThread object + """ id: ID! """ @@ -36916,6 +37995,9 @@ enum PullRequestUpdateState { A Git push. """ type Push implements Node { + """ + The Node ID of the Push object + """ id: ID! """ @@ -36957,6 +38039,10 @@ type PushAllowance implements Node { Identifies the branch protection rule associated with the allowed user, team, or app. """ branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the PushAllowance object + """ id: ID! } @@ -37570,6 +38656,10 @@ interface Reactable { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Reactable object + """ id: ID! """ @@ -37677,6 +38767,10 @@ type Reaction implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Reaction object + """ id: ID! """ @@ -37946,6 +39040,10 @@ type ReadyForReviewEvent implements Node & UniformResourceLocatable { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ReadyForReviewEvent object + """ id: ID! """ @@ -38032,6 +39130,10 @@ type Ref implements Node { """ headRef: String! ): Comparison + + """ + The Node ID of the Ref object + """ id: ID! """ @@ -38190,7 +39292,7 @@ input RefUpdate @preview(toggledBy: "update-refs-preview") { } """ -A ref update rules for a viewer. +Branch protection rules that are enforced on the viewer. """ type RefUpdateRule { """ @@ -38277,6 +39379,10 @@ type ReferencedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ReferencedEvent object + """ id: ID! """ @@ -38428,6 +39534,10 @@ type Release implements Node & Reactable & UniformResourceLocatable { The description of this release rendered to HTML. """ descriptionHTML: HTML + + """ + The Node ID of the Release object + """ id: ID! """ @@ -38624,6 +39734,10 @@ type ReleaseAsset implements Node { Identifies the URL where you can download the release asset via the browser. """ downloadUrl: URI! + + """ + The Node ID of the ReleaseAsset object + """ id: ID! """ @@ -39221,6 +40335,10 @@ type RemovedFromMergeQueueEvent implements Node { The user who removed this Pull Request from the merge queue """ enqueuer: User + + """ + The Node ID of the RemovedFromMergeQueueEvent object + """ id: ID! """ @@ -39257,6 +40375,10 @@ type RemovedFromProjectEvent implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the RemovedFromProjectEvent object + """ id: ID! """ @@ -39288,6 +40410,10 @@ type RenamedTitleEvent implements Node { Identifies the current title of the issue or pull request. """ currentTitle: String! + + """ + The Node ID of the RenamedTitleEvent object + """ id: ID! """ @@ -39414,6 +40540,10 @@ type ReopenedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ReopenedEvent object + """ id: ID! """ @@ -39465,6 +40595,10 @@ type RepoAccessAuditEntry implements AuditEntry & Node & OrganizationAuditEntryD The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoAccessAuditEntry object + """ id: ID! """ @@ -39601,6 +40735,10 @@ type RepoAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEnt The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoAddMemberAuditEntry object + """ id: ID! """ @@ -39737,6 +40875,10 @@ type RepoAddTopicAuditEntry implements AuditEntry & Node & OrganizationAuditEntr The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoAddTopicAuditEntry object + """ id: ID! """ @@ -39858,6 +41000,10 @@ type RepoArchivedAuditEntry implements AuditEntry & Node & OrganizationAuditEntr The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoArchivedAuditEntry object + """ id: ID! """ @@ -39994,6 +41140,10 @@ type RepoChangeMergeSettingAuditEntry implements AuditEntry & Node & Organizatio The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoChangeMergeSettingAuditEntry object + """ id: ID! """ @@ -40135,6 +41285,10 @@ type RepoConfigDisableAnonymousGitAccessAuditEntry implements AuditEntry & Node The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigDisableAnonymousGitAccessAuditEntry object + """ id: ID! """ @@ -40246,6 +41400,10 @@ type RepoConfigDisableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigDisableCollaboratorsOnlyAuditEntry object + """ id: ID! """ @@ -40357,6 +41515,10 @@ type RepoConfigDisableContributorsOnlyAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigDisableContributorsOnlyAuditEntry object + """ id: ID! """ @@ -40468,6 +41630,10 @@ type RepoConfigDisableSockpuppetDisallowedAuditEntry implements AuditEntry & Nod The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigDisableSockpuppetDisallowedAuditEntry object + """ id: ID! """ @@ -40579,6 +41745,10 @@ type RepoConfigEnableAnonymousGitAccessAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigEnableAnonymousGitAccessAuditEntry object + """ id: ID! """ @@ -40690,6 +41860,10 @@ type RepoConfigEnableCollaboratorsOnlyAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigEnableCollaboratorsOnlyAuditEntry object + """ id: ID! """ @@ -40801,6 +41975,10 @@ type RepoConfigEnableContributorsOnlyAuditEntry implements AuditEntry & Node & O The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigEnableContributorsOnlyAuditEntry object + """ id: ID! """ @@ -40912,6 +42090,10 @@ type RepoConfigEnableSockpuppetDisallowedAuditEntry implements AuditEntry & Node The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigEnableSockpuppetDisallowedAuditEntry object + """ id: ID! """ @@ -41023,6 +42205,10 @@ type RepoConfigLockAnonymousGitAccessAuditEntry implements AuditEntry & Node & O The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigLockAnonymousGitAccessAuditEntry object + """ id: ID! """ @@ -41134,6 +42320,10 @@ type RepoConfigUnlockAnonymousGitAccessAuditEntry implements AuditEntry & Node & The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoConfigUnlockAnonymousGitAccessAuditEntry object + """ id: ID! """ @@ -41255,6 +42445,10 @@ type RepoCreateAuditEntry implements AuditEntry & Node & OrganizationAuditEntryD The name of the root repository for this network. """ forkSourceName: String + + """ + The Node ID of the RepoCreateAuditEntry object + """ id: ID! """ @@ -41391,6 +42585,10 @@ type RepoDestroyAuditEntry implements AuditEntry & Node & OrganizationAuditEntry The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoDestroyAuditEntry object + """ id: ID! """ @@ -41527,6 +42725,10 @@ type RepoRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAudit The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoRemoveMemberAuditEntry object + """ id: ID! """ @@ -41663,6 +42865,10 @@ type RepoRemoveTopicAuditEntry implements AuditEntry & Node & OrganizationAuditE The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the RepoRemoveTopicAuditEntry object + """ id: ID! """ @@ -41936,6 +43142,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ contactLinks: [RepositoryContactLink!] + """ + Returns the contributing guidelines for this repository. + """ + contributingGuidelines: ContributingGuidelines + """ Identifies the date and time when the object was created. """ @@ -42125,6 +43336,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ after: String + """ + Only show answered or unanswered discussions + """ + answered: Boolean = null + """ Returns the elements in the list that come before the specified cursor. """ @@ -42304,6 +43520,10 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent The repository's URL. """ homepageUrl: URI + + """ + The Node ID of the Repository object + """ id: ID! """ @@ -43584,7 +44804,8 @@ type RepositoryConnection { totalCount: Int! """ - The total size in kilobytes of all repositories in the connection. + The total size in kilobytes of all repositories in the connection. Value will + never be larger than max 32-bit signed integer. """ totalDiskUsage: Int! } @@ -44033,6 +45254,10 @@ type RepositoryInvitation implements Node { The email address that received the invitation. """ email: String + + """ + The Node ID of the RepositoryInvitation object + """ id: ID! """ @@ -44154,6 +45379,11 @@ enum RepositoryLockReason { The repository is locked due to a trade controls related reason. """ TRADE_RESTRICTION + + """ + The repository is locked due to an ownership transfer. + """ + TRANSFERRING_OWNERSHIP } """ @@ -44179,6 +45409,10 @@ type RepositoryMigration implements Migration & Node { The reason the migration failed. """ failureReason: String + + """ + The Node ID of the RepositoryMigration object + """ id: ID! """ @@ -44403,6 +45637,10 @@ interface RepositoryOwner { """ size: Int ): URI! + + """ + The Node ID of the RepositoryOwner object + """ id: ID! """ @@ -44555,6 +45793,9 @@ enum RepositoryPrivacy { A repository rule. """ type RepositoryRule implements Node { + """ + The Node ID of the RepositoryRule object + """ id: ID! """ @@ -44562,6 +45803,11 @@ type RepositoryRule implements Node { """ parameters: RuleParameters + """ + The repository ruleset associated with this rule configuration + """ + repositoryRuleset: RepositoryRuleset + """ The type of rule. """ @@ -44672,6 +45918,11 @@ input RepositoryRuleInput { The rule types supported in rulesets """ enum RepositoryRuleType { + """ + Authorization + """ + AUTHORIZATION + """ Branch name pattern """ @@ -44703,7 +45954,27 @@ enum RepositoryRuleType { DELETION """ - Prevent users with push access from force pushing to branches. + Branch is read-only. Users cannot push to the branch. + """ + LOCK_BRANCH + + """ + Max ref updates + """ + MAX_REF_UPDATES + + """ + Merges must be performed via a merge queue. + """ + MERGE_QUEUE + + """ + Merge queue locked ref + """ + MERGE_QUEUE_LOCKED_REF + + """ + Prevent users with push access from force pushing to refs. """ NON_FAST_FORWARD @@ -44713,29 +45984,53 @@ enum RepositoryRuleType { PULL_REQUEST """ - Choose which environments must be successfully deployed to before branches can - be merged into a branch that matches this rule. + Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. """ REQUIRED_DEPLOYMENTS """ - Prevent merge commits from being pushed to matching branches. + Prevent merge commits from being pushed to matching refs. """ REQUIRED_LINEAR_HISTORY """ - Commits pushed to matching branches must have verified signatures. + When enabled, all conversations on code must be resolved before a pull request + can be merged into a branch that matches this rule. + """ + REQUIRED_REVIEW_THREAD_RESOLUTION + + """ + Commits pushed to matching refs must have verified signatures. """ REQUIRED_SIGNATURES """ - Choose which status checks must pass before branches can be merged into a - branch that matches this rule. When enabled, commits must first be pushed to - another branch, then merged or pushed directly to a branch that matches this - rule after status checks have passed. + Choose which status checks must pass before the ref is updated. When enabled, + commits must first be pushed to another ref where the checks pass. """ REQUIRED_STATUS_CHECKS + """ + Require all commits be made to a non-target branch and submitted via a pull + request and required workflow checks to pass before they can be merged. + """ + REQUIRED_WORKFLOW_STATUS_CHECKS + + """ + Commits pushed to matching refs must have verified signatures. + """ + RULESET_REQUIRED_SIGNATURES + + """ + Secret scanning + """ + SECRET_SCANNING + + """ + Tag + """ + TAG + """ Tag name pattern """ @@ -44745,6 +46040,16 @@ enum RepositoryRuleType { Only allow users with bypass permission to update matching refs. """ UPDATE + + """ + Require all changes made to a targeted branch to pass the specified workflows before they can be merged. + """ + WORKFLOWS + + """ + Workflow files cannot be modified. + """ + WORKFLOW_UPDATES } """ @@ -44795,6 +46100,10 @@ type RepositoryRuleset implements Node { The enforcement level of this ruleset """ enforcement: RuleEnforcement! + + """ + The Node ID of the RepositoryRuleset object + """ id: ID! """ @@ -44861,10 +46170,14 @@ type RepositoryRulesetBypassActor implements Node { The mode for the bypass actor """ bypassMode: RepositoryRulesetBypassActorBypassMode + + """ + The Node ID of the RepositoryRulesetBypassActor object + """ id: ID! """ - This actor represents the ability for an organization admin to bypass + This actor represents the ability for an organization owner to bypass """ organizationAdmin: Boolean! @@ -44955,7 +46268,7 @@ input RepositoryRulesetBypassActorInput { bypassMode: RepositoryRulesetBypassActorBypassMode! """ - For org admin bupasses, true + For organization owner bypasses, true """ organizationAdmin: Boolean @@ -45024,6 +46337,9 @@ enum RepositoryRulesetTarget { A repository-topic connects a repository to a topic. """ type RepositoryTopic implements Node & UniformResourceLocatable { + """ + The Node ID of the RepositoryTopic object + """ id: ID! """ @@ -45160,6 +46476,10 @@ type RepositoryVisibilityChangeDisableAuditEntry implements AuditEntry & Enterpr The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the RepositoryVisibilityChangeDisableAuditEntry object + """ id: ID! """ @@ -45266,6 +46586,10 @@ type RepositoryVisibilityChangeEnableAuditEntry implements AuditEntry & Enterpri The HTTP URL for this enterprise. """ enterpriseUrl: URI + + """ + The Node ID of the RepositoryVisibilityChangeEnableAuditEntry object + """ id: ID! """ @@ -45362,6 +46686,10 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { When was the alert fixed? """ fixedAt: DateTime + + """ + The Node ID of the RepositoryVulnerabilityAlert object + """ id: ID! """ @@ -45636,8 +46964,7 @@ interface RequirableByPullRequest { } """ -Choose which environments must be successfully deployed to before branches can -be merged into a branch that matches this rule. +Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. """ type RequiredDeploymentsParameters { """ @@ -45647,8 +46974,7 @@ type RequiredDeploymentsParameters { } """ -Choose which environments must be successfully deployed to before branches can -be merged into a branch that matches this rule. +Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. """ input RequiredDeploymentsParametersInput { """ @@ -45690,10 +47016,8 @@ input RequiredStatusCheckInput { } """ -Choose which status checks must pass before branches can be merged into a branch -that matches this rule. When enabled, commits must first be pushed to another -branch, then merged or pushed directly to a branch that matches this rule after -status checks have passed. +Choose which status checks must pass before the ref is updated. When enabled, +commits must first be pushed to another ref where the checks pass. """ type RequiredStatusChecksParameters { """ @@ -45710,10 +47034,8 @@ type RequiredStatusChecksParameters { } """ -Choose which status checks must pass before branches can be merged into a branch -that matches this rule. When enabled, commits must first be pushed to another -branch, then merged or pushed directly to a branch that matches this rule after -status checks have passed. +Choose which status checks must pass before the ref is updated. When enabled, +commits must first be pushed to another ref where the checks pass. """ input RequiredStatusChecksParametersInput { """ @@ -45919,6 +47241,10 @@ type ReviewDismissalAllowance implements Node { Identifies the branch protection rule associated with the allowed user, team, or app. """ branchProtectionRule: BranchProtectionRule + + """ + The Node ID of the ReviewDismissalAllowance object + """ id: ID! } @@ -45995,6 +47321,10 @@ type ReviewDismissedEvent implements Node & UniformResourceLocatable { Identifies the optional message associated with the event, rendered to HTML. """ dismissalMessageHTML: String + + """ + The Node ID of the ReviewDismissedEvent object + """ id: ID! """ @@ -46041,6 +47371,10 @@ type ReviewRequest implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the ReviewRequest object + """ id: ID! """ @@ -46107,6 +47441,10 @@ type ReviewRequestRemovedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ReviewRequestRemovedEvent object + """ id: ID! """ @@ -46133,6 +47471,10 @@ type ReviewRequestedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the ReviewRequestedEvent object + """ id: ID! """ @@ -46316,6 +47658,7 @@ union RuleParameters = | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters + | WorkflowsParameters """ Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. @@ -46365,6 +47708,11 @@ input RuleParametersInput { Parameters used for the `update` rule type """ update: UpdateParametersInput + + """ + Parameters used for the `workflows` rule type + """ + workflows: WorkflowsParametersInput } """ @@ -46440,6 +47788,10 @@ type SavedReply implements Node { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the SavedReply object + """ id: ID! """ @@ -46683,6 +48035,10 @@ type SecurityAdvisory implements Node { The GitHub Security Advisory ID """ ghsaId: String! + + """ + The Node ID of the SecurityAdvisory object + """ id: ID! """ @@ -47457,6 +48813,11 @@ enum SocialAccountProvider { """ MASTODON + """ + JavaScript package registry. + """ + NPM + """ Social news aggregation and discussion website. """ @@ -47975,8 +49336,17 @@ type SponsorsActivity implements Node { The sponsor's current privacy level. """ currentPrivacyLevel: SponsorshipPrivacy + + """ + The Node ID of the SponsorsActivity object + """ id: ID! + """ + The platform that was used to pay for the sponsorship. + """ + paymentSource: SponsorshipPaymentSource + """ The tier that the sponsorship used to use, for tier change events. """ @@ -49243,7 +50613,7 @@ enum SponsorsCountryOrRegionCode { TO """ - Turkey + Türkiye """ TR @@ -49484,6 +50854,10 @@ type SponsorsListing implements Node { The full description of the listing rendered to HTML. """ fullDescriptionHTML: HTML! + + """ + The Node ID of the SponsorsListing object + """ id: ID! """ @@ -49598,6 +50972,10 @@ type SponsorsListingFeaturedItem implements Node { The record that is featured on the GitHub Sponsors profile. """ featureable: SponsorsListingFeatureableItem! + + """ + The Node ID of the SponsorsListingFeaturedItem object + """ id: ID! """ @@ -49662,6 +51040,10 @@ type SponsorsTier implements Node { The tier description rendered to HTML """ descriptionHTML: HTML! + + """ + The Node ID of the SponsorsTier object + """ id: ID! """ @@ -49846,6 +51228,10 @@ type Sponsorship implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the Sponsorship object + """ id: ID! """ @@ -49873,6 +51259,11 @@ type Sponsorship implements Node { reason: "`Sponsorship.maintainer` will be removed. Use `Sponsorship.sponsorable` instead. Removal on 2020-04-01 UTC." ) + """ + The platform that was most recently used to pay for the sponsorship. + """ + paymentSource: SponsorshipPaymentSource + """ The privacy level for this sponsorship. """ @@ -49977,6 +51368,10 @@ type SponsorshipNewsletter implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the SponsorshipNewsletter object + """ id: ID! """ @@ -50090,6 +51485,21 @@ enum SponsorshipOrderField { CREATED_AT } +""" +How payment was made for funding a GitHub Sponsors sponsorship. +""" +enum SponsorshipPaymentSource { + """ + Payment was made through GitHub. + """ + GITHUB + + """ + Payment was made through Patreon. + """ + PATREON +} + """ The privacy of a sponsorship """ @@ -50256,6 +51666,9 @@ type StargazerEdge { Things that can be starred. """ interface Starrable { + """ + The Node ID of the Starrable object + """ id: ID! """ @@ -50405,8 +51818,7 @@ input StartRepositoryMigrationInput { clientMutationId: String """ - Whether to continue the migration on error. Defaults to `false`. We strongly - recommend setting this to `true` for the smoothest migration experience. + Whether to continue the migration on error. Defaults to `true`. """ continueOnError: Boolean @@ -50524,6 +51936,10 @@ type Status implements Node { The individual status contexts for this commit. """ contexts: [StatusContext!]! + + """ + The Node ID of the Status object + """ id: ID! """ @@ -50595,6 +52011,10 @@ type StatusCheckRollup implements Node { """ last: Int ): StatusCheckRollupContextConnection! + + """ + The Node ID of the StatusCheckRollup object + """ id: ID! """ @@ -50706,6 +52126,10 @@ type StatusContext implements Node & RequirableByPullRequest { The description for this status context. """ description: String + + """ + The Node ID of the StatusContext object + """ id: ID! """ @@ -50948,6 +52372,9 @@ type SubmoduleEdge { Entities that can be subscribed to for web and email notifications. """ interface Subscribable { + """ + The Node ID of the Subscribable object + """ id: ID! """ @@ -50965,6 +52392,9 @@ interface Subscribable { Entities that can be subscribed to for web and email notifications. """ interface SubscribableThread { + """ + The Node ID of the SubscribableThread object + """ id: ID! """ @@ -50991,6 +52421,10 @@ type SubscribedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the SubscribedEvent object + """ id: ID! """ @@ -51057,6 +52491,10 @@ type Tag implements GitObject & Node { The HTTP URL for this Git object """ commitUrl: URI! + + """ + The Node ID of the Tag object + """ id: ID! """ @@ -51303,6 +52741,10 @@ type Team implements MemberStatusable & Node & Subscribable { The HTTP URL for editing this team """ editTeamUrl: URI! + + """ + The Node ID of the Team object + """ id: ID! """ @@ -51654,6 +53096,10 @@ type TeamAddMemberAuditEntry implements AuditEntry & Node & OrganizationAuditEnt The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the TeamAddMemberAuditEntry object + """ id: ID! """ @@ -51770,6 +53216,10 @@ type TeamAddRepositoryAuditEntry implements AuditEntry & Node & OrganizationAudi The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the TeamAddRepositoryAuditEntry object + """ id: ID! """ @@ -51931,6 +53381,10 @@ type TeamChangeParentTeamAuditEntry implements AuditEntry & Node & OrganizationA The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the TeamChangeParentTeamAuditEntry object + """ id: ID! """ @@ -52182,6 +53636,10 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the TeamDiscussion object + """ id: ID! """ @@ -52198,7 +53656,7 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib ) """ - Whether or not the discussion is only visible to team members and org admins. + Whether or not the discussion is only visible to team members and organization owners. """ isPrivate: Boolean! @deprecated( @@ -52436,6 +53894,10 @@ type TeamDiscussionComment implements Comment & Deletable & Node & Reactable & U The actor who edited the comment. """ editor: Actor + + """ + The Node ID of the TeamDiscussionComment object + """ id: ID! """ @@ -52932,6 +54394,10 @@ type TeamRemoveMemberAuditEntry implements AuditEntry & Node & OrganizationAudit The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the TeamRemoveMemberAuditEntry object + """ id: ID! """ @@ -53048,6 +54514,10 @@ type TeamRemoveRepositoryAuditEntry implements AuditEntry & Node & OrganizationA The time the action was initiated """ createdAt: PreciseDateTime! + + """ + The Node ID of the TeamRemoveRepositoryAuditEntry object + """ id: ID! """ @@ -53376,6 +54846,9 @@ enum ThreadSubscriptionState { A topic aggregates entities that are related to a subject. """ type Topic implements Node & Starrable { + """ + The Node ID of the Topic object + """ id: ID! """ @@ -53647,6 +55120,10 @@ type TransferredEvent implements Node { The repository this came from """ fromRepository: Repository + + """ + The Node ID of the TransferredEvent object + """ id: ID! """ @@ -53678,6 +55155,10 @@ type Tree implements GitObject & Node { A list of tree entries. """ entries: [TreeEntry!] + + """ + The Node ID of the Tree object + """ id: ID! """ @@ -53864,6 +55345,10 @@ type UnassignedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UnassignedEvent object + """ id: ID! """ @@ -54002,6 +55487,10 @@ type UnlabeledEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UnlabeledEvent object + """ id: ID! """ @@ -54173,6 +55662,10 @@ type UnlockedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UnlockedEvent object + """ id: ID! """ @@ -54334,6 +55827,10 @@ type UnmarkedAsDuplicateEvent implements Node { The issue or pull request which has been marked as a duplicate of another. """ duplicate: IssueOrPullRequest + + """ + The Node ID of the UnmarkedAsDuplicateEvent object + """ id: ID! """ @@ -54356,7 +55853,14 @@ input UnminimizeCommentInput { """ subjectId: ID! @possibleTypes( - concreteTypes: ["CommitComment", "DiscussionComment", "GistComment", "IssueComment", "PullRequestReviewComment"] + concreteTypes: [ + "CommitComment" + "DiscussionComment" + "GistComment" + "IssueComment" + "PullRequestReview" + "PullRequestReviewComment" + ] abstractType: "Minimizable" ) } @@ -54419,6 +55923,10 @@ type UnpinnedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UnpinnedEvent object + """ id: ID! """ @@ -54457,6 +55965,42 @@ type UnresolveReviewThreadPayload { thread: PullRequestReviewThread } +""" +Autogenerated input type of UnsubscribeFromNotifications +""" +input UnsubscribeFromNotificationsInput + @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The NotificationThread IDs of the objects to unsubscribe from. + """ + ids: [ID!]! + @possibleTypes( + concreteTypes: ["Commit", "Discussion", "Issue", "PullRequest", "Repository", "Team", "TeamDiscussion"] + abstractType: "Subscribable" + ) +} + +""" +Autogenerated return type of UnsubscribeFromNotifications +""" +type UnsubscribeFromNotificationsPayload + @requiredCapabilities(requiredCapabilities: ["access_internal_graphql_notifications"]) { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Did the operation succeed? + """ + success: Boolean +} + """ Represents an 'unsubscribed' event on a given `Subscribable`. """ @@ -54470,6 +56014,10 @@ type UnsubscribedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UnsubscribedEvent object + """ id: ID! """ @@ -54543,7 +56091,7 @@ input UpdateBranchProtectionRuleInput { dismissesStaleReviews: Boolean """ - Can admins overwrite branch protection. + Can admins override branch protection. """ isAdminEnforced: Boolean @@ -55589,6 +57137,11 @@ input UpdateEnvironmentInput { """ environmentId: ID! @possibleTypes(concreteTypes: ["Environment"]) + """ + Whether deployments to this environment can be approved by the user who created the deployment. + """ + preventSelfReview: Boolean + """ The ids of users or teams that can approve deployments to this environment """ @@ -56015,6 +57568,43 @@ input UpdateParametersInput { updateAllowsFetchAndMerge: Boolean! } +""" +Autogenerated input type of UpdatePatreonSponsorability +""" +input UpdatePatreonSponsorabilityInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Whether Patreon tiers should be shown on the GitHub Sponsors profile page, + allowing potential sponsors to make their payment through Patreon instead of GitHub. + """ + enablePatreonSponsorships: Boolean! + + """ + The username of the organization with the GitHub Sponsors profile, if any. + Defaults to the GitHub Sponsors profile for the authenticated user if omitted. + """ + sponsorableLogin: String +} + +""" +Autogenerated return type of UpdatePatreonSponsorability +""" +type UpdatePatreonSponsorabilityPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The GitHub Sponsors profile. + """ + sponsorsListing: SponsorsListing +} + """ Autogenerated input type of UpdateProjectCard """ @@ -56422,6 +58012,11 @@ input UpdatePullRequestBranchInput { The Node ID of the pull request. """ pullRequestId: ID! @possibleTypes(concreteTypes: ["PullRequest"]) + + """ + The update branch method to use. If omitted, defaults to 'MERGE' + """ + updateMethod: PullRequestBranchUpdateMethod } """ @@ -57159,6 +58754,101 @@ type UpdateTopicsPayload { repository: Repository } +""" +Autogenerated input type of UpdateUserList +""" +input UpdateUserListInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A description of the list + """ + description: String + + """ + Whether or not the list is private + """ + isPrivate: Boolean + + """ + The ID of the list to update. + """ + listId: ID! @possibleTypes(concreteTypes: ["UserList"]) + + """ + The name of the list + """ + name: String +} + +""" +Autogenerated return type of UpdateUserList +""" +type UpdateUserListPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The list that was just updated + """ + list: UserList +} + +""" +Autogenerated input type of UpdateUserListsForItem +""" +input UpdateUserListsForItemInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The item to add to the list + """ + itemId: ID! @possibleTypes(concreteTypes: ["Repository"], abstractType: "UserListItems") + + """ + The lists to which this item should belong + """ + listIds: [ID!]! @possibleTypes(concreteTypes: ["UserList"]) + + """ + The suggested lists to create and add this item to + """ + suggestedListIds: [ID!] @possibleTypes(concreteTypes: ["UserListSuggestion"]) +} + +""" +Autogenerated return type of UpdateUserListsForItem +""" +type UpdateUserListsForItemPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The item that was added + """ + item: UserListItems + + """ + The lists to which this item belongs + """ + lists: [UserList!] + + """ + The user who owns the lists + """ + user: User +} + """ A user is an individual's account on GitHub that owns repositories and can make new content. """ @@ -57275,6 +58965,41 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ email: String! + """ + A list of enterprises that the user belongs to. + """ + enterprises( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Filter enterprises returned based on the user's membership type. + """ + membershipType: EnterpriseMembershipType = ALL + + """ + Ordering options for the User's enterprises. + """ + orderBy: EnterpriseOrder = {field: NAME, direction: ASC} + ): EnterpriseConnection + """ The estimated next GitHub Sponsors payout for this user/organization in cents (USD). """ @@ -57414,6 +59139,10 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ primarySubjectId: ID ): Hovercard! + + """ + The Node ID of the User object + """ id: ID! """ @@ -57562,6 +59291,31 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ itemShowcase: ProfileItemShowcase! + """ + A user-curated list of repositories + """ + lists( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): UserListConnection! + """ The user's public profile location. """ @@ -58545,6 +60299,11 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ status: UserStatus + """ + Suggested names for user lists + """ + suggestedListNames: [UserListSuggestion!]! + """ Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created """ @@ -58760,6 +60519,10 @@ type UserBlockedEvent implements Node { Identifies the date and time when the object was created. """ createdAt: DateTime! + + """ + The Node ID of the UserBlockedEvent object + """ id: ID! """ @@ -58826,6 +60589,10 @@ type UserContentEdit implements Node { The actor who edited this content """ editor: Actor + + """ + The Node ID of the UserContentEdit object + """ id: ID! """ @@ -58909,6 +60676,181 @@ type UserEmailMetadata { value: String! } +""" +A user-curated list of repositories +""" +type UserList implements Node { + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + + """ + The description of this list + """ + description: String + + """ + The Node ID of the UserList object + """ + id: ID! + + """ + Whether or not this list is private + """ + isPrivate: Boolean! + + """ + The items associated with this list + """ + items( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): UserListItemsConnection! + + """ + The date and time at which this list was created or last had items added to it + """ + lastAddedAt: DateTime! + + """ + The name of this list + """ + name: String! + + """ + The slug of this list + """ + slug: String! + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! + + """ + The user to which this list belongs + """ + user: User! +} + +""" +The connection type for UserList. +""" +type UserListConnection { + """ + A list of edges. + """ + edges: [UserListEdge] + + """ + A list of nodes. + """ + nodes: [UserList] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type UserListEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: UserList +} + +""" +Types that can be added to a user list. +""" +union UserListItems = Repository + +""" +The connection type for UserListItems. +""" +type UserListItemsConnection { + """ + A list of edges. + """ + edges: [UserListItemsEdge] + + """ + A list of nodes. + """ + nodes: [UserListItems] + + """ + Information to aid in pagination. + """ + pageInfo: PageInfo! + + """ + Identifies the total count of items in the connection. + """ + totalCount: Int! +} + +""" +An edge in a connection. +""" +type UserListItemsEdge { + """ + A cursor for use in pagination. + """ + cursor: String! + + """ + The item at the end of the edge. + """ + node: UserListItems +} + +""" +Represents a suggested user list. +""" +type UserListSuggestion { + """ + The ID of the suggested user list + """ + id: ID + + """ + The name of the suggested user list + """ + name: String +} + """ The user's description of what they're currently doing. """ @@ -58932,6 +60874,10 @@ type UserStatus implements Node { If set, the status will not be shown after this date. """ expiresAt: DateTime + + """ + The Node ID of the UserStatus object + """ id: ID! """ @@ -59058,6 +61004,10 @@ type VerifiableDomain implements Node { Whether a TXT record for verification with the expected verification token was found. """ hasFoundVerificationToken: Boolean! + + """ + The Node ID of the VerifiableDomain object + """ id: ID! """ @@ -59259,6 +61209,10 @@ type Workflow implements Node & UniformResourceLocatable { Identifies the primary key from the database. """ databaseId: Int + + """ + The Node ID of the Workflow object + """ id: ID! """ @@ -59317,6 +61271,56 @@ type Workflow implements Node & UniformResourceLocatable { url: URI! } +""" +A workflow that must run for this rule to pass +""" +type WorkflowFileReference { + """ + The path to the workflow file + """ + path: String! + + """ + The ref (branch or tag) of the workflow file to use + """ + ref: String + + """ + The ID of the repository where the workflow is defined + """ + repositoryId: Int! + + """ + The commit SHA of the workflow file to use + """ + sha: String +} + +""" +A workflow that must run for this rule to pass +""" +input WorkflowFileReferenceInput { + """ + The path to the workflow file + """ + path: String! + + """ + The ref (branch or tag) of the workflow file to use + """ + ref: String + + """ + The ID of the repository where the workflow is defined + """ + repositoryId: Int! + + """ + The commit SHA of the workflow file to use + """ + sha: String +} + """ A workflow run. """ @@ -59370,6 +61374,10 @@ type WorkflowRun implements Node & UniformResourceLocatable { The workflow file """ file: WorkflowRunFile + + """ + The Node ID of the WorkflowRun object + """ id: ID! """ @@ -59467,6 +61475,9 @@ type WorkflowRunEdge { An executed workflow file for a workflow run. """ type WorkflowRunFile implements Node & UniformResourceLocatable { + """ + The Node ID of the WorkflowRunFile object + """ id: ID! """ @@ -59565,6 +61576,26 @@ enum WorkflowState { DISABLED_MANUALLY } +""" +Require all changes made to a targeted branch to pass the specified workflows before they can be merged. +""" +type WorkflowsParameters { + """ + Workflows that must pass for this rule to pass. + """ + workflows: [WorkflowFileReference!]! +} + +""" +Require all changes made to a targeted branch to pass the specified workflows before they can be merged. +""" +input WorkflowsParametersInput { + """ + Workflows that must pass for this rule to pass. + """ + workflows: [WorkflowFileReferenceInput!]! +} + """ A valid x509 certificate string """