github-schema 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7699,6 +7699,31 @@ enum CopilotCodeReviewEffort {
7699
7699
  MAX
7700
7700
  }
7701
7701
 
7702
+ """
7703
+ A Copilot code review effort level. For more information, see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
7704
+ """
7705
+ enum CopilotCodeReviewEffortLevel {
7706
+ """
7707
+ Copilot picks the effort for each pull request.
7708
+ """
7709
+ AUTO
7710
+
7711
+ """
7712
+ Balanced effort and depth.
7713
+ """
7714
+ BALANCED
7715
+
7716
+ """
7717
+ Lower effort, faster review.
7718
+ """
7719
+ LITE
7720
+
7721
+ """
7722
+ Highest effort, deepest review.
7723
+ """
7724
+ MAX
7725
+ }
7726
+
7702
7727
  """
7703
7728
  Request Copilot code review for new pull requests automatically if the author
7704
7729
  has access to Copilot code review and AI credits.
@@ -7766,6 +7791,96 @@ enum CopilotCodeReviewRequestReason {
7766
7791
  REQUEST_CONFLICT
7767
7792
  }
7768
7793
 
7794
+ """
7795
+ Which configuration an organization's Copilot code review runner values come from.
7796
+ """
7797
+ enum CopilotCodeReviewRunnerConfiguredBy {
7798
+ """
7799
+ The organization has saved a Copilot code review runner configuration.
7800
+ """
7801
+ CODE_REVIEW
7802
+
7803
+ """
7804
+ The values are inherited from the organization's Copilot coding agent runner configuration.
7805
+ """
7806
+ CODING_AGENT
7807
+ }
7808
+
7809
+ """
7810
+ The type of runner Copilot code review uses.
7811
+ """
7812
+ enum CopilotCodeReviewRunnerType {
7813
+ """
7814
+ Runners that match the configured labels or runner group.
7815
+ """
7816
+ LABELED
7817
+
7818
+ """
7819
+ Standard GitHub-hosted runners.
7820
+ """
7821
+ STANDARD
7822
+ }
7823
+
7824
+ """
7825
+ Which review comment severities Copilot code review leaves out.
7826
+ """
7827
+ enum CopilotCodeReviewSeverityFilter {
7828
+ """
7829
+ Leave out low-severity comments.
7830
+ """
7831
+ LOW
7832
+
7833
+ """
7834
+ Leave out low- and medium-severity comments.
7835
+ """
7836
+ LOW_AND_MEDIUM
7837
+
7838
+ """
7839
+ Keep every comment.
7840
+ """
7841
+ NO_FILTER
7842
+ }
7843
+
7844
+ """
7845
+ A validated source reported as contributing to a Copilot code review comment.
7846
+ """
7847
+ type CopilotCodeReviewSource {
7848
+ """
7849
+ The kind of contributing source.
7850
+ """
7851
+ kind: CopilotCodeReviewSourceKind!
7852
+
7853
+ """
7854
+ The reported source name, or "custom instructions" for CUSTOM_INSTRUCTIONS.
7855
+ """
7856
+ name: String!
7857
+
7858
+ """
7859
+ The validated repository-relative source path, if available. Commit OIDs are not exposed.
7860
+ """
7861
+ path: String
7862
+ }
7863
+
7864
+ """
7865
+ The kind of source reported as contributing to a Copilot code review comment.
7866
+ """
7867
+ enum CopilotCodeReviewSourceKind {
7868
+ """
7869
+ Custom instructions.
7870
+ """
7871
+ CUSTOM_INSTRUCTIONS
7872
+
7873
+ """
7874
+ An MCP server.
7875
+ """
7876
+ MCP
7877
+
7878
+ """
7879
+ A skill.
7880
+ """
7881
+ SKILL
7882
+ }
7883
+
7769
7884
  """
7770
7885
  Copilot endpoint information
7771
7886
  """
@@ -14206,6 +14321,11 @@ type Enterprise implements Node {
14206
14321
  """
14207
14322
  billingInfo: EnterpriseBillingInfo
14208
14323
 
14324
+ """
14325
+ The configured Copilot code review policy. Requires enterprise AI controls read permissions.
14326
+ """
14327
+ copilotCodeReviewPolicy: EnterpriseCopilotCodeReviewPolicy
14328
+
14209
14329
  """
14210
14330
  Identifies the date and time when the object was created.
14211
14331
  """
