GitHub Makes AI Code Review Scriptable, and Changes Its Default
GitHubがAIコードレビューをAPI経由で自動化可能に、デフォルトも変更
GitHub made its Copilot code review feature callable through the REST and GraphQL APIs, so teams can trigger AI reviews from their own pipelines, while quietly switching the default review depth to a heavier "Balanced" mode.
GitHubはCopilotによるAIコードレビュー機能をREST・GraphQL API経由で呼び出せるようにし、チームが自前のパイプラインからAIレビューを起動できるようにした。同時にデフォルトのレビュー深度も、より重い「Balanced」モードへとひそかに切り替えた。
Tip: select any English words to see them in Japanese.
In three lines
GitHub made Copilot’s AI code review requestable through the REST and GraphQL APIs on October 2, 2026, so teams can trigger it from their own CI pipelines instead of only the website. At the same time, “Balanced,” a more thorough and slower review mode, became the default for any repository that hadn’t explicitly chosen the lighter “Lite” mode. Some developers have been pushing back on Copilot features that feel forced on them, which adds friction to this rollout.
What happened
According to GitHub’s official changelog, Copilot code review can now be requested through the REST and GraphQL APIs, with an optional effort level set per request. The change is generally available on GitHub’s Pro, Pro+, Max, Business, and Enterprise plans. It follows an August 2026 update that made two review depths, “Lite” and “Balanced,” generally available after being called “Low” and “Medium” in an earlier preview. As of September 28, 2026, Balanced became the default review effort for any repository that hadn’t explicitly picked Lite; a repo that had already chosen Lite keeps that setting.
The API access matters because it turns Copilot review from something triggered by hand on GitHub’s website into a feature teams can call programmatically — for example, running it automatically as part of a build pipeline, instead of only when a human assigns the Copilot reviewer bot to a pull request.
Why it matters
For developers already using Copilot in CI, this makes AI review fully scriptable, which is useful for teams standardizing automated checks across many repositories. But it is worth checking before turning it on everywhere: Balanced reviews reportedly use more AI credits and more CI minutes than Lite, and some developers have publicly complained about Copilot features that activate by default without an easy way to disable them. Before wiring this into a pipeline, it’s worth confirming which effort level is actually in use, since GitHub has said settings are picked by precedence — the current request, prior reviews on that pull request, then user, repository, and organization settings, in that order.
Key phrases
- code review — コードレビュー
- generally available (GA) — 一般提供開始
- effort level — レビューの深度の設定
- default — 既定値、デフォルト設定
- scriptable — スクリプトで操作・自動化できる
日本語版
3行でいうと
GitHubは2026年10月2日、CopilotによるAIコードレビューをREST・GraphQL API経由でリクエストできるようにした。これにより、チームはウェブサイト上だけでなく、自前のCIパイプラインからレビューを起動できる。同時に、より徹底的で時間のかかる「Balanced」モードが、軽量な「Lite」モードを明示的に選んでいない限りのデフォルトになった。一部の開発者は、強制的に課されるように感じるCopilot機能への反発を強めており、この展開には摩擦も伴う。
何が起きたか
GitHubの公式変更履歴によると、CopilotのコードレビューはREST・GraphQL API経由でリクエストできるようになり、リクエストごとにレビューの深度(エフォートレベル)を指定できる。この変更は、GitHubのPro、Pro+、Max、Business、Enterpriseの各プランで一般提供されている。これは2026年8月の更新を受けたもので、当時プレビューで「Low」「Medium」と呼ばれていた2段階のレビュー深度が、「Lite」「Balanced」という名前で一般提供になっていた。2026年9月28日以降、明示的にLiteを選んでいないリポジトリでは、Balancedがデフォルトのレビュー深度になった。すでにLiteを選択していたリポジトリは、その設定が維持される。
このAPI対応が重要なのは、Copilotレビューが、GitHubのウェブサイト上で人が手動で起動する機能から、プログラムから呼び出せる機能に変わる点だ。たとえば、人がプルリクエストにCopilotレビューのボットを割り当てる場合だけでなく、ビルドパイプラインの一部として自動的に実行することもできるようになる。
なぜ重要か
すでにCIでCopilotを使っている開発者にとっては、AIレビューを完全にスクリプトで扱えるようになる点は便利で、多数のリポジトリにわたって自動チェックを標準化したいチームには役立つ。ただし、全面的に有効にする前に確認すべき点もある。報道によれば、BalancedレビューはLiteよりも多くのAIクレジットとCIの実行時間を消費するとされており、デフォルトで有効になり簡単には無効化できないCopilot機能について、一部の開発者が公然と不満を表明している。パイプラインに組み込む前には、実際にどのエフォートレベルが使われているかを確認しておく価値がある。GitHubによれば、設定は優先順位――まずその時のリクエスト、次にそのプルリクエストでの過去のレビュー、その後ユーザー、リポジトリ、組織の設定――の順で決まるとされている。