Mutations
updateEnterpriseCopilotCodeReviewPolicy
Updates an enterprise's Copilot code review policy using the existing policy propagation and notification behavior.
Champs d’entrée pour updateEnterpriseCopilotCodeReviewPolicy
Champs de retour pour updateEnterpriseCopilotCodeReviewPolicy
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The updated enterprise policy. |
updateOrganizationCopilotCodeReviewPolicy
Updates an organization's Copilot code review policy when the enterprise delegates control to organization administrators.
Champs d’entrée pour updateOrganizationCopilotCodeReviewPolicy
Champs de retour pour updateOrganizationCopilotCodeReviewPolicy
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Why the policy was not updated. Null if the update succeeded. |
| The organization's current policy. |
updateOrganizationCopilotCodeReviewRunnerConfiguration
Sets the runner configuration that Copilot code review uses for an organization. A LABELED runner requires at least one label or a runner group. Invalid input does not change the configuration.
Champs d’entrée pour updateOrganizationCopilotCodeReviewRunnerConfiguration
Champs de retour pour updateOrganizationCopilotCodeReviewRunnerConfiguration
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The organization's updated runner configuration. |
updateOrganizationCopilotCodeReviewSettings
Updates an organization's Copilot code review settings. Omitted settings are not changed.
Champs d’entrée pour updateOrganizationCopilotCodeReviewSettings
Champs de retour pour updateOrganizationCopilotCodeReviewSettings
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
Why the settings were not updated. Null if the update succeeded. | |
| The organization's current settings. |
updateRepositoryCopilotCodeReviewSettings
Updates a repository's Copilot code review settings. Omitted settings are not changed.
Champs d’entrée pour updateRepositoryCopilotCodeReviewSettings
Champs de retour pour updateRepositoryCopilotCodeReviewSettings
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The repository's current settings. |
Objects
CopilotEndpoints
Copilot endpoint information.
Champs pour CopilotEndpoints
| Nom | Description |
|---|---|
| Copilot API endpoint. |
| Copilot experimentation (edge TAS) endpoint. |
| Copilot origin tracker endpoint. |
| Copilot proxy endpoint. |
| Copilot telemetry endpoint. |
EnterpriseCopilotCodeReviewPolicy
The enterprise's configured Copilot code review policy, not a user's effective policy.
Champs pour EnterpriseCopilotCodeReviewPolicy
| Nom | Description |
|---|---|
| The configured policy. Null if the enterprise has not configured a policy. |
OrganizationCopilotCodeReviewDefaultEffort
An organization's default Copilot code review effort.
Champs pour OrganizationCopilotCodeReviewDefaultEffort
| Nom | Description |
|---|---|
| The effort stored for the organization. Null if the organization inherits the default or has stored an effort that is not currently available. |
| Whether organization administrators can update the setting. |
| The effort that repositories without their own setting use. When that effort is not currently available, this reports the fallback effort instead. |
| The effort the organization inherits when it does not configure one: the enterprise default when one applies, otherwise GitHub's default. |
| Whether the enterprise or the organization controls the setting. |
OrganizationCopilotCodeReviewPolicy
The organization's configured and effective Copilot code review policy.
Champs pour OrganizationCopilotCodeReviewPolicy
| Nom | Description |
|---|---|
| The policy stored for the organization. Null if the organization has not configured a policy. |
| Whether organization administrators can update the policy. |
| The policy that applies to the organization after enterprise policy is considered. |
| Whether the enterprise or the organization controls the policy. |
OrganizationCopilotCodeReviewRunnerConfiguration
The effective runner configuration that Copilot code review uses for an organization.
Champs pour OrganizationCopilotCodeReviewRunnerConfiguration
| Nom | Description |
|---|---|
| Whether repositories can use their own runner configuration. |
| Which configuration the values come from. CODING_AGENT means they are inherited from the organization's Copilot coding agent runner configuration. |
| The runner group used for a labeled runner, if any. |
| The runner labels used for a labeled runner. |
| The type of runner. |
OrganizationCopilotCodeReviewSettings
An organization's Copilot code review settings.
Champs pour OrganizationCopilotCodeReviewSettings
| Nom | Description |
|---|---|
| The review efforts that can currently be set for this organization, in display order. |
| The default review effort for repositories that do not choose their own. |
RepositoryCopilotCodeReviewEffort
A repository's Copilot code review effort.
Champs pour RepositoryCopilotCodeReviewEffort
| Nom | Description |
|---|---|
| The effort stored for the repository. Null if the repository inherits its effort or has stored an effort that is not currently available. |
| The effort reviews use when the requester and the pull request do not choose one. When that effort is not currently available, this reports the effort reviews would use without it. |
RepositoryCopilotCodeReviewSettings
A repository's Copilot code review settings. These settings tune reviews; they do not enable Copilot code review.
Champs pour RepositoryCopilotCodeReviewSettings
| Nom | Description |
|---|---|
| The review efforts that can currently be set for this repository, in display order. |
| Whether reviews use the repository's custom instructions. |
| Whether reviews can use MCP servers. |
| The repository's review effort. |
| Which review comment severities Copilot code review leaves out. |
Interfaces
Agentic
Copilot Agentic fields in context of the current viewer.
Agentic est implémenté par
Champs pour Agentic
| Nom | Description |
|---|---|
| Channel value for subscribing to live updates for session creations. |
| Channel value for subscribing to live updates for session log updates. |
| Channel value for subscribing to live updates for task updates. |
| Channel value for subscribing to live updates for session updates. |
Enums
CopilotCodeReviewEffort
The effort level for a Copilot code review. For more information, see Review effort level.
Valeurs pour CopilotCodeReviewEffort.
| Nom | Description |
|---|---|
AUTO | Copilot picks the effort for each pull request. |
BALANCED | Balanced effort and depth. |
LITE | Lower effort, faster review. |
MAX | Highest effort, deepest review. |
CopilotCodeReviewEffortLevel
A Copilot code review effort level. For more information, see Review effort level.
Valeurs pour CopilotCodeReviewEffortLevel.
| Nom | Description |
|---|---|
AUTO | Copilot picks the effort for each pull request. |
BALANCED | Balanced effort and depth. |
LITE | Lower effort, faster review. |
MAX | Highest effort, deepest review. |
CopilotCodeReviewRequestReason
The stable reason a Copilot code review request was denied or conflicted with an existing request.
Valeurs pour CopilotCodeReviewRequestReason.
| Nom | Description |
|---|---|
ACTOR_INELIGIBLE | The actor is not eligible to request Copilot code reviews. |
APP_NOT_INSTALLED | The Copilot code review reviewer app is not installed. |
LICENSED_ORGANIZATION_UNAVAILABLE | The organization providing the Copilot license is unavailable. |
NO_QUOTA_REMAINING | The actor has no Copilot code review quota remaining. |
REPOSITORY_INELIGIBLE | The repository is not eligible for Copilot code reviews. |
REQUEST_CONFLICT | A Copilot code review request is already pending for this pull request. |
CopilotCodeReviewRunnerConfiguredBy
Which configuration an organization's Copilot code review runner values come from.
Valeurs pour CopilotCodeReviewRunnerConfiguredBy.
| Nom | Description |
|---|---|
CODE_REVIEW | The organization has saved a Copilot code review runner configuration. |
CODING_AGENT | The values are inherited from the organization's Copilot coding agent runner configuration. |
CopilotCodeReviewRunnerType
The type of runner Copilot code review uses.
Valeurs pour CopilotCodeReviewRunnerType.
| Nom | Description |
|---|---|
LABELED | Runners that match the configured labels or runner group. |
STANDARD | Standard GitHub-hosted runners. |
CopilotCodeReviewSeverityFilter
Which review comment severities Copilot code review leaves out.
Valeurs pour CopilotCodeReviewSeverityFilter.
| Nom | Description |
|---|---|
LOW | Leave out low-severity comments. |
LOW_AND_MEDIUM | Leave out low- and medium-severity comments. |
NO_FILTER | Keep every comment. |
EnterpriseCopilotCodeReviewPolicyState
The configured Copilot code review policy for an enterprise.
Valeurs pour EnterpriseCopilotCodeReviewPolicyState.
| Nom | Description |
|---|---|
CONFIGURED_BY_ORGANIZATION_ADMINS | Organization administrators configure Copilot code review. Not supported for standalone enterprises. |
DISABLED_FOR_ALL_ORGANIZATIONS | Copilot code review is disabled for all organizations. |
ENABLED_FOR_ALL_ORGANIZATIONS | Copilot code review is enabled for all organizations. |
OrganizationCopilotCodeReviewEffortSetting
The default Copilot code review effort to set for an organization. For more information, see Review effort level.
Valeurs pour OrganizationCopilotCodeReviewEffortSetting.
| Nom | Description |
|---|---|
AUTO | Copilot picks the effort for each pull request. |
BALANCED | Balanced effort and depth. |
INHERIT | Clear the organization's value so repositories inherit the default. |
LITE | Lower effort, faster review. |
MAX | Highest effort, deepest review. |
OrganizationCopilotCodeReviewPolicyConflict
Why an organization's Copilot code review policy was not updated.
Valeurs pour OrganizationCopilotCodeReviewPolicyConflict.
| Nom | Description |
|---|---|
POLICY_MANAGED_BY_ENTERPRISE | The enterprise policy controls the organization's policy. |
OrganizationCopilotCodeReviewPolicyManager
The scope that controls an organization's Copilot code review policy.
Valeurs pour OrganizationCopilotCodeReviewPolicyManager.
| Nom | Description |
|---|---|
ENTERPRISE | The enterprise policy controls the organization's policy. |
ORGANIZATION | Organization administrators control the policy. |
OrganizationCopilotCodeReviewPolicyState
The Copilot code review policy state for an organization.
Valeurs pour OrganizationCopilotCodeReviewPolicyState.
| Nom | Description |
|---|---|
DISABLED | Copilot code review is disabled. |
ENABLED | Copilot code review is enabled. |
OrganizationCopilotCodeReviewSettingsConflict
Why an organization's Copilot code review settings were not updated.
Valeurs pour OrganizationCopilotCodeReviewSettingsConflict.
| Nom | Description |
|---|---|
SETTING_NOT_EDITABLE | The organization cannot change a submitted setting. |
RepositoryCopilotCodeReviewEffortSetting
The Copilot code review effort to set for a repository. For more information, see Review effort level.
Valeurs pour RepositoryCopilotCodeReviewEffortSetting.
| Nom | Description |
|---|---|
AUTO | Copilot picks the effort for each pull request. |
BALANCED | Balanced effort and depth. |
INHERIT | Clear the repository's value so it inherits the effort from its organization, enterprise, or GitHub's default. |
LITE | Lower effort, faster review. |
MAX | Highest effort, deepest review. |
Input objects
UpdateEnterpriseCopilotCodeReviewPolicyInput
Autogenerated input type of UpdateEnterpriseCopilotCodeReviewPolicy.
Champs d’entrée pour UpdateEnterpriseCopilotCodeReviewPolicyInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the enterprise whose policy to update. |
| The policy to set. Standalone enterprises cannot delegate to organization administrators. |
UpdateOrganizationCopilotCodeReviewPolicyInput
Autogenerated input type of UpdateOrganizationCopilotCodeReviewPolicy.
Champs d’entrée pour UpdateOrganizationCopilotCodeReviewPolicyInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the organization whose policy to update. |
The policy to set. |
UpdateOrganizationCopilotCodeReviewRunnerConfigurationInput
Autogenerated input type of UpdateOrganizationCopilotCodeReviewRunnerConfiguration.
Champs d’entrée pour UpdateOrganizationCopilotCodeReviewRunnerConfigurationInput
| Nom | Description |
|---|---|
| Whether repositories can use their own runner configuration. When omitted, the current effective value is kept. |
| A unique identifier for the client performing the mutation. |
| The ID of the organization whose runner configuration to set. |
| The runner group for a labeled runner. |
| The runner labels for a labeled runner. |
| The type of runner. |
UpdateOrganizationCopilotCodeReviewSettingsInput
Autogenerated input type of UpdateOrganizationCopilotCodeReviewSettings.
Champs d’entrée pour UpdateOrganizationCopilotCodeReviewSettingsInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The default review effort for repositories that do not choose their own. INHERIT clears the organization's value. |
| The ID of the organization whose settings to update. |
UpdateRepositoryCopilotCodeReviewSettingsInput
Autogenerated input type of UpdateRepositoryCopilotCodeReviewSettings.
Champs d’entrée pour UpdateRepositoryCopilotCodeReviewSettingsInput
| Nom | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Whether reviews use the repository's custom instructions. |
| Whether reviews can use MCP servers. |
| The ID of the repository whose settings to update. |
| The review effort for the repository. INHERIT clears the repository's value. |
| Which review comment severities Copilot code review leaves out. |