@@ -14906,6 +15026,36 @@ type EnterpriseConnection {
14906
15026
  totalCount: Int!
14907
15027
  }
14908
15028
 
15029
+ """
15030
+ The enterprise's configured Copilot code review policy, not a user's effective policy.
15031
+ """
15032
+ type EnterpriseCopilotCodeReviewPolicy {
15033
+ """
15034
+ The configured policy. Null if the enterprise has not configured a policy.
15035
+ """
15036
+ policyState: EnterpriseCopilotCodeReviewPolicyState
15037
+ }
15038
+
15039
+ """
15040
+ The configured Copilot code review policy for an enterprise.
15041
+ """
15042
+ enum EnterpriseCopilotCodeReviewPolicyState {
15043
+ """
15044
+ Organization administrators configure Copilot code review. Not supported for standalone enterprises.
15045
+ """
15046
+ CONFIGURED_BY_ORGANIZATION_ADMINS
15047
+
15048
+ """
15049
+ Copilot code review is disabled for all organizations.
15050
+ """
15051
+ DISABLED_FOR_ALL_ORGANIZATIONS
15052
+
15053
+ """
15054
+ Copilot code review is enabled for all organizations.
15055
+ """
15056
+ ENABLED_FOR_ALL_ORGANIZATIONS
15057
+ }
15058
+
14909
15059
  """
14910
15060
  The possible values for the enterprise base repository permission setting.
14911
15061
  """
@@ -29144,6 +29294,16 @@ type Mutation {
29144
29294
  input: UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput!
29145
29295
  ): UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
29146
29296
 
29297
+ """
29298
+ Updates an enterprise's Copilot code review policy using the existing policy propagation and notification behavior.
29299
+ """
29300
+ updateEnterpriseCopilotCodeReviewPolicy(
29301
+ """
29302
+ Parameters for UpdateEnterpriseCopilotCodeReviewPolicy
29303
+ """
29304
+ input: UpdateEnterpriseCopilotCodeReviewPolicyInput!
29305
+ ): UpdateEnterpriseCopilotCodeReviewPolicyPayload
29306
+
29147
29307
  """
29148
29308
  Sets the base repository permission for organizations in an enterprise.
29149
29309
  """
@@ -29444,6 +29604,38 @@ type Mutation {
29444
29604
  input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput!
29445
29605
  ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
29446
29606
 
29607
+ """
29608
+ Updates an organization's Copilot code review policy when the enterprise delegates control to organization administrators.
29609
+ """
29610
+ updateOrganizationCopilotCodeReviewPolicy(
29611
+ """
29612
+ Parameters for UpdateOrganizationCopilotCodeReviewPolicy
29613
+ """
29614
+ input: UpdateOrganizationCopilotCodeReviewPolicyInput!
29615
+ ): UpdateOrganizationCopilotCodeReviewPolicyPayload
29616
+
29617
+ """
29618
+ Sets the runner configuration that Copilot code review uses for an
29619
+ organization. A LABELED runner requires at least one label or a runner group.
29620
+ Invalid input does not change the configuration.
29621
+ """
29622
+ updateOrganizationCopilotCodeReviewRunnerConfiguration(
29623
+ """
29624
+ Parameters for UpdateOrganizationCopilotCodeReviewRunnerConfiguration
29625
+ """
29626
+ input: UpdateOrganizationCopilotCodeReviewRunnerConfigurationInput!
29627
+ ): UpdateOrganizationCopilotCodeReviewRunnerConfigurationPayload
29628
+
29629
+ """
29630
+ Updates an organization's Copilot code review settings. Omitted settings are not changed.
29631
+ """
29632
+ updateOrganizationCopilotCodeReviewSettings(
29633
+ """
29634
+ Parameters for UpdateOrganizationCopilotCodeReviewSettings
29635
+ """
29636
+ input: UpdateOrganizationCopilotCodeReviewSettingsInput!
29637
+ ): UpdateOrganizationCopilotCodeReviewSettingsPayload
29638
+
29447
29639
  """
29448
29640
  Sets whether contributors are required to sign off on web-based commits for repositories in an organization.
29449
29641
  """
@@ -29665,6 +29857,16 @@ type Mutation {
29665
29857
  input: UpdateRepositoryInput!
29666
29858
  ): UpdateRepositoryPayload
29667
29859
 
29860
+ """
29861
+ Updates a repository's Copilot code review settings. Omitted settings are not changed.
29862
+ """
29863
+ updateRepositoryCopilotCodeReviewSettings(
29864
+ """
29865
+ Parameters for UpdateRepositoryCopilotCodeReviewSettings
29866
+ """
29867
+ input: UpdateRepositoryCopilotCodeReviewSettingsInput!
29868
+ ): UpdateRepositoryCopilotCodeReviewSettingsPayload
29869
+
29668
29870
  """
29669
29871
  Update a repository custom property.
29670
29872
  """
@@ -33486,6 +33688,16 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
33486
33688
  size: Int
33487
33689
  ): URI!
