github-schema 1.48.0 → 1.50.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
  """
@@ -34071,6 +34288,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
34071
34288
  Returns the last _n_ elements from the list.
34072
34289
  """
34073
34290
  last: Int
34291
+
34292
+ """
34293
+ The order in which to return pinned issue fields.
34294
+ """
34295
+ orderBy: PinnedIssueFieldOrder = {field: POSITION, direction: ASC}
34074
34296
  ): IssueFieldsConnection
34075
34297
 
34076
34298
  """
@@ -35105,6 +35327,191 @@ type OrganizationConnection {
35105
35327
  totalCount: Int!
35106
35328
  }
35107
35329
 
35330
+ """
35331
+ An organization's default Copilot code review effort.
35332
+ """
35333
+ type OrganizationCopilotCodeReviewDefaultEffort {
35334
+ """
35335
+ The effort stored for the organization. Null if the organization inherits the
35336
+ default or has stored an effort that is not currently available.
35337
+ """
35338
+ configured: CopilotCodeReviewEffortLevel
35339
+
35340
+ """
35341
+ Whether organization administrators can update the setting.
35342
+ """
35343
+ editable: Boolean!
35344
+
35345
+ """
35346
+ The effort that repositories without their own setting use. When that effort
35347
+ is not currently available, this reports the fallback effort instead.
35348
+ """
35349
+ effective: CopilotCodeReviewEffortLevel!
35350
+
35351
+ """
35352
+ The effort the organization inherits when it does not configure one: the
35353
+ enterprise default when one applies, otherwise GitHub's default.
35354
+ """
35355
+ githubDefault: CopilotCodeReviewEffortLevel!
35356
+
35357
+ """
35358
+ Whether the enterprise or the organization controls the setting.
35359
+ """
35360
+ managedBy: OrganizationCopilotCodeReviewPolicyManager!
35361
+ }
35362
+
35363
+ """
35364
+ The default Copilot code review effort to set for an organization. For more
35365
+ information, see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
35366
+ """
35367
+ enum OrganizationCopilotCodeReviewEffortSetting {
35368
+ """
35369
+ Copilot picks the effort for each pull request.
35370
+ """
35371
+ AUTO
35372
+
35373
+ """
35374
+ Balanced effort and depth.
35375
+ """
35376
+ BALANCED
35377
+
35378
+ """
35379
+ Clear the organization's value so repositories inherit the default.
35380
+ """
35381
+ INHERIT
35382
+
35383
+ """
35384
+ Lower effort, faster review.
35385
+ """
35386
+ LITE
35387
+
35388
+ """
35389
+ Highest effort, deepest review.
35390
+ """
35391
+ MAX
35392
+ }
35393
+
35394
+ """
35395
+ The organization's configured and effective Copilot code review policy.
35396
+ """
35397
+ type OrganizationCopilotCodeReviewPolicy {
35398
+ """
35399
+ The policy stored for the organization. Null if the organization has not configured a policy.
35400
+ """
35401
+ configuredState: OrganizationCopilotCodeReviewPolicyState
35402
+
35403
+ """
35404
+ Whether organization administrators can update the policy.
35405
+ """
35406
+ editable: Boolean!
35407
+
35408
+ """
35409
+ The policy that applies to the organization after enterprise policy is considered.
35410
+ """
35411
+ effectiveState: OrganizationCopilotCodeReviewPolicyState!
35412
+
35413
+ """
35414
+ Whether the enterprise or the organization controls the policy.
35415
+ """
35416
+ managedBy: OrganizationCopilotCodeReviewPolicyManager!
35417
+ }
35418
+
35419
+ """
35420
+ Why an organization's Copilot code review policy was not updated.
35421
+ """
35422
+ enum OrganizationCopilotCodeReviewPolicyConflict {
35423
+ """
35424
+ The enterprise policy controls the organization's policy.
35425
+ """
35426
+ POLICY_MANAGED_BY_ENTERPRISE
35427
+ }
35428
+
35429
+ """
35430
+ The scope that controls an organization's Copilot code review policy.
35431
+ """
35432
+ enum OrganizationCopilotCodeReviewPolicyManager {
35433
+ """
35434
+ The enterprise policy controls the organization's policy.
35435
+ """
35436
+ ENTERPRISE
35437
+
35438
+ """
35439
+ Organization administrators control the policy.
35440
+ """
35441
+ ORGANIZATION
35442
+ }
35443
+
35444
+ """
35445
+ The Copilot code review policy state for an organization.
35446
+ """
35447
+ enum OrganizationCopilotCodeReviewPolicyState {
35448
+ """
35449
+ Copilot code review is disabled.
35450
+ """
35451
+ DISABLED
35452
+
35453
+ """
35454
+ Copilot code review is enabled.
35455
+ """
35456
+ ENABLED
35457
+ }
35458
+
35459
+ """
35460
+ The effective runner configuration that Copilot code review uses for an organization.
35461
+ """
35462
+ type OrganizationCopilotCodeReviewRunnerConfiguration {
35463
+ """
35464
+ Whether repositories can use their own runner configuration.
35465
+ """
35466
+ allowRepositoryCustomization: Boolean!
35467
+
35468
+ """
35469
+ Which configuration the values come from. CODING_AGENT means they are
35470
+ inherited from the organization's Copilot coding agent runner configuration.
35471
+ """
35472
+ configuredBy: CopilotCodeReviewRunnerConfiguredBy!
35473
+
35474
+ """
35475
+ The runner group used for a labeled runner, if any.
35476
+ """
35477
+ runnerGroupName: String
35478
+
35479
+ """
35480
+ The runner labels used for a labeled runner.
35481
+ """
35482
+ runnerLabels: [String!]!
35483
+
35484
+ """
35485
+ The type of runner.
35486
+ """
35487
+ runnerType: CopilotCodeReviewRunnerType!
35488
+ }
35489
+
35490
+ """
35491
+ An organization's Copilot code review settings.
35492
+ """
35493
+ type OrganizationCopilotCodeReviewSettings {
35494
+ """
35495
+ The review efforts that can currently be set for this organization, in display order.
35496
+ """
35497
+ availableReviewEfforts: [CopilotCodeReviewEffortLevel!]!
35498
+
35499
+ """
35500
+ The default review effort for repositories that do not choose their own.
35501
+ """
35502
+ defaultReviewEffort: OrganizationCopilotCodeReviewDefaultEffort!
35503
+ }
35504
+
35505
+ """
35506
+ Why an organization's Copilot code review settings were not updated.
35507
+ """
35508
+ enum OrganizationCopilotCodeReviewSettingsConflict {
35509
+ """
35510
+ The organization cannot change a submitted setting.
35511
+ """
35512
+ SETTING_NOT_EDITABLE
35513
+ }
35514
+
35108
35515
  """
