Sub topic 2
Plans, access, and enablement
Copilot code review only works if three things line up: your account has a plan that includes it, your organization allows it, and the repository is one Copilot can read. This chapter explains how to check each condition. It also covers what to do when the Copilot option is missing from the Reviewers menu.
This chapter assumes you know basic Git and GitHub (branches, commits, pull requests) and how human reviews work on a pull request. It assumes you have a GitHub account, and that you have either a Copilot plan or access to someone who administers one. GitHub changes plan names, limits, and billing rules often, so treat the tables here as a model for reasoning. Confirm the current details in GitHub's documentation before you make purchasing or policy decisions.
Where access comes from
Every Copilot feature is tied to a Copilot license, and a license reaches you in one of two ways:
- Personal plan. You subscribe yourself, for example to Copilot Pro or Copilot Pro+. You manage the settings on your own account.
- Organization or enterprise plan. An organization owner buys Copilot Business, or an enterprise owner buys Copilot Enterprise. They assign seats to members. Policies set by the organization or enterprise decide which features those members can use.
The distinction matters because the person who can fix a missing feature differs. On a personal plan, you can fix it yourself. On an organization plan, a policy you cannot change may be blocking you, and the fix is a request to an owner.
| Access path | Who assigns the license | Who controls feature policies | Typical first check |
|---|---|---|---|
| Personal plan (Pro, Pro+) | You | You | Your account's Copilot settings page |
| Copilot Business | Organization owner | Organization owner | Whether a seat is assigned and the policy is enabled |
| Copilot Enterprise | Enterprise or organization owner | Enterprise owner, then organization owner | Whether an enterprise policy overrides the organization's |
A free tier of Copilot exists, but its feature set is more limited and has changed over time. Do not assume it includes code review. Look at the current plan comparison page and check whether code review is listed for your tier.
The policy layers
On an organization or enterprise plan, a feature has to be allowed at every level above you. An enterprise policy can enable a feature, disable it, or leave the choice to each organization. When the enterprise leaves the choice open, the organization owner sets it.
The effect is a chain of checks. A feature must pass all of them before it appears for you.
Work through this chain from top to bottom when something is missing. Each failure has a different owner, so identifying the failing step tells you whom to contact.
Checking your own access
The quickest check is to open a pull request and look at the Reviewers menu in the sidebar. If Copilot is listed, review is enabled for you on that repository. Chapter 3 covers the request step itself, so here the menu serves only as a test.
If Copilot is not listed, check these in order:
- Sign in to GitHub and open your Copilot settings. Confirm that a plan or seat is active. For an organization seat, the page names the organization that provides it.
- Confirm you are viewing a pull request, not an issue or a draft screen with a different layout. The Reviewers menu on a pull request is the only place the option appears.
- Check whether the repository belongs to an organization. If it does, the organization's policy applies, and your personal plan may not cover work on that repository. This depends on the plan and on current billing rules, so confirm it with the owner.
- Reload the page after any change. Policy and seat changes can take a short time to show up.
Do not conclude from a missing menu entry that you lack a license. A license with the policy disabled looks identical from the pull request page.
What organization owners control
An owner who needs to enable code review for a team has three things to do: assign seats, check the feature policy, and decide on any usage limits.
Seats
Seats are assigned in the organization's Copilot settings. You can assign them to individual members, to teams, or to everyone in the organization. Team-based assignment is easier to maintain, because new members receive access when they join the team.
Feature policy
The Copilot policy settings list the features members may use. Look for the code review entry and set it to enabled. For Copilot Enterprise, the enterprise's policy sits above the organization's. A setting greyed out in the organization view usually means an enterprise policy controls it.
Usage and billing
Copilot plans include a number of "premium requests" each month, and code review has counted against that allowance in the past. Details differ by plan and have changed more than once. Some organizations also allow additional usage billed beyond the included amount, with a budget the owner sets. If reviews work for a while and then stop, or only some people get them, check the usage and budget settings before you look for a technical fault.
Owners can also inspect the setup from the command line with the GitHub CLI. The following command reads the organization's Copilot billing summary. It requires organization owner permissions and a token with the right scope.
# Replace my-org with your organization's login.
ORG="my-org"
# Summary of Copilot seats and organization-level settings
gh api "/orgs/${ORG}/copilot/billing"
# List of assigned seats, one entry per user
gh api "/orgs/${ORG}/copilot/billing/seats" --paginateThe first call returns a JSON summary that includes seat counts. The second lists the people who hold a seat. If a person who cannot request a review does not appear in the list, they have no seat. If they do appear, the cause is a policy or repository setting.
Repository and content considerations
A license is necessary but not enough on its own. A few repository-level facts also affect whether a review works.
- Pull request required. Copilot reviews pull requests. Without one, there is nothing to review in the GitHub interface. Reviewing uncommitted changes in an editor is a separate path, covered in a later chapter.
- Visibility. Public and private repositories can both use review, but private repositories raise the question of which plan pays for it. If you contribute to a private repository owned by an organization, the organization's plan is the one that matters.
- Content exclusions. Organizations and repositories can mark files or paths so Copilot does not use them. Excluded content may be skipped, so a review might not comment on a file even though the file changed. If a review is silent about a path you expected it to examine, check the exclusion settings.
- Size. Very large pull requests may be only partly reviewed. Chapter 11 covers this limit.
> Note: this chapter does not use block quotes; the callout below carries the key point.
Enabling automatic reviews: a preview
Requesting a review by hand is one way to use the feature. Copilot can also review pull requests automatically, either through a setting on your personal account or through a repository ruleset. The exact steps belong to a later chapter. For access purposes, the point is that the same plan and policy requirements apply. A ruleset that requests Copilot reviews does nothing for people whose organization has disabled the feature, so check the policy first.
A worked troubleshooting scenario
Suppose a developer named Priya works in an organization on Copilot Business. She opens a pull request and sees no Copilot entry in the Reviewers menu, while a teammate on the same repository sees it.
- Priya opens her Copilot settings. They show a seat from the organization, so the license is not the problem.
- She asks the teammate which seat they hold. Both are on the same organization plan, which rules out a repository-wide or organization-wide policy block.
- The owner runs the
gh apiseats command above. Priya's login is missing from the list. The settings page she saw earlier was showing a personal trial that had ended, not an organization seat. - The owner assigns her to the team that holds seats. After a page reload, Copilot appears in the menu.
The order of checks is the useful part. The owner could have spent time on policy settings first, but comparing her situation with a teammate's quickly narrowed the problem to her own seat. When one person is affected and others are not, suspect the seat. When everyone is affected, suspect policy or billing.
Common errors
| Symptom | Likely cause | Who fixes it |
|---|---|---|
| Copilot is not in the Reviewers menu for anyone in the organization | Code review policy disabled at organization or enterprise level | Organization or enterprise owner |
| Missing for one person only | No seat assigned, or seat lost when a team assignment changed | Organization owner |
| Worked earlier, now fails or is skipped | Usage allowance or budget exhausted | Owner for organization plans, you for personal plans |
| Policy toggle is greyed out in organization settings | An enterprise policy controls it | Enterprise owner |
| Review runs but ignores some files | Content exclusions or size limits | Repository admin |
| Works on one repository but not another | Different ownership, so a different plan or policy applies | Check which account owns each repository |
Summary
Treat access as a chain of checks: license, enterprise policy, organization policy, then repository. Pull request pages show only the end result, so a missing menu entry says nothing about which check failed. Compare against a teammate, look at your own Copilot settings, and use the seat list when you are an owner. Keep in mind that plan names and usage rules change, so confirm them in current GitHub documentation.
Exercise
Two developers work on the same repository in an organization on Copilot Business. One sees Copilot in the Reviewers menu on a pull request. The other does not. Name the most likely cause and the first check you would make, then explain why an organization-wide policy change is probably not the fix.
Show answer
The most likely cause is that the second developer has no organization seat. The first check is the organization's seat list, for example with gh api "/orgs/my-org/copilot/billing/seats" --paginate, or the Copilot settings page for that user. An organization-wide policy would affect both developers the same way. Since one of them can use the feature, the policy already allows it, so changing the policy would not help. Assigning a seat to the second developer, directly or through a team, should fix it.