33488
33690
 
33691
+ """
33692
+ The effective runner configuration that Copilot code review uses. Requires organization Copilot read permissions.
33693
+ """
33694
+ copilotCodeReviewRunnerConfiguration: OrganizationCopilotCodeReviewRunnerConfiguration
33695
+
33696
+ """
33697
+ The organization's Copilot code review settings. Requires organization Copilot read permissions.
33698
+ """
33699
+ copilotCodeReviewSettings: OrganizationCopilotCodeReviewSettings
33700
+
33489
33701
  """
33490
33702
  Identifies the date and time when the object was created.
33491
33703
  """
@@ -33948,6 +34160,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
33948
34160
  """
33949
34161
  organizationBillingEmail: String
33950
34162
 
34163
+ """
34164
+ The configured and effective Copilot code review policy. Requires organization Copilot read permissions.
34165
+ """
34166
+ organizationCopilotCodeReviewPolicy: OrganizationCopilotCodeReviewPolicy
34167
+
33951
34168
  """
33952
34169
  A list of packages under the owner.
33953
34170
  """
@@ -35105,6 +35322,191 @@ type OrganizationConnection {
35105
35322
  totalCount: Int!
35106
35323
  }
35107
35324
 
35325
+ """
35326
+ An organization's default Copilot code review effort.
35327
+ """
35328
+ type OrganizationCopilotCodeReviewDefaultEffort {
35329
+ """
35330
+ The effort stored for the organization. Null if the organization inherits the
35331
+ default or has stored an effort that is not currently available.
35332
+ """
35333
+ configured: CopilotCodeReviewEffortLevel
35334
+
35335
+ """
35336
+ Whether organization administrators can update the setting.
35337
+ """
35338
+ editable: Boolean!
35339
+
35340
+ """
35341
+ The effort that repositories without their own setting use. When that effort
35342
+ is not currently available, this reports the fallback effort instead.
35343
+ """
35344
+ effective: CopilotCodeReviewEffortLevel!
35345
+
35346
+ """
35347
+ The effort the organization inherits when it does not configure one: the
35348
+ enterprise default when one applies, otherwise GitHub's default.
35349
+ """
35350
+ githubDefault: CopilotCodeReviewEffortLevel!
35351
+
35352
+ """
35353
+ Whether the enterprise or the organization controls the setting.
35354
+ """
35355
+ managedBy: OrganizationCopilotCodeReviewPolicyManager!
35356
+ }
35357
+
35358
+ """
35359
+ The default Copilot code review effort to set for an organization. For more
35360
+ information, see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
35361
+ """
35362
+ enum OrganizationCopilotCodeReviewEffortSetting {
35363
+ """
35364
+ Copilot picks the effort for each pull request.
35365
+ """
35366
+ AUTO
35367
+
35368
+ """
35369
+ Balanced effort and depth.
35370
+ """
35371
+ BALANCED
35372
+
35373
+ """
35374
+ Clear the organization's value so repositories inherit the default.
35375
+ """
35376
+ INHERIT
35377
+
35378
+ """
35379
+ Lower effort, faster review.
35380
+ """
35381
+ LITE
35382
+
35383
+ """
35384
+ Highest effort, deepest review.
35385
+ """
35386
+ MAX
35387
+ }
35388
+
35389
+ """
35390
+ The organization's configured and effective Copilot code review policy.
35391
+ """
35392
+ type OrganizationCopilotCodeReviewPolicy {
35393
+ """
35394
+ The policy stored for the organization. Null if the organization has not configured a policy.
35395
+ """
35396
+ configuredState: OrganizationCopilotCodeReviewPolicyState
35397
+
35398
+ """
35399
+ Whether organization administrators can update the policy.
35400
+ """
35401
+ editable: Boolean!
35402
+
35403
+ """
35404
+ The policy that applies to the organization after enterprise policy is considered.
35405
+ """
35406
+ effectiveState: OrganizationCopilotCodeReviewPolicyState!
35407
+
35408
+ """
35409
+ Whether the enterprise or the organization controls the policy.
35410
+ """
35411
+ managedBy: OrganizationCopilotCodeReviewPolicyManager!
35412
+ }
35413
+
35414
+ """
35415
+ Why an organization's Copilot code review policy was not updated.
35416
+ """
35417
+ enum OrganizationCopilotCodeReviewPolicyConflict {
35418
+ """
35419
+ The enterprise policy controls the organization's policy.
35420
+ """
35421
+ POLICY_MANAGED_BY_ENTERPRISE
35422
+ }
35423
+
35424
+ """
35425
+ The scope that controls an organization's Copilot code review policy.
35426
+ """
35427
+ enum OrganizationCopilotCodeReviewPolicyManager {
35428
+ """
35429
+ The enterprise policy controls the organization's policy.
35430
+ """
35431
+ ENTERPRISE
35432
+
35433
+ """
35434
+ Organization administrators control the policy.
35435
+ """
35436
+ ORGANIZATION
35437
+ }
35438
+
35439
+ """
35440
+ The Copilot code review policy state for an organization.
35441
+ """
35442
+ enum OrganizationCopilotCodeReviewPolicyState {
35443
+ """
35444
+ Copilot code review is disabled.
35445
+ """
35446
+ DISABLED
35447
+
35448
+ """
35449
+ Copilot code review is enabled.
35450
+ """
35451
+ ENABLED
35452
+ }
35453
+
35454
+ """
35455
+ The effective runner configuration that Copilot code review uses for an organization.
35456
+ """
35457
+ type OrganizationCopilotCodeReviewRunnerConfiguration {
35458
+ """
35459
+ Whether repositories can use their own runner configuration.
35460
+ """
35461
+ allowRepositoryCustomization: Boolean!
35462
+
35463
+ """
35464
+ Which configuration the values come from. CODING_AGENT means they are
35465
+ inherited from the organization's Copilot coding agent runner configuration.
35466
+ """
35467
+ configuredBy: CopilotCodeReviewRunnerConfiguredBy!
35468
+
35469
+ """
35470
+ The runner group used for a labeled runner, if any.
35471
+ """
35472
+ runnerGroupName: String
35473
+
35474
+ """
35475
+ The runner labels used for a labeled runner.
35476
+ """
35477
+ runnerLabels: [String!]!
35478
+
35479
+ """
35480
+ The type of runner.
35481
+ """
35482
+ runnerType: CopilotCodeReviewRunnerType!
35483
+ }
35484
+
35485
+ """
35486
+ An organization's Copilot code review settings.
35487
+ """
35488
+ type OrganizationCopilotCodeReviewSettings {
35489
+ """
35490
+ The review efforts that can currently be set for this organization, in display order.
35491
+ """
35492
+ availableReviewEfforts: [CopilotCodeReviewEffortLevel!]!
35493
+
35494
+ """
35495
+ The default review effort for repositories that do not choose their own.
35496
+ """
35497
+ defaultReviewEffort: OrganizationCopilotCodeReviewDefaultEffort!
35498
+ }
35499
+
35500
+ """
35501
+ Why an organization's Copilot code review settings were not updated.
35502
+ """
35503
+ enum OrganizationCopilotCodeReviewSettingsConflict {
35504
+ """
35505
+ The organization cannot change a submitted setting.
35506
+ """
35507
+ SETTING_NOT_EDITABLE
35508
+ }
35509
+
35108
35510
  """