35109
35516
  An edge in a connection.
35110
35517
  """
@@ -37354,6 +37761,31 @@ type PinnedIssueEdge {
37354
37761
  node: PinnedIssue
37355
37762
  }
37356
37763
 
37764
+ """
37765
+ Ordering options for pinned issue field connections.
37766
+ """
37767
+ input PinnedIssueFieldOrder {
37768
+ """
37769
+ The ordering direction.
37770
+ """
37771
+ direction: OrderDirection!
37772
+
37773
+ """
37774
+ The field to order pinned issue fields by.
37775
+ """
37776
+ field: PinnedIssueFieldOrderField!
37777
+ }
37778
+
37779
+ """
37780
+ Properties by which pinned issue fields can be ordered.
37781
+ """
37782
+ enum PinnedIssueFieldOrderField {
37783
+ """
37784
+ Order pinned issue fields by their configured pinned position.
37785
+ """
37786
+ POSITION
37787
+ }
37788
+
37357
37789
  """
37358
37790
  An ISO-8601 encoded UTC date string with millisecond precision.
37359
37791
  """
@@ -43595,6 +44027,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43595
44027
  """
43596
44028
  commit: Commit
43597
44029
 
44030
+ """
44031
+ The persisted effective effort used to produce this Copilot code review, or null if unavailable.
44032
+ """
44033
+ copilotCodeReviewEffort: CopilotCodeReviewEffort
44034
+
43598
44035
  """
43599
44036
  Identifies the date and time when the object was created.
43600
44037
  """
