github-schema 1.47.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.
@@ -7674,6 +7674,56 @@ type ConvertedToDiscussionEvent implements Node {
7674
7674
  id: ID!
7675
7675
  }
7676
7676
 
7677
+ """
7678
+ The effort level for a Copilot code review. 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).
7679
+ """
7680
+ enum CopilotCodeReviewEffort {
7681
+ """
7682
+ Copilot picks the effort for each pull request.
7683
+ """
7684
+ AUTO
7685
+
7686
+ """
7687
+ Balanced effort and depth.
7688
+ """
7689
+ BALANCED
7690
+
7691
+ """
7692
+ Lower effort, faster review.
7693
+ """
7694
+ LITE
7695
+
7696
+ """
7697
+ Highest effort, deepest review.
7698
+ """
7699
+ MAX
7700
+ }
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
+
7677
7727
  """
7678
7728
  Request Copilot code review for new pull requests automatically if the author
7679
7729
  has access to Copilot code review and AI credits.
@@ -7706,6 +7756,131 @@ input CopilotCodeReviewParametersInput {
7706
7756
  reviewOnPush: Boolean
7707
7757
  }
7708
7758
 
7759
+ """
7760
+ The stable reason a Copilot code review request was denied or conflicted with an existing request.
7761
+ """
7762
+ enum CopilotCodeReviewRequestReason {
7763
+ """
7764
+ The actor is not eligible to request Copilot code reviews.
7765
+ """
7766
+ ACTOR_INELIGIBLE
7767
+
7768
+ """
7769
+ The Copilot code review reviewer app is not installed.
7770
+ """
7771
+ APP_NOT_INSTALLED
7772
+
7773
+ """
7774
+ The organization providing the Copilot license is unavailable.
7775
+ """
7776
+ LICENSED_ORGANIZATION_UNAVAILABLE
7777
+
7778
+ """
7779
+ The actor has no Copilot code review quota remaining.
7780
+ """
7781
+ NO_QUOTA_REMAINING
7782
+
7783
+ """
7784
+ The repository is not eligible for Copilot code reviews.
7785
+ """
7786
+ REPOSITORY_INELIGIBLE
7787
+
7788
+ """
7789
+ A Copilot code review request is already pending for this pull request.
7790
+ """
7791
+ REQUEST_CONFLICT
7792
+ }
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
+
7709
7884
  """
7710
7885
  Copilot endpoint information
7711
7886
  """
@@ -14146,6 +14321,11 @@ type Enterprise implements Node {
14146
14321
  """
14147
14322
  billingInfo: EnterpriseBillingInfo
14148
14323
 
14324
+ """
14325
+ The configured Copilot code review policy. Requires enterprise AI controls read permissions.
14326
+ """
14327
+ copilotCodeReviewPolicy: EnterpriseCopilotCodeReviewPolicy
14328
+
14149
14329
  """
14150
14330
  Identifies the date and time when the object was created.
14151
14331
  """
@@ -14846,6 +15026,36 @@ type EnterpriseConnection {
14846
15026
  totalCount: Int!
14847
15027
  }
14848
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
+
14849
15059
  """
14850
15060
  The possible values for the enterprise base repository permission setting.
14851
15061
  """
@@ -28626,6 +28836,22 @@ type Mutation {
28626
28836
  input: ReprioritizeSubIssueInput!
28627
28837
  ): ReprioritizeSubIssuePayload
28628
28838
 
28839
+ """
28840
+ Requests a Copilot code review.
28841
+
28842
+ Every call attempts to advance the Copilot code review lifecycle for the pull
28843
+ request: if no Copilot review has been requested yet, an initial request is created;
28844
+ if the most recent Copilot review has already completed, a new request is created
28845
+ automatically to continue the lifecycle. If a Copilot code review request is already
28846
+ pending, no new request is created and `failureReason` is `REQUEST_CONFLICT`.
28847
+ """
28848
+ requestCopilotCodeReview(
28849
+ """
28850
+ Parameters for RequestCopilotCodeReview
28851
+ """
28852
+ input: RequestCopilotCodeReviewInput!
28853
+ ): RequestCopilotCodeReviewPayload
28854
+
28629
28855
  """
28630
28856
  Set review requests on a pull request.
28631
28857
  """
