diff --git a/graphql/graphql.ts b/graphql/graphql.ts index c77c3e89..fdf44b5a 100644 --- a/graphql/graphql.ts +++ b/graphql/graphql.ts @@ -1051,13 +1051,13 @@ export type BranchActorAllowanceActor = App | Team | User; export type BranchNamePatternParameters = { __typename?: 'BranchNamePatternParameters'; /** How this rule will appear to users. */ - name: Scalars['String']; + name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']; /** The operator to use for matching. */ - operator?: Maybe; + operator: Scalars['String']; /** The pattern to match with. */ - pattern?: Maybe; + pattern: Scalars['String']; }; /** Parameters to be used for the branch_name_pattern rule */ @@ -2435,13 +2435,13 @@ export type CommitAuthor = { export type CommitAuthorEmailPatternParameters = { __typename?: 'CommitAuthorEmailPatternParameters'; /** How this rule will appear to users. */ - name: Scalars['String']; + name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']; /** The operator to use for matching. */ - operator?: Maybe; + operator: Scalars['String']; /** The pattern to match with. */ - pattern?: Maybe; + pattern: Scalars['String']; }; /** Parameters to be used for the commit_author_email_pattern rule */ @@ -2675,13 +2675,13 @@ export type CommitMessage = { export type CommitMessagePatternParameters = { __typename?: 'CommitMessagePatternParameters'; /** How this rule will appear to users. */ - name: Scalars['String']; + name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']; /** The operator to use for matching. */ - operator?: Maybe; + operator: Scalars['String']; /** The pattern to match with. */ - pattern?: Maybe; + pattern: Scalars['String']; }; /** Parameters to be used for the commit_message_pattern rule */ @@ -2734,13 +2734,13 @@ export type CommittableBranch = { export type CommitterEmailPatternParameters = { __typename?: 'CommitterEmailPatternParameters'; /** How this rule will appear to users. */ - name: Scalars['String']; + name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']; /** The operator to use for matching. */ - operator?: Maybe; + operator: Scalars['String']; /** The pattern to match with. */ - pattern?: Maybe; + pattern: Scalars['String']; }; /** Parameters to be used for the committer_email_pattern rule */ @@ -5852,7 +5852,7 @@ export type Enterprise = AnnouncementBanner & Node & { name: Scalars['String']; /** A list of organizations that belong to this enterprise. */ organizations: OrganizationConnection; - /** Enterprise information only visible to enterprise owners. */ + /** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ ownerInfo?: Maybe; /** The HTTP path for this enterprise. */ resourcePath: Scalars['URI']; @@ -6092,7 +6092,7 @@ export type EnterpriseFailedInvitationEdge = { node?: Maybe; }; -/** An identity provider configured to provision identities for an enterprise. */ +/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseIdentityProvider = Node & { __typename?: 'EnterpriseIdentityProvider'; /** The digest algorithm used to sign SAML requests for the identity provider. */ @@ -6115,7 +6115,7 @@ export type EnterpriseIdentityProvider = Node & { }; -/** An identity provider configured to provision identities for an enterprise. */ +/** An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseIdentityProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6247,7 +6247,7 @@ export type EnterpriseOutsideCollaboratorEdgeRepositoriesArgs = { orderBy?: InputMaybe; }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfo = { __typename?: 'EnterpriseOwnerInfo'; /** A list of all of the administrators for this enterprise. */ @@ -6266,7 +6266,7 @@ export type EnterpriseOwnerInfo = { defaultRepositoryPermissionSetting: EnterpriseDefaultRepositoryPermissionSettingValue; /** A list of enterprise organizations configured with the provided base repository permission. */ defaultRepositoryPermissionSettingOrganizations: OrganizationConnection; - /** A list of domains owned by the enterprise. */ + /** A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ domains: VerifiableDomainConnection; /** Enterprise Server installations owned by the enterprise. */ enterpriseServerInstallations: EnterpriseServerInstallationConnection; @@ -6274,7 +6274,7 @@ export type EnterpriseOwnerInfo = { failedInvitations: EnterpriseFailedInvitationConnection; /** The setting value for whether the enterprise has an IP allow list enabled. */ ipAllowListEnabledSetting: IpAllowListEnabledSettingValue; - /** The IP addresses that are allowed to access resources owned by the enterprise. */ + /** The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope. */ ipAllowListEntries: IpAllowListEntryConnection; /** The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled. */ ipAllowListForInstalledAppsEnabledSetting: IpAllowListForInstalledAppsEnabledSettingValue; @@ -6338,7 +6338,7 @@ export type EnterpriseOwnerInfo = { repositoryProjectsSetting: EnterpriseEnabledDisabledSettingValue; /** A list of enterprise organizations configured with the provided repository projects setting value. */ repositoryProjectsSettingOrganizations: OrganizationConnection; - /** The SAML Identity Provider for the enterprise. When used by a GitHub App, requires an installation token with read and write access to members. */ + /** The SAML Identity Provider for the enterprise. */ samlIdentityProvider?: Maybe; /** A list of enterprise organizations configured with the SAML single sign-on setting value. */ samlIdentityProviderSettingOrganizations: OrganizationConnection; @@ -6355,7 +6355,7 @@ export type EnterpriseOwnerInfo = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAdminsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6369,7 +6369,7 @@ export type EnterpriseOwnerInfoAdminsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAffiliatedUsersWithTwoFactorDisabledArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6378,7 +6378,7 @@ export type EnterpriseOwnerInfoAffiliatedUsersWithTwoFactorDisabledArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoAllowPrivateRepositoryForkingSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6389,7 +6389,7 @@ export type EnterpriseOwnerInfoAllowPrivateRepositoryForkingSettingOrganizations }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoDefaultRepositoryPermissionSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6400,7 +6400,7 @@ export type EnterpriseOwnerInfoDefaultRepositoryPermissionSettingOrganizationsAr }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoDomainsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6412,7 +6412,7 @@ export type EnterpriseOwnerInfoDomainsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoEnterpriseServerInstallationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6423,7 +6423,7 @@ export type EnterpriseOwnerInfoEnterpriseServerInstallationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoFailedInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6433,7 +6433,7 @@ export type EnterpriseOwnerInfoFailedInvitationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoIpAllowListEntriesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6443,7 +6443,7 @@ export type EnterpriseOwnerInfoIpAllowListEntriesArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanChangeRepositoryVisibilitySettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6454,7 +6454,7 @@ export type EnterpriseOwnerInfoMembersCanChangeRepositoryVisibilitySettingOrgani }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanCreateRepositoriesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6465,7 +6465,7 @@ export type EnterpriseOwnerInfoMembersCanCreateRepositoriesSettingOrganizationsA }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanDeleteIssuesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6476,7 +6476,7 @@ export type EnterpriseOwnerInfoMembersCanDeleteIssuesSettingOrganizationsArgs = }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanDeleteRepositoriesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6487,7 +6487,7 @@ export type EnterpriseOwnerInfoMembersCanDeleteRepositoriesSettingOrganizationsA }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanInviteCollaboratorsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6498,7 +6498,7 @@ export type EnterpriseOwnerInfoMembersCanInviteCollaboratorsSettingOrganizations }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanUpdateProtectedBranchesSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6509,7 +6509,7 @@ export type EnterpriseOwnerInfoMembersCanUpdateProtectedBranchesSettingOrganizat }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoMembersCanViewDependencyInsightsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6520,7 +6520,7 @@ export type EnterpriseOwnerInfoMembersCanViewDependencyInsightsSettingOrganizati }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoOrganizationProjectsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6531,7 +6531,7 @@ export type EnterpriseOwnerInfoOrganizationProjectsSettingOrganizationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6546,7 +6546,7 @@ export type EnterpriseOwnerInfoOutsideCollaboratorsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingAdminInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6558,7 +6558,7 @@ export type EnterpriseOwnerInfoPendingAdminInvitationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingCollaboratorInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6569,7 +6569,7 @@ export type EnterpriseOwnerInfoPendingCollaboratorInvitationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoPendingMemberInvitationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6581,7 +6581,7 @@ export type EnterpriseOwnerInfoPendingMemberInvitationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoRepositoryProjectsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6592,7 +6592,7 @@ export type EnterpriseOwnerInfoRepositoryProjectsSettingOrganizationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoSamlIdentityProviderSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6603,7 +6603,7 @@ export type EnterpriseOwnerInfoSamlIdentityProviderSettingOrganizationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoSupportEntitlementsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6613,7 +6613,7 @@ export type EnterpriseOwnerInfoSupportEntitlementsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -6624,7 +6624,7 @@ export type EnterpriseOwnerInfoTeamDiscussionsSettingOrganizationsArgs = { }; -/** Enterprise information only visible to enterprise owners. */ +/** Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type EnterpriseOwnerInfoTwoFactorRequiredSettingOrganizationsArgs = { after?: InputMaybe; before?: InputMaybe; @@ -7103,7 +7103,7 @@ export type EnvironmentEdge = { node?: Maybe; }; -/** An external identity provisioned by SAML SSO or SCIM. */ +/** An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type ExternalIdentity = Node & { __typename?: 'ExternalIdentity'; /** The GUID for this identity */ @@ -8564,16 +8564,39 @@ export type IssueTemplate = { __typename?: 'IssueTemplate'; /** The template purpose. */ about?: Maybe; + /** The suggested assignees. */ + assignees: UserConnection; /** The suggested issue body. */ body?: Maybe; /** The template filename. */ filename: Scalars['String']; + /** The suggested issue labels */ + labels?: Maybe; /** The template name. */ name: Scalars['String']; /** The suggested issue title. */ title?: Maybe; }; + +/** A repository issue template. */ +export type IssueTemplateAssigneesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A repository issue template. */ +export type IssueTemplateLabelsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + /** The connection type for IssueTimelineItem. */ export type IssueTimelineConnection = { __typename?: 'IssueTimelineConnection'; @@ -11835,7 +11858,7 @@ export enum NotificationRestrictionSettingValue { Enabled = 'ENABLED' } -/** An OIDC identity provider configured to provision identities for an enterprise. */ +/** An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type OidcProvider = Node & { __typename?: 'OIDCProvider'; /** The enterprise this identity provider belongs to. */ @@ -11850,7 +11873,7 @@ export type OidcProvider = Node & { }; -/** An OIDC identity provider configured to provision identities for an enterprise. */ +/** An OIDC identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope. */ export type OidcProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -13401,7 +13424,7 @@ export type Organization = Actor & AnnouncementBanner & MemberStatusable & Node resourcePath: Scalars['URI']; /** A list of rulesets for this organization. */ rulesets?: Maybe; - /** The Organization's SAML identity providers */ + /** The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ samlIdentityProvider?: Maybe; /** List of users and organizations this entity is sponsoring. */ sponsoring: SponsorConnection; @@ -13903,7 +13926,7 @@ export type OrganizationEnterpriseOwnerEdge = { organizationRole: RoleInOrganization; }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations */ +/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ export type OrganizationIdentityProvider = Node & { __typename?: 'OrganizationIdentityProvider'; /** The digest algorithm used to sign SAML requests for the Identity Provider. */ @@ -13924,7 +13947,7 @@ export type OrganizationIdentityProvider = Node & { }; -/** An Identity Provider configured to provision SAML and SCIM identities for Organizations */ +/** An Identity Provider configured to provision SAML and SCIM identities for Organizations. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. */ export type OrganizationIdentityProviderExternalIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; @@ -15511,9 +15534,9 @@ export type ProjectV2Item = Node & { creator?: Maybe; /** Identifies the primary key from the database. */ databaseId?: Maybe; - /** A specific field value given a field name */ + /** The field value of the first project field which matches the 'name' argument that is set on the item. */ fieldValueByName?: Maybe; - /** List of field values */ + /** The field values that are set on the item. */ fieldValues: ProjectV2ItemFieldValueConnection; id: Scalars['ID']; /** Whether the item is archived. */ @@ -16981,15 +17004,15 @@ export enum PullRequestOrderField { export type PullRequestParameters = { __typename?: 'PullRequestParameters'; /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ - dismissStaleReviewsOnPush?: Maybe; + dismissStaleReviewsOnPush: Scalars['Boolean']; /** Require an approving review in pull requests that modify files that have a designated code owner. */ - requireCodeOwnerReview?: Maybe; + requireCodeOwnerReview: Scalars['Boolean']; /** Whether the most recent reviewable push must be approved by someone other than the person who pushed it. */ - requireLastPushApproval?: Maybe; + requireLastPushApproval: Scalars['Boolean']; /** The number of approving reviews that are required before a pull request can be merged. */ - requiredApprovingReviewCount?: Maybe; + requiredApprovingReviewCount: Scalars['Int']; /** All conversations on code must be resolved before a pull request can be merged. */ - requiredReviewThreadResolution?: Maybe; + requiredReviewThreadResolution: Scalars['Boolean']; }; /** Parameters to be used for the pull_request rule */ @@ -17767,7 +17790,7 @@ export type Query = { organization?: Maybe; /** The client's rate limit information. */ rateLimit?: Maybe; - /** Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object */ + /** Workaround for re-exposing the root query object. (Refer to https://github.com/facebook/relay/issues/112 for more information.) */ relay: Query; /** Lookup a given repository by the owner and repository name. */ repository?: Maybe; @@ -18267,9 +18290,9 @@ export type RefEdge = { export type RefNameConditionTarget = { __typename?: 'RefNameConditionTarget'; /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: Maybe>; + exclude: Array; /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ - include?: Maybe>; + include: Array; }; /** Parameters to be used for the ref_name condition */ @@ -21041,9 +21064,9 @@ export enum RepositoryMigrationOrderField { export type RepositoryNameConditionTarget = { __typename?: 'RepositoryNameConditionTarget'; /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude?: Maybe>; + exclude: Array; /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ - include?: Maybe>; + include: Array; /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ protected: Scalars['Boolean']; }; @@ -21650,7 +21673,7 @@ export type RequirableByPullRequestIsRequiredArgs = { export type RequiredDeploymentsParameters = { __typename?: 'RequiredDeploymentsParameters'; /** The environments that must be successfully deployed to before branches can be merged. */ - requiredDeploymentEnvironments?: Maybe>; + requiredDeploymentEnvironments: Array; }; /** Parameters to be used for the required_deployments rule */ @@ -21680,9 +21703,9 @@ export type RequiredStatusCheckInput = { export type RequiredStatusChecksParameters = { __typename?: 'RequiredStatusChecksParameters'; /** Status checks that are required. */ - requiredStatusChecks?: Maybe>; + requiredStatusChecks: Array; /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ - strictRequiredStatusChecksPolicy?: Maybe; + strictRequiredStatusChecksPolicy: Scalars['Boolean']; }; /** Parameters to be used for the required_status_checks rule */ @@ -23954,9 +23977,9 @@ export type StatusContextArgs = { export type StatusCheckConfiguration = { __typename?: 'StatusCheckConfiguration'; /** The status check context name that must be present on the commit. */ - context?: Maybe; + context: Scalars['String']; /** The optional integration ID that this status check must originate from. */ - integrationId: Scalars['Int']; + integrationId?: Maybe; }; /** Required status check */ @@ -24232,13 +24255,13 @@ export type Tag = GitObject & Node & { export type TagNamePatternParameters = { __typename?: 'TagNamePatternParameters'; /** How this rule will appear to users. */ - name: Scalars['String']; + name?: Maybe; /** If true, the rule will fail if the pattern matches. */ negate: Scalars['Boolean']; /** The operator to use for matching. */ - operator?: Maybe; + operator: Scalars['String']; /** The pattern to match with. */ - pattern?: Maybe; + pattern: Scalars['String']; }; /** Parameters to be used for the tag_name_pattern rule */ @@ -26491,7 +26514,7 @@ export type UpdateOrganizationWebCommitSignoffSettingPayload = { export type UpdateParameters = { __typename?: 'UpdateParameters'; /** Branch can pull changes from its upstream repository */ - updateAllowsFetchAndMerge?: Maybe; + updateAllowsFetchAndMerge: Scalars['Boolean']; }; /** Parameters to be used for the update rule */ @@ -27062,7 +27085,7 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P isDeveloperProgramMember: Scalars['Boolean']; /** Whether or not this user is a GitHub employee. */ isEmployee: Scalars['Boolean']; - /** Whether or not this user is following the viewer. Inverse of viewer_is_following */ + /** Whether or not this user is following the viewer. Inverse of viewerIsFollowing */ isFollowingViewer: Scalars['Boolean']; /** Whether or not this user is a member of the GitHub Stars Program. */ isGitHubStar: Scalars['Boolean']; @@ -27183,7 +27206,7 @@ export type User = Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & P viewerCanFollow: Scalars['Boolean']; /** Whether or not the viewer is able to sponsor this user/organization. */ viewerCanSponsor: Scalars['Boolean']; - /** Whether or not this user is followed by the viewer. Inverse of is_following_viewer. */ + /** Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. */ viewerIsFollowing: Scalars['Boolean']; /** True if the viewer is sponsoring this user/organization. */ viewerIsSponsoring: Scalars['Boolean']; @@ -27911,7 +27934,7 @@ export type Votable = { }; /** A workflow contains meta information about an Actions workflow file. */ -export type Workflow = Node & { +export type Workflow = Node & UniformResourceLocatable & { __typename?: 'Workflow'; /** Identifies the date and time when the object was created. */ createdAt: Scalars['DateTime']; @@ -27920,12 +27943,16 @@ export type Workflow = Node & { id: Scalars['ID']; /** The name of the workflow. */ name: Scalars['String']; + /** The HTTP path for this workflow */ + resourcePath: Scalars['URI']; /** The runs of the workflow. */ runs: WorkflowRunConnection; /** The state of the workflow. */ state: WorkflowState; /** Identifies the date and time when the object was last updated. */ updatedAt: Scalars['DateTime']; + /** The HTTP URL for this workflow */ + url: Scalars['URI']; }; @@ -29473,7 +29500,7 @@ export type ResolversTypes = { UnfollowOrganizationPayload: ResolverTypeWrapper; UnfollowUserInput: UnfollowUserInput; UnfollowUserPayload: ResolverTypeWrapper; - UniformResourceLocatable: ResolversTypes['Bot'] | ResolversTypes['CheckRun'] | ResolversTypes['ClosedEvent'] | ResolversTypes['Commit'] | ResolversTypes['ConvertToDraftEvent'] | ResolversTypes['CrossReferencedEvent'] | ResolversTypes['Gist'] | ResolversTypes['Issue'] | ResolversTypes['Mannequin'] | ResolversTypes['MergedEvent'] | ResolversTypes['Milestone'] | ResolversTypes['Organization'] | ResolversTypes['PullRequest'] | ResolversTypes['PullRequestCommit'] | ResolversTypes['ReadyForReviewEvent'] | ResolversTypes['Release'] | ResolversTypes['Repository'] | ResolversTypes['RepositoryTopic'] | ResolversTypes['ReviewDismissedEvent'] | ResolversTypes['TeamDiscussion'] | ResolversTypes['TeamDiscussionComment'] | ResolversTypes['User'] | ResolversTypes['WorkflowRun']; + UniformResourceLocatable: ResolversTypes['Bot'] | ResolversTypes['CheckRun'] | ResolversTypes['ClosedEvent'] | ResolversTypes['Commit'] | ResolversTypes['ConvertToDraftEvent'] | ResolversTypes['CrossReferencedEvent'] | ResolversTypes['Gist'] | ResolversTypes['Issue'] | ResolversTypes['Mannequin'] | ResolversTypes['MergedEvent'] | ResolversTypes['Milestone'] | ResolversTypes['Organization'] | ResolversTypes['PullRequest'] | ResolversTypes['PullRequestCommit'] | ResolversTypes['ReadyForReviewEvent'] | ResolversTypes['Release'] | ResolversTypes['Repository'] | ResolversTypes['RepositoryTopic'] | ResolversTypes['ReviewDismissedEvent'] | ResolversTypes['TeamDiscussion'] | ResolversTypes['TeamDiscussionComment'] | ResolversTypes['User'] | ResolversTypes['Workflow'] | ResolversTypes['WorkflowRun']; UnknownSignature: ResolverTypeWrapper; UnlabeledEvent: ResolverTypeWrapper; UnlinkProjectV2FromRepositoryInput: UnlinkProjectV2FromRepositoryInput; @@ -30721,7 +30748,7 @@ export type ResolversParentTypes = { UnfollowOrganizationPayload: UnfollowOrganizationPayload; UnfollowUserInput: UnfollowUserInput; UnfollowUserPayload: UnfollowUserPayload; - UniformResourceLocatable: ResolversParentTypes['Bot'] | ResolversParentTypes['CheckRun'] | ResolversParentTypes['ClosedEvent'] | ResolversParentTypes['Commit'] | ResolversParentTypes['ConvertToDraftEvent'] | ResolversParentTypes['CrossReferencedEvent'] | ResolversParentTypes['Gist'] | ResolversParentTypes['Issue'] | ResolversParentTypes['Mannequin'] | ResolversParentTypes['MergedEvent'] | ResolversParentTypes['Milestone'] | ResolversParentTypes['Organization'] | ResolversParentTypes['PullRequest'] | ResolversParentTypes['PullRequestCommit'] | ResolversParentTypes['ReadyForReviewEvent'] | ResolversParentTypes['Release'] | ResolversParentTypes['Repository'] | ResolversParentTypes['RepositoryTopic'] | ResolversParentTypes['ReviewDismissedEvent'] | ResolversParentTypes['TeamDiscussion'] | ResolversParentTypes['TeamDiscussionComment'] | ResolversParentTypes['User'] | ResolversParentTypes['WorkflowRun']; + UniformResourceLocatable: ResolversParentTypes['Bot'] | ResolversParentTypes['CheckRun'] | ResolversParentTypes['ClosedEvent'] | ResolversParentTypes['Commit'] | ResolversParentTypes['ConvertToDraftEvent'] | ResolversParentTypes['CrossReferencedEvent'] | ResolversParentTypes['Gist'] | ResolversParentTypes['Issue'] | ResolversParentTypes['Mannequin'] | ResolversParentTypes['MergedEvent'] | ResolversParentTypes['Milestone'] | ResolversParentTypes['Organization'] | ResolversParentTypes['PullRequest'] | ResolversParentTypes['PullRequestCommit'] | ResolversParentTypes['ReadyForReviewEvent'] | ResolversParentTypes['Release'] | ResolversParentTypes['Repository'] | ResolversParentTypes['RepositoryTopic'] | ResolversParentTypes['ReviewDismissedEvent'] | ResolversParentTypes['TeamDiscussion'] | ResolversParentTypes['TeamDiscussionComment'] | ResolversParentTypes['User'] | ResolversParentTypes['Workflow'] | ResolversParentTypes['WorkflowRun']; UnknownSignature: UnknownSignature; UnlabeledEvent: UnlabeledEvent; UnlinkProjectV2FromRepositoryInput: UnlinkProjectV2FromRepositoryInput; @@ -31299,10 +31326,10 @@ export type BranchActorAllowanceActorResolvers = { - name?: Resolver; + name?: Resolver, ParentType, ContextType>; negate?: Resolver; - operator?: Resolver, ParentType, ContextType>; - pattern?: Resolver, ParentType, ContextType>; + operator?: Resolver; + pattern?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -31775,10 +31802,10 @@ export type CommitResolvers = { - name?: Resolver; + name?: Resolver, ParentType, ContextType>; negate?: Resolver; - operator?: Resolver, ParentType, ContextType>; - pattern?: Resolver, ParentType, ContextType>; + operator?: Resolver; + pattern?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -31872,18 +31899,18 @@ export type CommitHistoryConnectionResolvers = { - name?: Resolver; + name?: Resolver, ParentType, ContextType>; negate?: Resolver; - operator?: Resolver, ParentType, ContextType>; - pattern?: Resolver, ParentType, ContextType>; + operator?: Resolver; + pattern?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; export type CommitterEmailPatternParametersResolvers = { - name?: Resolver; + name?: Resolver, ParentType, ContextType>; negate?: Resolver; - operator?: Resolver, ParentType, ContextType>; - pattern?: Resolver, ParentType, ContextType>; + operator?: Resolver; + pattern?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -33855,8 +33882,10 @@ export type IssueOrPullRequestResolvers = { about?: Resolver, ParentType, ContextType>; + assignees?: Resolver>; body?: Resolver, ParentType, ContextType>; filename?: Resolver; + labels?: Resolver, ParentType, ContextType, RequireFields>; name?: Resolver; title?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; @@ -36681,11 +36710,11 @@ export type PullRequestEdgeResolvers = { - dismissStaleReviewsOnPush?: Resolver, ParentType, ContextType>; - requireCodeOwnerReview?: Resolver, ParentType, ContextType>; - requireLastPushApproval?: Resolver, ParentType, ContextType>; - requiredApprovingReviewCount?: Resolver, ParentType, ContextType>; - requiredReviewThreadResolution?: Resolver, ParentType, ContextType>; + dismissStaleReviewsOnPush?: Resolver; + requireCodeOwnerReview?: Resolver; + requireLastPushApproval?: Resolver; + requiredApprovingReviewCount?: Resolver; + requiredReviewThreadResolution?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -37109,8 +37138,8 @@ export type RefEdgeResolvers = { - exclude?: Resolver>, ParentType, ContextType>; - include?: Resolver>, ParentType, ContextType>; + exclude?: Resolver, ParentType, ContextType>; + include?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }; @@ -38177,8 +38206,8 @@ export type RepositoryMigrationEdgeResolvers = { - exclude?: Resolver>, ParentType, ContextType>; - include?: Resolver>, ParentType, ContextType>; + exclude?: Resolver, ParentType, ContextType>; + include?: Resolver, ParentType, ContextType>; protected?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -38415,7 +38444,7 @@ export type RequirableByPullRequestResolvers = { - requiredDeploymentEnvironments?: Resolver>, ParentType, ContextType>; + requiredDeploymentEnvironments?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }; @@ -38426,8 +38455,8 @@ export type RequiredStatusCheckDescriptionResolvers = { - requiredStatusChecks?: Resolver>, ParentType, ContextType>; - strictRequiredStatusChecksPolicy?: Resolver, ParentType, ContextType>; + requiredStatusChecks?: Resolver, ParentType, ContextType>; + strictRequiredStatusChecksPolicy?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -39064,8 +39093,8 @@ export type StatusResolvers = { - context?: Resolver, ParentType, ContextType>; - integrationId?: Resolver; + context?: Resolver; + integrationId?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }; @@ -39197,10 +39226,10 @@ export type TagResolvers = { - name?: Resolver; + name?: Resolver, ParentType, ContextType>; negate?: Resolver; - operator?: Resolver, ParentType, ContextType>; - pattern?: Resolver, ParentType, ContextType>; + operator?: Resolver; + pattern?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -39673,7 +39702,7 @@ export type UnfollowUserPayloadResolvers = { - __resolveType: TypeResolveFn<'Bot' | 'CheckRun' | 'ClosedEvent' | 'Commit' | 'ConvertToDraftEvent' | 'CrossReferencedEvent' | 'Gist' | 'Issue' | 'Mannequin' | 'MergedEvent' | 'Milestone' | 'Organization' | 'PullRequest' | 'PullRequestCommit' | 'ReadyForReviewEvent' | 'Release' | 'Repository' | 'RepositoryTopic' | 'ReviewDismissedEvent' | 'TeamDiscussion' | 'TeamDiscussionComment' | 'User' | 'WorkflowRun', ParentType, ContextType>; + __resolveType: TypeResolveFn<'Bot' | 'CheckRun' | 'ClosedEvent' | 'Commit' | 'ConvertToDraftEvent' | 'CrossReferencedEvent' | 'Gist' | 'Issue' | 'Mannequin' | 'MergedEvent' | 'Milestone' | 'Organization' | 'PullRequest' | 'PullRequestCommit' | 'ReadyForReviewEvent' | 'Release' | 'Repository' | 'RepositoryTopic' | 'ReviewDismissedEvent' | 'TeamDiscussion' | 'TeamDiscussionComment' | 'User' | 'Workflow' | 'WorkflowRun', ParentType, ContextType>; resourcePath?: Resolver; url?: Resolver; }; @@ -40008,7 +40037,7 @@ export type UpdateOrganizationWebCommitSignoffSettingPayloadResolvers = { - updateAllowsFetchAndMerge?: Resolver, ParentType, ContextType>; + updateAllowsFetchAndMerge?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -40381,9 +40410,11 @@ export type WorkflowResolvers, ParentType, ContextType>; id?: Resolver; name?: Resolver; + resourcePath?: Resolver; runs?: Resolver>; state?: Resolver; updatedAt?: Resolver; + url?: Resolver; __isTypeOf?: IsTypeOfResolverFn; };