35109
35511
  An edge in a connection.
35110
35512
  """
@@ -43595,6 +43997,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43595
43997
  """
43596
43998
  commit: Commit
43597
43999
 
44000
+ """
44001
+ The persisted effective effort used to produce this Copilot code review, or null if unavailable.
44002
+ """
44003
+ copilotCodeReviewEffort: CopilotCodeReviewEffort
44004
+
43598
44005
  """
43599
44006
  Identifies the date and time when the object was created.
43600
44007
  """
@@ -43630,6 +44037,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43630
44037
  """
43631
44038
  includesCreatedEdit: Boolean!
43632
44039
 
44040
+ """
44041
+ Whether this review was produced by Copilot code review. Bot authorship alone does not establish provenance.
44042
+ """
44043
+ isCopilotCodeReview: Boolean!
44044
+
43633
44045
  """
43634
44046
  Returns whether or not a comment has been minimized.
43635
44047
  """
@@ -43848,6 +44260,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43848
44260
  """
43849
44261
  commit: Commit
43850
44262
 
44263
+ """
44264
+ Sources reported as contributing to this comment; may be incomplete.
44265
+ """
44266
+ copilotCodeReviewSources: [CopilotCodeReviewSource!]!
44267
+
43851
44268
  """
43852
44269
  Identifies when the comment was created.
43853
44270
  """
