Sub topic 2
Plans, access, and enablement
This chapter assumes you can open a pull request on GitHub and know what the Reviewers menu is. You don't need any Copilot setup yet. By the end you should be able to tell whether you can request a Copilot review, and if you can't, who can change that.
Two questions decide access
Copilot code review is a feature of a paid Copilot plan. Whether you see it on a pull request depends on two separate things:
- Your Copilot seat. Your GitHub account must have a Copilot plan that includes code review.
- Policy. If your seat comes from an organization or enterprise, an administrator must have allowed the feature.
If either one is missing, Copilot doesn't appear in the Reviewers menu.
Where your seat comes from
You can get Copilot in one of three ways. The way you got it determines who controls the settings.
| Seat type | Who manages it | What that means for you |
|---|---|---|
| Individual plan (for example Pro or Pro+) | You | You manage billing. Features are available to you without an admin's approval. |
| Copilot Business | Organization owners | An owner sets policies for every member. |
| Copilot Enterprise | Enterprise and organization owners | Policies can be set at enterprise level and may override organization choices. |
Plan names, prices, and included features change over time. Check the current GitHub Copilot plans page before you decide what to buy, and don't rely on a table in a tutorial.
What administrators control
On Business and Enterprise plans, administrators manage Copilot through policies. The policy that matters here is the one that allows Copilot code review for members. A policy can be:
- enabled, so members can request reviews,
- disabled, so the feature stays hidden for everyone, or
- left to a higher level, such as the enterprise, to decide.
If you're an organization owner, find the policy under the organization's Copilot settings. If you aren't, you can't change it. Send the owner a specific request: the name of the feature, the organization, and the repository where you want to use it.
Usage limits and cost
A Copilot review is not free to run. Depending on your plan, reviews can count toward a monthly allowance of premium requests, and admins can set a budget for extra usage. If reviews stop working part-way through the month, the allowance or budget may be used up. Check the billing and usage page in your Copilot settings.
Check your access
Run this check before you spend time debugging anything else:
- Open any pull request in a repository you can write to.
- Open the Reviewers menu in the sidebar.
- Look for Copilot in the list.
If Copilot is listed, you're ready for the next chapter, where you request a review. If it's missing, use the diagram above and work out which of the two questions fails.
Common errors
- Copilot is missing for you but present for a teammate. Seats are per person. Your account may lack a seat, or your seat may come from a different organization than the one that owns the repository.
- Copilot works in a personal repository but not in your company's. The organization's policy is probably the cause. Your personal plan doesn't override it.
- Everything is enabled, but a review never arrives. Check usage limits and then GitHub's status page before you suspect your configuration.
- You can't see the Reviewers menu. You may only have read access. Reviewer assignment generally needs write access to the repository.
Exercise
Your teammate sees Copilot in the Reviewers menu on a pull request in your company's repository, but you don't. You have a personal Copilot Pro plan. Name the two things you would check first, and who can fix each one.
Show answer
First, check whether the seat that applies to this repository comes from your company's organization. If your account has no seat there, ask an organization owner to assign one. Second, check whether the organization's policy allows Copilot code review. An organization owner (or an enterprise owner, if the policy is set there) must change it. Your personal plan does not override an organization's policy.