@@ -29068,6 +29294,16 @@ type Mutation {
29068
29294
  input: UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput!
29069
29295
  ): UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload
29070
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
+
29071
29307
  """
29072
29308
  Sets the base repository permission for organizations in an enterprise.
29073
29309
  """
@@ -29368,6 +29604,38 @@ type Mutation {
29368
29604
  input: UpdateOrganizationAllowPrivateRepositoryForkingSettingInput!
29369
29605
  ): UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload
29370
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
+
29371
29639
  """
29372
29640
  Sets whether contributors are required to sign off on web-based commits for repositories in an organization.
29373
29641
  """
@@ -29589,6 +29857,16 @@ type Mutation {
29589
29857
  input: UpdateRepositoryInput!
29590
29858
  ): UpdateRepositoryPayload
29591
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
+
29592
29870
  """
29593
29871
  Update a repository custom property.
29594
29872
  """
@@ -33410,6 +33688,16 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
33410
33688
  size: Int
33411
33689
  ): URI!
33412
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
+
33413
33701
  """
33414
33702
  Identifies the date and time when the object was created.
33415
33703
  """
@@ -33872,6 +34160,11 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr
33872
34160
  """
33873
34161
  organizationBillingEmail: String
33874
34162
 
34163
+ """
34164
+ The configured and effective Copilot code review policy. Requires organization Copilot read permissions.
34165
+ """
34166
+ organizationCopilotCodeReviewPolicy: OrganizationCopilotCodeReviewPolicy
34167
+
33875
34168
  """
33876
34169
  A list of packages under the owner.
33877
34170
  """
@@ -35029,6 +35322,191 @@ type OrganizationConnection {
35029
35322
  totalCount: Int!
35030
35323
  }
35031
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
+
35032
35510
  """
35033
35511
  An edge in a connection.
35034
35512
  """
@@ -43519,6 +43997,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43519
43997
  """
43520
43998
  commit: Commit
43521
43999
 
44000
+ """
44001
+ The persisted effective effort used to produce this Copilot code review, or null if unavailable.
44002
+ """
44003
+ copilotCodeReviewEffort: CopilotCodeReviewEffort
44004
+
43522
44005
  """
43523
44006
  Identifies the date and time when the object was created.
43524
44007
  """
@@ -43554,6 +44037,11 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
43554
44037
  """
43555
44038
  includesCreatedEdit: Boolean!
43556
44039
 
44040
+ """
44041
+ Whether this review was produced by Copilot code review. Bot authorship alone does not establish provenance.
44042
+ """
44043
+ isCopilotCodeReview: Boolean!
44044
+
43557
44045
  """
43558
44046
  Returns whether or not a comment has been minimized.
43559
44047
  """
@@ -43772,6 +44260,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43772
44260
  """
43773
44261
  commit: Commit
43774
44262
 
44263
+ """
44264
+ Sources reported as contributing to this comment; may be incomplete.
44265
+ """
44266
+ copilotCodeReviewSources: [CopilotCodeReviewSource!]!
44267
+
43775
44268
  """
43776
44269
  Identifies when the comment was created.
43777
44270
  """
@@ -43817,6 +44310,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
43817
44310
  """
43818
44311
  includesCreatedEdit: Boolean!
43819
44312
 
44313
+ """
44314
+ Whether this comment was produced by Copilot code review.
44315
+ """
44316
+ isCopilotCodeReview: Boolean!
44317
+
43820
44318
  """
43821
44319
  Returns whether or not a comment has been minimized.
43822
44320
  """
@@ -52206,6 +52704,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
52206
52704
  orderBy: ReleaseOrder
52207
52705
  ): ReleaseConnection!
52208
52706
 
52707
+ """
52708
+ The repository's Copilot code review settings. Requires repository administration access.
52709
+ """
52710
+ repositoryCopilotCodeReviewSettings: RepositoryCopilotCodeReviewSettings
52711
+
52209
52712
  """