@@ -43630,6 +44067,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43630
44067
  """
43631
44068
  includesCreatedEdit: Boolean!
43632
44069
 
44070
+ """
44071
+ Whether this review was produced by Copilot code review. Bot authorship alone does not establish provenance.
44072
+ """
44073
+ isCopilotCodeReview: Boolean!
44074
+
43633
44075
  """
43634
44076
  Returns whether or not a comment has been minimized.
43635
44077
  """
@@ -43848,6 +44290,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43848
44290
  """
43849
44291
  commit: Commit
43850
44292
 
44293
+ """
44294
+ Sources reported as contributing to this comment; may be incomplete.
44295
+ """
44296
+ copilotCodeReviewSources: [CopilotCodeReviewSource!]!
44297
+
43851
44298
  """
43852
44299
  Identifies when the comment was created.
43853
44300
  """
@@ -43893,6 +44340,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43893
44340
  """
43894
44341
  includesCreatedEdit: Boolean!
43895
44342
 
44343
+ """
44344
+ Whether this comment was produced by Copilot code review.
44345
+ """
44346
+ isCopilotCodeReview: Boolean!
44347
+
43896
44348
  """
43897
44349
  Returns whether or not a comment has been minimized.
43898
44350
  """
@@ -52282,6 +52734,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
52282
52734
  orderBy: ReleaseOrder
52283
52735
  ): ReleaseConnection!
52284
52736
 
52737
+ """
52738
+ The repository's Copilot code review settings. Requires repository administration access.
52739
+ """
52740
+ repositoryCopilotCodeReviewSettings: RepositoryCopilotCodeReviewSettings
52741
+
52285
52742
  """
52286
52743
  A custom property value for the repository.
