diff --git a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml index 288d4a888b..b76ac857e9 100644 --- a/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml +++ b/data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml @@ -185,16 +185,6 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar - - location: ProjectNextFieldType.TASKS - description: - '`TASKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, - to find a suitable replacement.' - reason: - The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` - API. - date: '2022-10-01T00:00:00+00:00' - criticality: breaking - owner: lukewar - location: ProjectNextFieldType.TEXT description: '`TEXT` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, @@ -215,6 +205,16 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar + - location: ProjectNextFieldType.TRACKS + description: + '`TRACKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, + to find a suitable replacement.' + reason: + The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` + API. + date: '2022-10-01T00:00:00+00:00' + criticality: breaking + owner: lukewar - location: RemovePullRequestFromMergeQueueInput.branch description: '`branch` will be removed.' reason: diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 18a60703c2..9d14fb3c82 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -4508,7 +4508,7 @@ with `refs/heads/` (although the input is not required to be fully qualified). The Ref may be specified by its global node ID or by the -repository nameWithOwner and branch name. +`repositoryNameWithOwner` and `branchName`. ### Examples @@ -4516,10 +4516,10 @@ Specify a branch using a global node ID: { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } -Specify a branch using nameWithOwner and branch name: +Specify a branch using `repositoryNameWithOwner` and `branchName`: { - "nameWithOwner": "github/graphql-client", + "repositoryNameWithOwner": "github/graphql-client", "branchName": "main" } """ @@ -9331,7 +9331,7 @@ input EnablePullRequestAutoMergeInput { commitHeadline: String """ - The merge method to use. If omitted, defaults to 'MERGE' + The merge method to use. If omitted, defaults to `MERGE` """ mergeMethod: PullRequestMergeMethod = MERGE @@ -17947,7 +17947,7 @@ type Mutation { ): UnresolveReviewThreadPayload """ - Create a new branch protection rule + Update a branch protection rule """ updateBranchProtectionRule( """ @@ -18236,6 +18236,16 @@ type Mutation { input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput! ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload + """ + Sets whether contributors are required to sign off on web-based commits for repositories in an organization. + """ + updateOrganizationWebCommitSignoffSetting( + """ + Parameters for UpdateOrganizationWebCommitSignoffSetting + """ + input: UpdateOrganizationWebCommitSignoffSettingInput! + ): UpdateOrganizationWebCommitSignoffSettingPayload + """ Updates an existing project. """ @@ -18353,6 +18363,16 @@ type Mutation { input: UpdateRepositoryInput! ): UpdateRepositoryPayload + """ + Sets whether contributors are required to sign off on web-based commits for a repository. + """ + updateRepositoryWebCommitSignoffSetting( + """ + Parameters for UpdateRepositoryWebCommitSignoffSetting + """ + input: UpdateRepositoryWebCommitSignoffSettingInput! + ): UpdateRepositoryWebCommitSignoffSettingPayload + """ Updates the state for subscribable subjects. """ @@ -22385,6 +22405,11 @@ type Organization implements Actor & MemberStatusable & Node & ProfileOwner & Pr """ viewerIsFollowing: Boolean! + """ + Whether contributors are required to sign off on web-based commits for repositories in this organization. + """ + webCommitSignoffRequired: Boolean! + """ The organization's public profile URL. """ @@ -33071,6 +33096,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su """ last: Int ): UserConnection! + + """ + Whether contributors are required to sign off on web-based commits in this repository. + """ + webCommitSignoffRequired: Boolean! } """ @@ -34327,6 +34357,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dependencyScope: RepositoryVulnerabilityAlertDependencyScope + """ + Comment explaining the reason the alert was dismissed + """ + dismissComment: String + """ The reason the alert was dismissed """ @@ -35979,6 +36014,11 @@ input StartRepositoryMigrationInput { """ githubPat: String + """ + Whether to lock the source repository. + """ + lockSource: Boolean + """ The signed URL to access the user-uploaded metadata archive """ @@ -36847,7 +36887,7 @@ type Team implements MemberStatusable & Node & Subscribable { orderBy: TeamRepositoryOrder """ - The search string to look for. + The search string to look for. Repositories will be returned where the name contains your search string. """ query: String ): TeamRepositoryConnection! @@ -40784,6 +40824,46 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload { organization: Organization } +""" +Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting +""" +input UpdateOrganizationWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization on which to set the web commit signoff setting. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + Enable signoff on web-based commits for repositories in the organization? + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting +""" +type UpdateOrganizationWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The organization with the updated web commit signoff setting. + """ + organization: Organization +} + """ Autogenerated input type of UpdateProjectCard """ @@ -41231,6 +41311,46 @@ type UpdateRepositoryPayload { repository: Repository } +""" +Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting +""" +input UpdateRepositoryWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the repository to update. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) + + """ + Indicates if the repository should require signoff on web-based commits. + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting +""" +type UpdateRepositoryWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The updated repository. + """ + repository: Repository +} + """ Autogenerated input type of UpdateSubscription """ diff --git a/data/graphql/ghec/graphql_upcoming_changes.public.yml b/data/graphql/ghec/graphql_upcoming_changes.public.yml index c7d64b6cd4..8cde85c4b6 100644 --- a/data/graphql/ghec/graphql_upcoming_changes.public.yml +++ b/data/graphql/ghec/graphql_upcoming_changes.public.yml @@ -782,16 +782,6 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar - - location: ProjectNextFieldType.TASKS - description: - '`TASKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, - to find a suitable replacement.' - reason: - The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` - API. - date: '2022-10-01T00:00:00+00:00' - criticality: breaking - owner: lukewar - location: ProjectNextFieldType.TEXT description: '`TEXT` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, @@ -812,6 +802,16 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar + - location: ProjectNextFieldType.TRACKS + description: + '`TRACKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, + to find a suitable replacement.' + reason: + The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` + API. + date: '2022-10-01T00:00:00+00:00' + criticality: breaking + owner: lukewar - location: ProjectNextItem.content description: '`content` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index fd81d8ee74..dcdb2ef09b 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -4938,7 +4938,7 @@ with `refs/heads/` (although the input is not required to be fully qualified). The Ref may be specified by its global node ID or by the -repository nameWithOwner and branch name. +`repositoryNameWithOwner` and `branchName`. ### Examples @@ -4946,10 +4946,10 @@ Specify a branch using a global node ID: { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } -Specify a branch using nameWithOwner and branch name: +Specify a branch using `repositoryNameWithOwner` and `branchName`: { - "nameWithOwner": "github/graphql-client", + "repositoryNameWithOwner": "github/graphql-client", "branchName": "main" } """ @@ -10655,7 +10655,7 @@ input EnablePullRequestAutoMergeInput { commitHeadline: String """ - The merge method to use. If omitted, defaults to 'MERGE' + The merge method to use. If omitted, defaults to `MERGE` """ mergeMethod: PullRequestMergeMethod = MERGE @@ -13210,6 +13210,12 @@ enum EnterpriseUserAccountMembershipRole { The user is an owner of an organization in the enterprise. """ OWNER + + """ + The user is not an owner of the enterprise, and not a member or owner of any + organizations in the enterprise; only for EMU-enabled enterprises. + """ + UNAFFILIATED } """ @@ -20500,7 +20506,7 @@ type Mutation { ): UnresolveReviewThreadPayload """ - Create a new branch protection rule + Update a branch protection rule """ updateBranchProtectionRule( """ @@ -20809,6 +20815,16 @@ type Mutation { input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput! ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload + """ + Sets whether contributors are required to sign off on web-based commits for repositories in an organization. + """ + updateOrganizationWebCommitSignoffSetting( + """ + Parameters for UpdateOrganizationWebCommitSignoffSetting + """ + input: UpdateOrganizationWebCommitSignoffSettingInput! + ): UpdateOrganizationWebCommitSignoffSettingPayload + """ Updates an existing project. """ @@ -21006,6 +21022,16 @@ type Mutation { input: UpdateRepositoryInput! ): UpdateRepositoryPayload + """ + Sets whether contributors are required to sign off on web-based commits for a repository. + """ + updateRepositoryWebCommitSignoffSetting( + """ + Parameters for UpdateRepositoryWebCommitSignoffSetting + """ + input: UpdateRepositoryWebCommitSignoffSettingInput! + ): UpdateRepositoryWebCommitSignoffSettingPayload + """ Change visibility of your sponsorship and opt in or out of email updates from the maintainer. """ @@ -25626,6 +25652,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ viewerIsSponsoring: Boolean! + """ + Whether contributors are required to sign off on web-based commits for repositories in this organization. + """ + webCommitSignoffRequired: Boolean! + """ The organization's public profile URL. """ @@ -28698,14 +28729,6 @@ enum ProjectNextFieldType { reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." ) - """ - Tasks - """ - TASKS - @deprecated( - reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." - ) - """ Text """ @@ -28721,6 +28744,14 @@ enum ProjectNextFieldType { @deprecated( reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." ) + + """ + Tracks + """ + TRACKS + @deprecated( + reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." + ) } """ @@ -29755,11 +29786,6 @@ enum ProjectV2FieldType { """ SINGLE_SELECT - """ - Tasks - """ - TASKS - """ Text """ @@ -29769,6 +29795,11 @@ enum ProjectV2FieldType { Title """ TITLE + + """ + Tracks + """ + TRACKS } """ @@ -40479,6 +40510,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ last: Int ): UserConnection! + + """ + Whether contributors are required to sign off on web-based commits in this repository. + """ + webCommitSignoffRequired: Boolean! } """ @@ -41825,6 +41861,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dependencyScope: RepositoryVulnerabilityAlertDependencyScope + """ + Comment explaining the reason the alert was dismissed + """ + dismissComment: String + """ The reason the alert was dismissed """ @@ -44937,6 +44978,11 @@ input StartRepositoryMigrationInput { """ githubPat: String + """ + Whether to lock the source repository. + """ + lockSource: Boolean + """ The signed URL to access the user-uploaded metadata archive """ @@ -45805,7 +45851,7 @@ type Team implements MemberStatusable & Node & Subscribable { orderBy: TeamRepositoryOrder """ - The search string to look for. + The search string to look for. Repositories will be returned where the name contains your search string. """ query: String ): TeamRepositoryConnection! @@ -49862,6 +49908,46 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload { organization: Organization } +""" +Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting +""" +input UpdateOrganizationWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization on which to set the web commit signoff setting. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + Enable signoff on web-based commits for repositories in the organization? + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting +""" +type UpdateOrganizationWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The organization with the updated web commit signoff setting. + """ + organization: Organization +} + """ Autogenerated input type of UpdateProjectCard """ @@ -50714,6 +50800,46 @@ type UpdateRepositoryPayload { repository: Repository } +""" +Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting +""" +input UpdateRepositoryWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the repository to update. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) + + """ + Indicates if the repository should require signoff on web-based commits. + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting +""" +type UpdateRepositoryWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The updated repository. + """ + repository: Repository +} + """ Autogenerated input type of UpdateSponsorshipPreferences """ diff --git a/data/graphql/graphql_upcoming_changes.public.yml b/data/graphql/graphql_upcoming_changes.public.yml index c7d64b6cd4..8cde85c4b6 100644 --- a/data/graphql/graphql_upcoming_changes.public.yml +++ b/data/graphql/graphql_upcoming_changes.public.yml @@ -782,16 +782,6 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar - - location: ProjectNextFieldType.TASKS - description: - '`TASKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, - to find a suitable replacement.' - reason: - The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` - API. - date: '2022-10-01T00:00:00+00:00' - criticality: breaking - owner: lukewar - location: ProjectNextFieldType.TEXT description: '`TEXT` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, @@ -812,6 +802,16 @@ upcoming_changes: date: '2022-10-01T00:00:00+00:00' criticality: breaking owner: lukewar + - location: ProjectNextFieldType.TRACKS + description: + '`TRACKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, + to find a suitable replacement.' + reason: + The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` + API. + date: '2022-10-01T00:00:00+00:00' + criticality: breaking + owner: lukewar - location: ProjectNextItem.content description: '`content` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index fd81d8ee74..dcdb2ef09b 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -4938,7 +4938,7 @@ with `refs/heads/` (although the input is not required to be fully qualified). The Ref may be specified by its global node ID or by the -repository nameWithOwner and branch name. +`repositoryNameWithOwner` and `branchName`. ### Examples @@ -4946,10 +4946,10 @@ Specify a branch using a global node ID: { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } -Specify a branch using nameWithOwner and branch name: +Specify a branch using `repositoryNameWithOwner` and `branchName`: { - "nameWithOwner": "github/graphql-client", + "repositoryNameWithOwner": "github/graphql-client", "branchName": "main" } """ @@ -10655,7 +10655,7 @@ input EnablePullRequestAutoMergeInput { commitHeadline: String """ - The merge method to use. If omitted, defaults to 'MERGE' + The merge method to use. If omitted, defaults to `MERGE` """ mergeMethod: PullRequestMergeMethod = MERGE @@ -13210,6 +13210,12 @@ enum EnterpriseUserAccountMembershipRole { The user is an owner of an organization in the enterprise. """ OWNER + + """ + The user is not an owner of the enterprise, and not a member or owner of any + organizations in the enterprise; only for EMU-enabled enterprises. + """ + UNAFFILIATED } """ @@ -20500,7 +20506,7 @@ type Mutation { ): UnresolveReviewThreadPayload """ - Create a new branch protection rule + Update a branch protection rule """ updateBranchProtectionRule( """ @@ -20809,6 +20815,16 @@ type Mutation { input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput! ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload + """ + Sets whether contributors are required to sign off on web-based commits for repositories in an organization. + """ + updateOrganizationWebCommitSignoffSetting( + """ + Parameters for UpdateOrganizationWebCommitSignoffSetting + """ + input: UpdateOrganizationWebCommitSignoffSettingInput! + ): UpdateOrganizationWebCommitSignoffSettingPayload + """ Updates an existing project. """ @@ -21006,6 +21022,16 @@ type Mutation { input: UpdateRepositoryInput! ): UpdateRepositoryPayload + """ + Sets whether contributors are required to sign off on web-based commits for a repository. + """ + updateRepositoryWebCommitSignoffSetting( + """ + Parameters for UpdateRepositoryWebCommitSignoffSetting + """ + input: UpdateRepositoryWebCommitSignoffSettingInput! + ): UpdateRepositoryWebCommitSignoffSettingPayload + """ Change visibility of your sponsorship and opt in or out of email updates from the maintainer. """ @@ -25626,6 +25652,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr """ viewerIsSponsoring: Boolean! + """ + Whether contributors are required to sign off on web-based commits for repositories in this organization. + """ + webCommitSignoffRequired: Boolean! + """ The organization's public profile URL. """ @@ -28698,14 +28729,6 @@ enum ProjectNextFieldType { reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." ) - """ - Tasks - """ - TASKS - @deprecated( - reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." - ) - """ Text """ @@ -28721,6 +28744,14 @@ enum ProjectNextFieldType { @deprecated( reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." ) + + """ + Tracks + """ + TRACKS + @deprecated( + reason: "The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Removal on 2022-10-01 UTC." + ) } """ @@ -29755,11 +29786,6 @@ enum ProjectV2FieldType { """ SINGLE_SELECT - """ - Tasks - """ - TASKS - """ Text """ @@ -29769,6 +29795,11 @@ enum ProjectV2FieldType { Title """ TITLE + + """ + Tracks + """ + TRACKS } """ @@ -40479,6 +40510,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ last: Int ): UserConnection! + + """ + Whether contributors are required to sign off on web-based commits in this repository. + """ + webCommitSignoffRequired: Boolean! } """ @@ -41825,6 +41861,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode { """ dependencyScope: RepositoryVulnerabilityAlertDependencyScope + """ + Comment explaining the reason the alert was dismissed + """ + dismissComment: String + """ The reason the alert was dismissed """ @@ -44937,6 +44978,11 @@ input StartRepositoryMigrationInput { """ githubPat: String + """ + Whether to lock the source repository. + """ + lockSource: Boolean + """ The signed URL to access the user-uploaded metadata archive """ @@ -45805,7 +45851,7 @@ type Team implements MemberStatusable & Node & Subscribable { orderBy: TeamRepositoryOrder """ - The search string to look for. + The search string to look for. Repositories will be returned where the name contains your search string. """ query: String ): TeamRepositoryConnection! @@ -49862,6 +49908,46 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload { organization: Organization } +""" +Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting +""" +input UpdateOrganizationWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the organization on which to set the web commit signoff setting. + """ + organizationId: ID! @possibleTypes(concreteTypes: ["Organization"]) + + """ + Enable signoff on web-based commits for repositories in the organization? + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateOrganizationWebCommitSignoffSetting +""" +type UpdateOrganizationWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The organization with the updated web commit signoff setting. + """ + organization: Organization +} + """ Autogenerated input type of UpdateProjectCard """ @@ -50714,6 +50800,46 @@ type UpdateRepositoryPayload { repository: Repository } +""" +Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting +""" +input UpdateRepositoryWebCommitSignoffSettingInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + The ID of the repository to update. + """ + repositoryId: ID! @possibleTypes(concreteTypes: ["Repository"]) + + """ + Indicates if the repository should require signoff on web-based commits. + """ + webCommitSignoffRequired: Boolean! +} + +""" +Autogenerated return type of UpdateRepositoryWebCommitSignoffSetting +""" +type UpdateRepositoryWebCommitSignoffSettingPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A message confirming the result of updating the web commit signoff setting. + """ + message: String + + """ + The updated repository. + """ + repository: Repository +} + """ Autogenerated input type of UpdateSponsorshipPreferences """ diff --git a/lib/graphql/static/changelog.json b/lib/graphql/static/changelog.json index 3651232c9d..d7ad97e746 100644 --- a/lib/graphql/static/changelog.json +++ b/lib/graphql/static/changelog.json @@ -1,4 +1,38 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type UpdateOrganizationWebCommitSignoffSettingInput was added

", + "

Type UpdateOrganizationWebCommitSignoffSettingPayload was added

", + "

Type UpdateRepositoryWebCommitSignoffSettingInput was added

", + "

Type UpdateRepositoryWebCommitSignoffSettingPayload was added

", + "

Enum value UNAFFILIATED was added to enum EnterpriseUserAccountMembershipRole

", + "

Field updateOrganizationWebCommitSignoffSetting was added to object type Mutation

", + "

Field updateRepositoryWebCommitSignoffSetting was added to object type Mutation

", + "

Field webCommitSignoffRequired was added to object type Organization

", + "

Enum value TRACKS was added to enum ProjectNextFieldType

", + "

Enum value TASKS (deprecated) was removed from enum ProjectNextFieldType

", + "

Enum value TRACKS was added to enum 'ProjectV2FieldType'

", + "

Enum value TASKS was removed from enum 'ProjectV2FieldType'

", + "

Field webCommitSignoffRequired was added to object type Repository

", + "

Field dismissComment was added to object type RepositoryVulnerabilityAlert

", + "

Input field lockSource was added to input object type StartRepositoryMigrationInput

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [ + { + "title": "The following changes will be made to the schema:", + "changes": [ + "

On member ProjectNextFieldType.TRACKS:TRACKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement. Effective 2022-10-01.

" + ] + } + ], + "date": "2022-08-19" + }, { "schemaChanges": [ { diff --git a/lib/graphql/static/schema-dotcom.json b/lib/graphql/static/schema-dotcom.json index 4fd8dd6f39..2a3796ad61 100644 --- a/lib/graphql/static/schema-dotcom.json +++ b/lib/graphql/static/schema-dotcom.json @@ -5835,7 +5835,7 @@ "kind": "mutations", "id": "updatebranchprotectionrule", "href": "/graphql/reference/mutations#updatebranchprotectionrule", - "description": "

Create a new branch protection rule.

", + "description": "

Update a branch protection rule.

", "inputFields": [ { "name": "input", @@ -7028,6 +7028,48 @@ } ] }, + { + "name": "updateOrganizationWebCommitSignoffSetting", + "kind": "mutations", + "id": "updateorganizationwebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updateorganizationwebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for repositories in an organization.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateOrganizationWebCommitSignoffSettingInput!", + "id": "updateorganizationwebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "organization", + "type": "Organization", + "id": "organization", + "kind": "objects", + "href": "/graphql/reference/objects#organization", + "description": "

The organization with the updated web commit signoff setting.

" + } + ] + }, { "name": "updateProject", "kind": "mutations", @@ -7632,6 +7674,48 @@ } ] }, + { + "name": "updateRepositoryWebCommitSignoffSetting", + "kind": "mutations", + "id": "updaterepositorywebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updaterepositorywebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for a repository.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateRepositoryWebCommitSignoffSettingInput!", + "id": "updaterepositorywebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "

The updated repository.

" + } + ] + }, { "name": "updateSponsorshipPreferences", "kind": "mutations", @@ -37140,6 +37224,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits for repositories in this organization.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "websiteUrl", "description": "

The organization's public profile URL.

", @@ -57247,6 +57339,14 @@ } } ] + }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits in this repository.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" } ] }, @@ -58363,6 +58463,14 @@ "kind": "enums", "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope" }, + { + "name": "dismissComment", + "description": "

Comment explaining the reason the alert was dismissed.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "dismissReason", "description": "

The reason the alert was dismissed.

", @@ -62532,7 +62640,7 @@ }, { "name": "query", - "description": "

The search string to look for.

", + "description": "

The search string to look for. Repositories will be returned where the name contains your search string.

", "type": { "name": "String", "id": "string", @@ -74113,6 +74221,10 @@ { "name": "OWNER", "description": "

The user is an owner of an organization in the enterprise.

" + }, + { + "name": "UNAFFILIATED", + "description": "

The user is not an owner of the enterprise, and not a member or owner of any\norganizations in the enterprise; only for EMU-enabled enterprises.

" } ] }, @@ -75657,10 +75769,6 @@ "name": "SINGLE_SELECT", "description": "

Single Select.

" }, - { - "name": "TASKS", - "description": "

Tasks.

" - }, { "name": "TEXT", "description": "

Text.

" @@ -75668,6 +75776,10 @@ { "name": "TITLE", "description": "

Title.

" + }, + { + "name": "TRACKS", + "description": "

Tracks.

" } ] }, @@ -75827,10 +75939,6 @@ "name": "SINGLE_SELECT", "description": "

Single Select.

" }, - { - "name": "TASKS", - "description": "

Tasks.

" - }, { "name": "TEXT", "description": "

Text.

" @@ -75838,6 +75946,10 @@ { "name": "TITLE", "description": "

Title.

" + }, + { + "name": "TRACKS", + "description": "

Tracks.

" } ] }, @@ -81328,7 +81440,7 @@ "kind": "inputObjects", "id": "committablebranch", "href": "/graphql/reference/input-objects#committablebranch", - "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepository nameWithOwner and branch name.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using nameWithOwner and branch name:

\n
{\n  \"nameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", + "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepositoryNameWithOwner and branchName.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using repositoryNameWithOwner and branchName:

\n
{\n  \"repositoryNameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", "inputFields": [ { "name": "branchName", @@ -83938,7 +84050,7 @@ }, { "name": "mergeMethod", - "description": "

The merge method to use. If omitted, defaults to 'MERGE'.

", + "description": "

The merge method to use. If omitted, defaults to MERGE.

", "type": "PullRequestMergeMethod", "id": "pullrequestmergemethod", "kind": "enums", @@ -86889,6 +87001,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "lockSource", + "description": "

Whether to lock the source repository.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "metadataArchiveUrl", "description": "

The signed URL to access the user-uploaded metadata archive.

", @@ -88964,6 +89084,40 @@ } ] }, + { + "name": "UpdateOrganizationWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updateorganizationwebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "organizationId", + "description": "

The ID of the organization on which to set the web commit signoff setting.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Enable signoff on web-based commits for repositories in the organization?.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateProjectCardInput", "kind": "inputObjects", @@ -89857,6 +90011,40 @@ } ] }, + { + "name": "UpdateRepositoryWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updaterepositorywebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryId", + "description": "

The ID of the repository to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Indicates if the repository should require signoff on web-based commits.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateSponsorshipPreferencesInput", "kind": "inputObjects", diff --git a/lib/graphql/static/schema-ghae.json b/lib/graphql/static/schema-ghae.json index c5c9da5b46..8d37681935 100644 --- a/lib/graphql/static/schema-ghae.json +++ b/lib/graphql/static/schema-ghae.json @@ -4546,7 +4546,7 @@ "kind": "mutations", "id": "updatebranchprotectionrule", "href": "/graphql/reference/mutations#updatebranchprotectionrule", - "description": "

Create a new branch protection rule.

", + "description": "

Update a branch protection rule.

", "inputFields": [ { "name": "input", @@ -5671,6 +5671,48 @@ } ] }, + { + "name": "updateOrganizationWebCommitSignoffSetting", + "kind": "mutations", + "id": "updateorganizationwebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updateorganizationwebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for repositories in an organization.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateOrganizationWebCommitSignoffSettingInput!", + "id": "updateorganizationwebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "organization", + "type": "Organization", + "id": "organization", + "kind": "objects", + "href": "/graphql/reference/objects#organization", + "description": "

The organization with the updated web commit signoff setting.

" + } + ] + }, { "name": "updateProject", "kind": "mutations", @@ -6027,6 +6069,48 @@ } ] }, + { + "name": "updateRepositoryWebCommitSignoffSetting", + "kind": "mutations", + "id": "updaterepositorywebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updaterepositorywebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for a repository.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateRepositoryWebCommitSignoffSettingInput!", + "id": "updaterepositorywebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "

The updated repository.

" + } + ] + }, { "name": "updateSubscription", "kind": "mutations", @@ -32090,6 +32174,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits for repositories in this organization.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "websiteUrl", "description": "

The organization's public profile URL.

", @@ -47163,6 +47255,14 @@ } } ] + }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits in this repository.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" } ] }, @@ -48246,6 +48346,14 @@ "kind": "enums", "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope" }, + { + "name": "dismissComment", + "description": "

Comment explaining the reason the alert was dismissed.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "dismissReason", "description": "

The reason the alert was dismissed.

", @@ -51277,7 +51385,7 @@ }, { "name": "query", - "description": "

The search string to look for.

", + "description": "

The search string to look for. Repositories will be returned where the name contains your search string.

", "type": { "name": "String", "id": "string", @@ -66430,7 +66538,7 @@ "kind": "inputObjects", "id": "committablebranch", "href": "/graphql/reference/input-objects#committablebranch", - "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepository nameWithOwner and branch name.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using nameWithOwner and branch name:

\n
{\n  \"nameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", + "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepositoryNameWithOwner and branchName.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using repositoryNameWithOwner and branchName:

\n
{\n  \"repositoryNameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", "inputFields": [ { "name": "branchName", @@ -68626,7 +68734,7 @@ }, { "name": "mergeMethod", - "description": "

The merge method to use. If omitted, defaults to 'MERGE'.

", + "description": "

The merge method to use. If omitted, defaults to MERGE.

", "type": "PullRequestMergeMethod", "id": "pullrequestmergemethod", "kind": "enums", @@ -70681,6 +70789,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "lockSource", + "description": "

Whether to lock the source repository.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "metadataArchiveUrl", "description": "

The signed URL to access the user-uploaded metadata archive.

", @@ -72680,6 +72796,40 @@ } ] }, + { + "name": "UpdateOrganizationWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updateorganizationwebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "organizationId", + "description": "

The ID of the organization on which to set the web commit signoff setting.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Enable signoff on web-based commits for repositories in the organization?.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateProjectCardInput", "kind": "inputObjects", @@ -73191,6 +73341,40 @@ } ] }, + { + "name": "UpdateRepositoryWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updaterepositorywebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryId", + "description": "

The ID of the repository to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Indicates if the repository should require signoff on web-based commits.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateSubscriptionInput", "kind": "inputObjects", diff --git a/lib/graphql/static/schema-ghec.json b/lib/graphql/static/schema-ghec.json index 4fd8dd6f39..2a3796ad61 100644 --- a/lib/graphql/static/schema-ghec.json +++ b/lib/graphql/static/schema-ghec.json @@ -5835,7 +5835,7 @@ "kind": "mutations", "id": "updatebranchprotectionrule", "href": "/graphql/reference/mutations#updatebranchprotectionrule", - "description": "

Create a new branch protection rule.

", + "description": "

Update a branch protection rule.

", "inputFields": [ { "name": "input", @@ -7028,6 +7028,48 @@ } ] }, + { + "name": "updateOrganizationWebCommitSignoffSetting", + "kind": "mutations", + "id": "updateorganizationwebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updateorganizationwebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for repositories in an organization.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateOrganizationWebCommitSignoffSettingInput!", + "id": "updateorganizationwebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "organization", + "type": "Organization", + "id": "organization", + "kind": "objects", + "href": "/graphql/reference/objects#organization", + "description": "

The organization with the updated web commit signoff setting.

" + } + ] + }, { "name": "updateProject", "kind": "mutations", @@ -7632,6 +7674,48 @@ } ] }, + { + "name": "updateRepositoryWebCommitSignoffSetting", + "kind": "mutations", + "id": "updaterepositorywebcommitsignoffsetting", + "href": "/graphql/reference/mutations#updaterepositorywebcommitsignoffsetting", + "description": "

Sets whether contributors are required to sign off on web-based commits for a repository.

", + "inputFields": [ + { + "name": "input", + "type": "UpdateRepositoryWebCommitSignoffSettingInput!", + "id": "updaterepositorywebcommitsignoffsettinginput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput" + } + ], + "returnFields": [ + { + "name": "clientMutationId", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A unique identifier for the client performing the mutation.

" + }, + { + "name": "message", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string", + "description": "

A message confirming the result of updating the web commit signoff setting.

" + }, + { + "name": "repository", + "type": "Repository", + "id": "repository", + "kind": "objects", + "href": "/graphql/reference/objects#repository", + "description": "

The updated repository.

" + } + ] + }, { "name": "updateSponsorshipPreferences", "kind": "mutations", @@ -37140,6 +37224,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits for repositories in this organization.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "websiteUrl", "description": "

The organization's public profile URL.

", @@ -57247,6 +57339,14 @@ } } ] + }, + { + "name": "webCommitSignoffRequired", + "description": "

Whether contributors are required to sign off on web-based commits in this repository.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" } ] }, @@ -58363,6 +58463,14 @@ "kind": "enums", "href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope" }, + { + "name": "dismissComment", + "description": "

Comment explaining the reason the alert was dismissed.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "dismissReason", "description": "

The reason the alert was dismissed.

", @@ -62532,7 +62640,7 @@ }, { "name": "query", - "description": "

The search string to look for.

", + "description": "

The search string to look for. Repositories will be returned where the name contains your search string.

", "type": { "name": "String", "id": "string", @@ -74113,6 +74221,10 @@ { "name": "OWNER", "description": "

The user is an owner of an organization in the enterprise.

" + }, + { + "name": "UNAFFILIATED", + "description": "

The user is not an owner of the enterprise, and not a member or owner of any\norganizations in the enterprise; only for EMU-enabled enterprises.

" } ] }, @@ -75657,10 +75769,6 @@ "name": "SINGLE_SELECT", "description": "

Single Select.

" }, - { - "name": "TASKS", - "description": "

Tasks.

" - }, { "name": "TEXT", "description": "

Text.

" @@ -75668,6 +75776,10 @@ { "name": "TITLE", "description": "

Title.

" + }, + { + "name": "TRACKS", + "description": "

Tracks.

" } ] }, @@ -75827,10 +75939,6 @@ "name": "SINGLE_SELECT", "description": "

Single Select.

" }, - { - "name": "TASKS", - "description": "

Tasks.

" - }, { "name": "TEXT", "description": "

Text.

" @@ -75838,6 +75946,10 @@ { "name": "TITLE", "description": "

Title.

" + }, + { + "name": "TRACKS", + "description": "

Tracks.

" } ] }, @@ -81328,7 +81440,7 @@ "kind": "inputObjects", "id": "committablebranch", "href": "/graphql/reference/input-objects#committablebranch", - "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepository nameWithOwner and branch name.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using nameWithOwner and branch name:

\n
{\n  \"nameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", + "description": "

A git ref for a commit to be appended to.

\n

The ref must be a branch, i.e. its fully qualified name must start\nwith refs/heads/ (although the input is not required to be fully\nqualified).

\n

The Ref may be specified by its global node ID or by the\nrepositoryNameWithOwner and branchName.

\n

Examples

\n

Specify a branch using a global node ID:

\n
{ \"id\": \"MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=\" }\n
\n

Specify a branch using repositoryNameWithOwner and branchName:

\n
{\n  \"repositoryNameWithOwner\": \"github/graphql-client\",\n  \"branchName\": \"main\"\n}.\n
", "inputFields": [ { "name": "branchName", @@ -83938,7 +84050,7 @@ }, { "name": "mergeMethod", - "description": "

The merge method to use. If omitted, defaults to 'MERGE'.

", + "description": "

The merge method to use. If omitted, defaults to MERGE.

", "type": "PullRequestMergeMethod", "id": "pullrequestmergemethod", "kind": "enums", @@ -86889,6 +87001,14 @@ "kind": "scalars", "href": "/graphql/reference/scalars#string" }, + { + "name": "lockSource", + "description": "

Whether to lock the source repository.

", + "type": "Boolean", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + }, { "name": "metadataArchiveUrl", "description": "

The signed URL to access the user-uploaded metadata archive.

", @@ -88964,6 +89084,40 @@ } ] }, + { + "name": "UpdateOrganizationWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updateorganizationwebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updateorganizationwebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "organizationId", + "description": "

The ID of the organization on which to set the web commit signoff setting.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Enable signoff on web-based commits for repositories in the organization?.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateProjectCardInput", "kind": "inputObjects", @@ -89857,6 +90011,40 @@ } ] }, + { + "name": "UpdateRepositoryWebCommitSignoffSettingInput", + "kind": "inputObjects", + "id": "updaterepositorywebcommitsignoffsettinginput", + "href": "/graphql/reference/input-objects#updaterepositorywebcommitsignoffsettinginput", + "description": "

Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting.

", + "inputFields": [ + { + "name": "clientMutationId", + "description": "

A unique identifier for the client performing the mutation.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "repositoryId", + "description": "

The ID of the repository to update.

", + "type": "ID!", + "id": "id", + "kind": "scalars", + "href": "/graphql/reference/scalars#id", + "isDeprecated": false + }, + { + "name": "webCommitSignoffRequired", + "description": "

Indicates if the repository should require signoff on web-based commits.

", + "type": "Boolean!", + "id": "boolean", + "kind": "scalars", + "href": "/graphql/reference/scalars#boolean" + } + ] + }, { "name": "UpdateSponsorshipPreferencesInput", "kind": "inputObjects", diff --git a/lib/graphql/static/upcoming-changes.json b/lib/graphql/static/upcoming-changes.json index b1cbc1686e..adb90ab1d9 100644 --- a/lib/graphql/static/upcoming-changes.json +++ b/lib/graphql/static/upcoming-changes.json @@ -729,6 +729,14 @@ "criticality": "breaking", "owner": "lukewar" }, + { + "location": "ProjectNextFieldType.TRACKS", + "description": "

TRACKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", + "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "lukewar" + }, { "location": "ProjectNextFieldType.TITLE", "description": "

TITLE will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", @@ -745,14 +753,6 @@ "criticality": "breaking", "owner": "lukewar" }, - { - "location": "ProjectNextFieldType.TASKS", - "description": "

TASKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", - "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", - "date": "2022-10-01", - "criticality": "breaking", - "owner": "lukewar" - }, { "location": "ProjectNextFieldType.SINGLE_SELECT", "description": "

SINGLE_SELECT will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", @@ -2159,6 +2159,14 @@ "criticality": "breaking", "owner": "lukewar" }, + { + "location": "ProjectNextFieldType.TRACKS", + "description": "

TRACKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", + "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "lukewar" + }, { "location": "ProjectNextFieldType.TITLE", "description": "

TITLE will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", @@ -2175,14 +2183,6 @@ "criticality": "breaking", "owner": "lukewar" }, - { - "location": "ProjectNextFieldType.TASKS", - "description": "

TASKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", - "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", - "date": "2022-10-01", - "criticality": "breaking", - "owner": "lukewar" - }, { "location": "ProjectNextFieldType.SINGLE_SELECT", "description": "

SINGLE_SELECT will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", @@ -3599,6 +3599,14 @@ "criticality": "breaking", "owner": "jhunschejones" }, + { + "location": "ProjectNextFieldType.TRACKS", + "description": "

TRACKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", + "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "lukewar" + }, { "location": "ProjectNextFieldType.TITLE", "description": "

TITLE will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", @@ -3615,14 +3623,6 @@ "criticality": "breaking", "owner": "lukewar" }, - { - "location": "ProjectNextFieldType.TASKS", - "description": "

TASKS will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

", - "reason": "

The ProjectNext API is deprecated in favour of the more capable ProjectV2 API.

", - "date": "2022-10-01", - "criticality": "breaking", - "owner": "lukewar" - }, { "location": "ProjectNextFieldType.SINGLE_SELECT", "description": "

SINGLE_SELECT will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.

",