52210
52713
  A custom property value for the repository.
52211
52714
  """
@@ -52861,6 +53364,85 @@ enum RepositoryContributionType {
52861
53364
  REPOSITORY
52862
53365
  }
52863
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
+
52864
53446
  """
52865
53447
  A repository custom property.
52866
53448
  """
@@ -53957,6 +54539,11 @@ enum RepositoryPermission {
53957
54539
  """
53958
54540
  MAINTAIN
53959
54541
 
54542
+ """
54543
+ Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access
54544
+ """
54545
+ MODERATE
54546
+
53960
54547
  """
53961
54548
  Can read and clone this repository. Can also open and comment on issues and pull requests
53962
54549
  """
@@ -53968,9 +54555,9 @@ enum RepositoryPermission {
53968
54555
  TRIAGE
53969
54556
 
53970
54557
  """
53971
- Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities
54558
+ Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access
53972
54559
  """
53973
- TRIAGE_PLUS
54560
+ TRIAGE_PLUS @deprecated(reason: "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.")
53974
54561
 
53975
54562
  """
53976
54563
  Can read, clone, and push to this repository. Can also manage issues and pull requests
@@ -55327,6 +55914,62 @@ type ReprioritizeSubIssuePayload {
55327
55914
  issue: Issue
55328
55915
  }
55329
55916
 
55917
+ """
55918
+ Autogenerated input type of RequestCopilotCodeReview
55919
+ """
55920
+ input RequestCopilotCodeReviewInput {
55921
+ """
55922
+ A unique identifier for the client performing the mutation.
55923
+ """
55924
+ clientMutationId: String
55925
+
55926
+ """
55927
+ The Node ID of the pull request to modify.
55928
+ """
55929
+ pullRequestId: ID!
55930
+
55931
+ """
55932
+ The effort level to use for the Copilot code review. Omit to use the default effort level.
55933
+ """
55934
+ reviewEffort: CopilotCodeReviewEffort
55935
+ }
55936
+
55937
+ """
55938
+ Autogenerated return type of RequestCopilotCodeReview.
55939
+ """
55940
+ type RequestCopilotCodeReviewPayload {
55941
+ """
55942
+ Identifies the actor who performed the event.
55943
+ """
55944
+ actor: Actor
55945
+
55946
+ """
55947
+ A unique identifier for the client performing the mutation.
55948
+ """
55949
+ clientMutationId: String
55950
+
55951
+ """
55952
+ The stable reason the request was denied or conflicted with an existing request. Null when the request succeeded.
55953
+ """
55954
+ failureReason: CopilotCodeReviewRequestReason
55955
+
55956
+ """
55957
+ The pull request that is getting requests.
55958
+ """
55959
+ pullRequest: PullRequest
55960
+
55961
+ """
55962
+ The Copilot code review request that was created or is already pending. Null
55963
+ when the request was denied or conflicted with an existing request.
55964
+ """
55965
+ reviewRequest: ReviewRequest
55966
+
55967
+ """
55968
+ Did the operation succeed?
55969
+ """
55970
+ success: Boolean
55971
+ }
55972
+
55330
55973
  """
55331
55974
  Autogenerated input type of RequestReviewsByLogin
55332
55975
  """
@@ -65039,6 +65682,41 @@ type UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload {
65039
65682
  message: String
65040
65683
  }
65041
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
+
65042
65720
  """
65043
65721
  Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting
65044
65722
  """
@@ -66350,6 +67028,136 @@ type UpdateOrganizationAllowPrivateRepositoryForkingSettingPayload {
66350
67028
  organization: Organization
66351
67029
  }
66352
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
+
66353
67161
  """
66354
67162
  Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting
66355
67163
  """
@@ -67249,6 +68057,56 @@ type UpdateRefsPayload {
67249
68057
  clientMutationId: String
67250
68058
  }
67251
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
+
67252
68110
  """
67253
68111
  Autogenerated input type of UpdateRepositoryCustomProperty
67254
68112
  """