52287
52744
  """
@@ -52937,6 +53394,85 @@ enum RepositoryContributionType {
52937
53394
  REPOSITORY
52938
53395
  }
52939
53396
 
53397
+ """
53398
+ A repository's Copilot code review effort.
53399
+ """
53400
+ type RepositoryCopilotCodeReviewEffort {
53401
+ """
53402
+ The effort stored for the repository. Null if the repository inherits its
53403
+ effort or has stored an effort that is not currently available.
53404
+ """
53405
+ configured: CopilotCodeReviewEffortLevel
53406
+
53407
+ """
53408
+ The effort reviews use when the requester and the pull request do not choose
53409
+ one. When that effort is not currently available, this reports the effort
53410
+ reviews would use without it.
53411
+ """
53412
+ effective: CopilotCodeReviewEffortLevel!
53413
+ }
53414
+
53415
+ """
53416
+ The Copilot code review effort to set for a repository. For more information,
53417
+ see [Review effort level](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#review-effort-level).
53418
+ """
53419
+ enum RepositoryCopilotCodeReviewEffortSetting {
53420
+ """
53421
+ Copilot picks the effort for each pull request.
53422
+ """
53423
+ AUTO
53424
+
53425
+ """
53426
+ Balanced effort and depth.
53427
+ """
53428
+ BALANCED
53429
+
53430
+ """
53431
+ Clear the repository's value so it inherits the effort from its organization, enterprise, or GitHub's default.
53432
+ """
53433
+ INHERIT
53434
+
53435
+ """
53436
+ Lower effort, faster review.
53437
+ """
53438
+ LITE
53439
+
53440
+ """
53441
+ Highest effort, deepest review.
53442
+ """
53443
+ MAX
53444
+ }
53445
+
53446
+ """
53447
+ A repository's Copilot code review settings. These settings tune reviews; they do not enable Copilot code review.
53448
+ """
53449
+ type RepositoryCopilotCodeReviewSettings {
53450
+ """
53451
+ The review efforts that can currently be set for this repository, in display order.
53452
+ """
53453
+ availableReviewEfforts: [CopilotCodeReviewEffortLevel!]!
53454
+
53455
+ """
53456
+ Whether reviews use the repository's custom instructions.
53457
+ """
53458
+ customInstructionsEnabled: Boolean!
53459
+
53460
+ """
53461
+ Whether reviews can use MCP servers.
53462
+ """
53463
+ mcpEnabled: Boolean!
53464
+
53465
+ """
53466
+ The repository's review effort.
53467
+ """
53468
+ reviewEffort: RepositoryCopilotCodeReviewEffort!
53469
+
53470
+ """
53471
+ Which review comment severities Copilot code review leaves out.
53472
+ """
53473
+ severityFilter: CopilotCodeReviewSeverityFilter!
53474
+ }
53475
+
52940
53476
  """
52941
53477
  A repository custom property.
52942
53478
  """
@@ -65176,6 +65712,41 @@ type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload {
65176
65712
  message: String
65177
65713
  }
65178
65714
 
65715
+ """
65716
+ Autogenerated input type of UpdateEnterpriseCopilotCodeReviewPolicy
65717
+ """
65718
+ input UpdateEnterpriseCopilotCodeReviewPolicyInput {
65719
+ """
65720
+ A unique identifier for the client performing the mutation.
65721
+ """
65722
+ clientMutationId: String
65723
+
65724
+ """
65725
+ The ID of the enterprise whose policy to update.
65726
+ """
65727
+ enterpriseId: ID!
65728
+
65729
+ """
65730
+ The policy to set. Standalone enterprises cannot delegate to organization administrators.
65731
+ """
65732
+ policyState: EnterpriseCopilotCodeReviewPolicyState!
65733
+ }
65734
+
65735
+ """
65736
+ Autogenerated return type of UpdateEnterpriseCopilotCodeReviewPolicy.
65737
+ """
65738
+ type UpdateEnterpriseCopilotCodeReviewPolicyPayload {
65739
+ """
65740
+ A unique identifier for the client performing the mutation.
65741
+ """
65742
+ clientMutationId: String
65743
+
65744
+ """
65745
+ The updated enterprise policy.
65746
+ """
65747
+ policy: EnterpriseCopilotCodeReviewPolicy
65748
+ }
65749
+
65179
65750
  """
65180
65751
  Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting
65181
65752
  """
@@ -66487,6 +67058,136 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload {
66487
67058
  organization: Organization
66488
67059
  }
66489
67060
 
67061
+ """
67062
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewPolicy
67063
+ """
67064
+ input UpdateOrganizationCopilotCodeReviewPolicyInput {
67065
+ """
67066
+ A unique identifier for the client performing the mutation.
67067
+ """
67068
+ clientMutationId: String
67069
+
67070
+ """
67071
+ The ID of the organization whose policy to update.
67072
+ """
67073
+ organizationId: ID!
67074
+
67075
+ """
67076
+ The policy to set.
67077
+ """
67078
+ state: OrganizationCopilotCodeReviewPolicyState!
67079
+ }
67080
+
67081
+ """
67082
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewPolicy.
67083
+ """
67084
+ type UpdateOrganizationCopilotCodeReviewPolicyPayload {
67085
+ """
67086
+ A unique identifier for the client performing the mutation.
67087
+ """
67088
+ clientMutationId: String
67089
+
67090
+ """
67091
+ Why the policy was not updated. Null if the update succeeded.
67092
+ """
67093
+ conflict: OrganizationCopilotCodeReviewPolicyConflict
67094
+
67095
+ """
67096
+ The organization's current policy.
67097
+ """
67098
+ policy: OrganizationCopilotCodeReviewPolicy
67099
+ }
67100
+
67101
+ """
67102
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewRunnerConfiguration
67103
+ """
67104
+ input UpdateOrganizationCopilotCodeReviewRunnerConfigurationInput {
67105
+ """
67106
+ Whether repositories can use their own runner configuration. When omitted, the current effective value is kept.
67107
+ """
67108
+ allowRepositoryCustomization: Boolean
67109
+
67110
+ """
67111
+ A unique identifier for the client performing the mutation.
67112
+ """
67113
+ clientMutationId: String
67114
+
67115
+ """
67116
+ The ID of the organization whose runner configuration to set.
67117
+ """
67118
+ organizationId: ID!
67119
+
67120
+ """
67121
+ The runner group for a labeled runner.
67122
+ """
67123
+ runnerGroupName: String
67124
+
67125
+ """
67126
+ The runner labels for a labeled runner.
67127
+ """
67128
+ runnerLabels: [String!]
67129
+
67130
+ """
67131
+ The type of runner.
67132
+ """
67133
+ runnerType: CopilotCodeReviewRunnerType!
67134
+ }
67135
+
67136
+ """
67137
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewRunnerConfiguration.
67138
+ """
67139
+ type UpdateOrganizationCopilotCodeReviewRunnerConfigurationPayload {
67140
+ """
67141
+ A unique identifier for the client performing the mutation.
67142
+ """
67143
+ clientMutationId: String
67144
+
67145
+ """
67146
+ The organization's updated runner configuration.
67147
+ """
67148
+ runnerConfiguration: OrganizationCopilotCodeReviewRunnerConfiguration
67149
+ }
67150
+
67151
+ """
67152
+ Autogenerated input type of UpdateOrganizationCopilotCodeReviewSettings
67153
+ """
67154
+ input UpdateOrganizationCopilotCodeReviewSettingsInput {
67155
+ """
67156
+ A unique identifier for the client performing the mutation.
67157
+ """
67158
+ clientMutationId: String
67159
+
67160
+ """
67161
+ The default review effort for repositories that do not choose their own. INHERIT clears the organization's value.
67162
+ """
67163
+ defaultReviewEffort: OrganizationCopilotCodeReviewEffortSetting
67164
+
67165
+ """
67166
+ The ID of the organization whose settings to update.
67167
+ """
67168
+ organizationId: ID!
67169
+ }
67170
+
67171
+ """
67172
+ Autogenerated return type of UpdateOrganizationCopilotCodeReviewSettings.
67173
+ """
67174
+ type UpdateOrganizationCopilotCodeReviewSettingsPayload {
67175
+ """
67176
+ A unique identifier for the client performing the mutation.
67177
+ """
67178
+ clientMutationId: String
67179
+
67180
+ """
67181
+ Why the settings were not updated. Null if the update succeeded.
67182
+ """
67183
+ conflict: OrganizationCopilotCodeReviewSettingsConflict
67184
+
67185
+ """
67186
+ The organization's current settings.
67187
+ """
67188
+ settings: OrganizationCopilotCodeReviewSettings
67189
+ }
67190
+
66490
67191
  """
66491
67192
  Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting
66492
67193
  """
@@ -67386,6 +68087,56 @@ type UpdateRefsPayload {
67386
68087
  clientMutationId: String
67387
68088
  }
67388
68089
 
68090
+ """
68091
+ Autogenerated input type of UpdateRepositoryCopilotCodeReviewSettings
68092
+ """
68093
+ input UpdateRepositoryCopilotCodeReviewSettingsInput {
68094
+ """
68095
+ A unique identifier for the client performing the mutation.
68096
+ """
68097
+ clientMutationId: String
68098
+
68099
+ """
68100
+ Whether reviews use the repository's custom instructions.
68101
+ """
68102
+ customInstructionsEnabled: Boolean
68103
+
68104
+ """
68105
+ Whether reviews can use MCP servers.
68106
+ """
68107
+ mcpEnabled: Boolean
68108
+
68109
+ """
68110
+ The ID of the repository whose settings to update.
68111
+ """
68112
+ repositoryId: ID!
68113
+
68114
+ """
68115
+ The review effort for the repository. INHERIT clears the repository's value.
68116
+ """
68117
+ reviewEffort: RepositoryCopilotCodeReviewEffortSetting
68118
+
68119
+ """
68120
+ Which review comment severities Copilot code review leaves out.
68121
+ """
68122
+ severityFilter: CopilotCodeReviewSeverityFilter
68123
+ }
68124
+
68125
+ """
68126
+ Autogenerated return type of UpdateRepositoryCopilotCodeReviewSettings.
68127
+ """
68128
+ type UpdateRepositoryCopilotCodeReviewSettingsPayload {
68129
+ """
68130
+ A unique identifier for the client performing the mutation.
68131
+ """
68132
+ clientMutationId: String
68133
+
68134
+ """
68135
+ The repository's current settings.
68136
+ """
68137
+ settings: RepositoryCopilotCodeReviewSettings
68138
+ }
68139
+
67389
68140
  """
67390
68141
  Autogenerated input type of UpdateRepositoryCustomProperty
67391
68142
  """