@@ -43893,6 +44310,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43893
44310
  """
43894
44311
  includesCreatedEdit: Boolean!
43895
44312
 
44313
+ """
44314
+ Whether this comment was produced by Copilot code review.
44315
+ """
44316
+ isCopilotCodeReview: Boolean!
44317
+
43896
44318
  """
43897
44319
  Returns whether or not a comment has been minimized.
43898
44320
  """
@@ -52282,6 +52704,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
52282
52704
  orderBy: ReleaseOrder
52283
52705
  ): ReleaseConnection!
52284
52706
 
52707
+ """
52708
+ The repository's Copilot code review settings. Requires repository administration access.
52709
+ """
52710
+ repositoryCopilotCodeReviewSettings: RepositoryCopilotCodeReviewSettings
52711
+
52285
52712
  """
52286
52713
  A custom property value for the repository.
52287
52714
  """
@@ -52937,6 +53364,85 @@ enum RepositoryContributionType {
52937
53364
  REPOSITORY
52938
53365
  }
52939
53366
 
53367
+ """
53368
+ A repository's Copilot code review effort.
53369
+ """
53370
+ type RepositoryCopilotCodeReviewEffort {
53371
+ """
53372
+ The effort stored for the repository. Null if the repository inherits its
53373
+ effort or has stored an effort that is not currently available.
53374
+ """
53375
+ configured: CopilotCodeReviewEffortLevel
53376
+
53377
+ """
53378
+ The effort reviews use when the requester and the pull request do not choose
53379
+ one. When that effort is not currently available, this reports the effort
53380
+ reviews would use without it.
53381
+ """
53382
+ effective: CopilotCodeReviewEffortLevel!
53383
+ }
53384
+
53385
+ """
53386
+ The Copilot code review effort to set for a repository. For more information,
53387
+ see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
53388
+ """
53389
+ enum RepositoryCopilotCodeReviewEffortSetting {
53390
+ """
53391
+ Copilot picks the effort for each pull request.
53392
+ """
53393
+ AUTO
53394
+
53395
+ """
53396
+ Balanced effort and depth.
53397
+ """
53398
+ BALANCED
53399
+
53400
+ """
53401
+ Clear the repository's value so it inherits the effort from its organization, enterprise, or GitHub's default.
53402
+ """
53403
+ INHERIT
53404
+
53405
+ """
53406
+ Lower effort, faster review.
53407
+ """
53408
+ LITE
53409
+
53410
+ """
53411
+ Highest effort, deepest review.
53412
+ """
53413
+ MAX
53414
+ }
53415
+
53416
+ """
53417
+ A repository's Copilot code review settings. These settings tune reviews; they do not enable Copilot code review.
53418
+ """
53419
+ type RepositoryCopilotCodeReviewSettings {
53420
+ """
53421
+ The review efforts that can currently be set for this repository, in display order.
53422
+ """
53423
+ availableReviewEfforts: [CopilotCodeReviewEffortLevel!]!
53424
+
53425
+ """
53426
+ Whether reviews use the repository's custom instructions.
53427
+ """
53428
+ customInstructionsEnabled: Boolean!
53429
+
53430
+ """
53431
+ Whether reviews can use MCP servers.
53432
+ """
53433
+ mcpEnabled: Boolean!
53434
+
53435
+ """
53436
+ The repository's review effort.
53437
+ """
53438
+ reviewEffort: RepositoryCopilotCodeReviewEffort!
53439
+
53440
+ """
53441
+ Which review comment severities Copilot code review leaves out.
53442
+ """
53443
+ severityFilter: CopilotCodeReviewSeverityFilter!
53444
+ }
53445
+
52940
53446
  """
