About managing policies for GitHub Copilot Business
GitHub Copilot Business is a GitHub Copilot subscription, managed at the organization level. Organization owners can manage policies for the use of GitHub Copilot within the organization. The policy settings selected by an organization owner determine the behavior of GitHub Copilot for all organization members granted access to Copilot through the organization.
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. Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If your suggestion matching policy is configured to block matching code, matching suggestions will not be shown to you.
-
In the upper-right corner of GitHub.com, select 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.
Configuring GitHub Copilot Chat use in your organization
GitHub Copilot Chat is a feature that allows users to chat with GitHub Copilot to get code suggestions and answers to coding related questions. You can enable or disable GitHub Copilot Chat for your organization. For more information, see "About GitHub Copilot Chat."
-
In the upper-right corner of GitHub.com, select 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.
-
Under "Features preview", to the right of GitHub Copilot Chat, in the dropdown, select Allowed or Blocked to allow or block GitHub Copilot Chat in your organization.