About GitHub Copilot settings in your organization
GitHub Copilot is a new AI-powered code completion tool that helps developers write code faster. GitHub Copilot is available through GitHub personal accounts with GitHub Copilot for Individuals or through organization accounts with GitHub Copilot for Business.
Configuring access to GitHub Copilot in your organization
Enabling access to GitHub Copilot for all current and future users in your organization
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.
-
Under "User permissions," to enable GitHub Copilot for all current and future users in your organization, select Purchase for all members.
-
In the "Confirm seat assignment" dialog, to confirm that you want to enable GitHub Copilot for all current and future users in your organization, click Confirm.
-
To save your changes, click Save.
Enabling access to GitHub Copilot for specific users in your organization
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.
-
Under "User permissions," to enable GitHub Copilot for selected teams or users in your organization, select Selected teams/users and click Save.
-
If you are updating user access from the Allow for all members setting, in the "Confirm seat assignment" dialog, select how you want to start assigning access.
- To unassign all members and then select those who should have access, select Start from scratch.
- To keep all members who currently have access and then select those who should not have access, select Keep all users.
-
If you selected Start from scratch, click Add people or Add teams to add individual users, or entire teams.
-
If you selected Add people, in the "Enable GitHub Copilot access for selected members of ORGANIZATION" dialog, you can either search for individual members, or you can add members in bulk by uploading a CSV file.
-
To search for members, type the member's username, full name, or email address in the search bar.
-
To add members in bulk, click Upload CSV, and then upload a CSV file including either the username or email address for each member you want to add, separated by a comma.
Warning: When you upload a CSV file, GitHub Copilot will search all users on GitHub.com for matches. If the CSV includes users who are not members of your organization, they will be invited to join your organization when you click Add XX members.
-
Review the list of users generated from your CSV file. To confirm that you want to grant access to the listed users, click Add XX member(s) to access list, or to reject the list, click Cancel.
-
-
If you selected Add teams, in the "Enable GitHub Copilot access for selected teams of ORGANIZATION" dialog, start typing the team name in the search bar, select the team you want to add and click Select a team above.
-
If you selected Keep all users, review the full list of your organization members and selected the individuals whose GitHub Copilot access you want to revoke.
-
Click the XX members selected dropdown, and then click Remove.
Disabling access to GitHub Copilot for your whole organization
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.
-
Under "User permissions," to disable GitHub Copilot for all users in your organization, select Disabled.
-
To save your changes, click Save.
Disabling access to GitHub Copilot for specific users in your organization
Removing a user from the organization(s) that had assigned them a GitHub Copilot seat will automatically unassign the seat from them. Alternatively, you can unassign a member's GitHub Copilot seat, while preserving their membership. These changes will take effect from the beginning of the next billing cycle.
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Access.
-
Under "User permissions,", select Selected teams/users and then click Save.
- In the "Confirm seat assignment" pop-up dialog, select Keep all users.
-
Under "Manage access," in the search bar, type the member's username, full name, or email address.
-
To remove the member from the list of users who have access to GitHub Copilot, click Remove on the right side of the page.
Configuring suggestion matching policies for GitHub Copilot in your organization
GitHub Copilot includes a filter which detects code suggestions that match public code on GitHub. When the filter is enabled, GitHub Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match or near match, the suggestion will not be shown to you.
-
In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
-
Next to the organization, click Settings.
-
In the "Code planning, and automation" section of the sidebar, click Copilot, and then click Policies.
-
In the "Suggestions matching public code" dropdown, select Allow or Block to allow or block suggestions matching public code.