52941
53447
  A repository custom property.
52942
53448
  """
@@ -65176,6 +65682,41 @@ type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload {
65176
65682
  message: String
65177
65683
  }
65178
65684
 
65685
+ """
65686
+ Autogenerated input type of UpdateEnterpriseCopilotCodeReviewPolicy
65687
+ """
65688
+ input UpdateEnterpriseCopilotCodeReviewPolicyInput {
65689
+ """
65690
+ A unique identifier for the client performing the mutation.
65691
+ """
65692
+ clientMutationId: String
65693
+
65694
+ """
65695
+ The ID of the enterprise whose policy to update.
65696
+ """
65697
+ enterpriseId: ID!
65698
+
65699
+ """
65700
+ The policy to set. Standalone enterprises cannot delegate to organization administrators.
65701
+ """
65702
+ policyState: EnterpriseCopilotCodeReviewPolicyState!
65703
+ }
65704
+
65705
+ """
65706
+ Autogenerated return type of UpdateEnterpriseCopilotCodeReviewPolicy.
65707
+ """
65708
+ type UpdateEnterpriseCopilotCodeReviewPolicyPayload {
65709
+ """
65710
+ A unique identifier for the client performing the mutation.
65711
+ """
65712
+ clientMutationId: String
65713
+
65714
+ """
65715
+ The updated enterprise policy.
65716
+ """
65717
+ policy: EnterpriseCopilotCodeReviewPolicy
65718
+ }
65719
+
65179
65720
  """
65180
65721
  Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting
65181
65722
  """
@@ -66487,6 +67028,136 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload {
66487
67028
  organization: Organization
66488
67029
  }
66489
67030
 
67031
+ """
67032
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewPolicy
67033
+ """
67034
+ input UpdateOrganizationCopilotCodeReviewPolicyInput {
67035
+ """
67036
+ A unique identifier for the client performing the mutation.
67037
+ """
67038
+ clientMutationId: String
67039
+
67040
+ """
67041
+ The ID of the organization whose policy to update.
67042
+ """
67043
+ organizationId: ID!
67044
+
67045
+ """
67046
+ The policy to set.
67047
+ """
67048
+ state: OrganizationCopilotCodeReviewPolicyState!
67049
+ }
67050
+
67051
+ """
67052
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewPolicy.
67053
+ """
67054
+ type UpdateOrganizationCopilotCodeReviewPolicyPayload {
67055
+ """
67056
+ A unique identifier for the client performing the mutation.
67057
+ """
67058
+ clientMutationId: String
67059
+
67060
+ """
67061
+ Why the policy was not updated. Null if the update succeeded.
67062
+ """
67063
+ conflict: OrganizationCopilotCodeReviewPolicyConflict
67064
+
67065
+ """
67066
+ The organization's current policy.
67067
+ """
67068
+ policy: OrganizationCopilotCodeReviewPolicy
67069
+ }
67070
+
67071
+ """
67072
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewRunnerConfiguration
67073
+ """
67074
+ input UpdateOrganizationCopilotCodeReviewRunnerConfigurationInput {
67075
+ """
67076
+ Whether repositories can use their own runner configuration. When omitted, the current effective value is kept.
67077
+ """
67078
+ allowRepositoryCustomization: Boolean
67079
+
67080
+ """
67081
+ A unique identifier for the client performing the mutation.
67082
+ """
67083
+ clientMutationId: String
67084
+
67085
+ """
67086
+ The ID of the organization whose runner configuration to set.
67087
+ """
67088
+ organizationId: ID!
67089
+
67090
+ """
67091
+ The runner group for a labeled runner.
67092
+ """
67093
+ runnerGroupName: String
67094
+
67095
+ """
67096
+ The runner labels for a labeled runner.
67097
+ """
67098
+ runnerLabels: [String!]
67099
+
67100
+ """
67101
+ The type of runner.
67102
+ """
67103
+ runnerType: CopilotCodeReviewRunnerType!
67104
+ }
67105
+
67106
+ """
67107
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewRunnerConfiguration.
67108
+ """
67109
+ type UpdateOrganizationCopilotCodeReviewRunnerConfigurationPayload {
67110
+ """
67111
+ A unique identifier for the client performing the mutation.
67112
+ """
67113
+ clientMutationId: String
67114
+
67115
+ """
67116
+ The organization's updated runner configuration.
67117
+ """
67118
+ runnerConfiguration: OrganizationCopilotCodeReviewRunnerConfiguration
67119
+ }
67120
+
67121
+ """
67122
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewSettings
67123
+ """
67124
+ input UpdateOrganizationCopilotCodeReviewSettingsInput {
67125
+ """
67126
+ A unique identifier for the client performing the mutation.
67127
+ """
67128
+ clientMutationId: String
67129
+
67130
+ """
67131
+ The default review effort for repositories that do not choose their own. INHERIT clears the organization's value.
67132
+ """
67133
+ defaultReviewEffort: OrganizationCopilotCodeReviewEffortSetting
67134
+
67135
+ """
67136
+ The ID of the organization whose settings to update.
67137
+ """
67138
+ organizationId: ID!
67139
+ }
67140
+
67141
+ """
67142
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewSettings.
67143
+ """
67144
+ type UpdateOrganizationCopilotCodeReviewSettingsPayload {
67145
+ """
67146
+ A unique identifier for the client performing the mutation.
67147
+ """
67148
+ clientMutationId: String
67149
+
67150
+ """
67151
+ Why the settings were not updated. Null if the update succeeded.
67152
+ """
67153
+ conflict: OrganizationCopilotCodeReviewSettingsConflict
67154
+
67155
+ """
67156
+ The organization's current settings.
67157
+ """
67158
+ settings: OrganizationCopilotCodeReviewSettings
67159
+ }
67160
+
66490
67161
  """
66491
67162
  Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting
66492
67163
  """
@@ -67386,6 +68057,56 @@ type UpdateRefsPayload {
67386
68057
  clientMutationId: String
67387
68058
  }
67388
68059
 
68060
+ """
68061
+ Autogenerated input type of UpdateRepositoryCopilotCodeReviewSettings
68062
+ """
68063
+ input UpdateRepositoryCopilotCodeReviewSettingsInput {
68064
+ """
68065
+ A unique identifier for the client performing the mutation.
68066
+ """
68067
+ clientMutationId: String
68068
+
68069
+ """
68070
+ Whether reviews use the repository's custom instructions.
68071
+ """
68072
+ customInstructionsEnabled: Boolean
68073
+
68074
+ """
68075
+ Whether reviews can use MCP servers.
68076
+ """
68077
+ mcpEnabled: Boolean
68078
+
68079
+ """
68080
+ The ID of the repository whose settings to update.
68081
+ """
68082
+ repositoryId: ID!
68083
+
68084
+ """
68085
+ The review effort for the repository. INHERIT clears the repository's value.
68086
+ """
68087
+ reviewEffort: RepositoryCopilotCodeReviewEffortSetting
68088
+
68089
+ """
68090
+ Which review comment severities Copilot code review leaves out.
68091
+ """
68092
+ severityFilter: CopilotCodeReviewSeverityFilter
68093
+ }
68094
+
68095
+ """
68096
+ Autogenerated return type of UpdateRepositoryCopilotCodeReviewSettings.
68097
+ """
68098
+ type UpdateRepositoryCopilotCodeReviewSettingsPayload {
68099
+ """
68100
+ A unique identifier for the client performing the mutation.
68101
+ """
68102
+ clientMutationId: String
68103
+
68104
+ """
68105
+ The repository's current settings.
68106
+ """
68107
+ settings: RepositoryCopilotCodeReviewSettings
68108
+ }
68109
+
67389
68110
  """
67390
68111
  Autogenerated input type of UpdateRepositoryCustomProperty
67391
68112
  """