Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.94 KB

File metadata and controls

44 lines (33 loc) · 2.94 KB

Github copilot admin doc:

Index:

  1. Github Copilot Stats
  2. Ignore env, secrets or other files for all members
  3. Enable or disable Copilot features for all members

Github Copilot Stats:

Copilot provide us usage stats to see how copilot is used by members in the organization.

See more details about usage stats API here

How to generate API token to collect Copilot stats:

A user with admin access or copilot manage billing access should generate this token.

  1. In the upper-right corner of any page on GitHub, click your profile photo, then click Settings.
  2. In the left sidebar, click Developer settings.
  3. In the left sidebar, under Personal access tokens, click Tokens (classic).
  4. Select Generate new token, then click Generate new token (classic).
  5. In the "Note" field, give your token a descriptive name.
  6. To give your token an expiration, select Expiration, then choose a default option or click Custom to enter a date.
  7. Select the scopes you'd like to grant this token. Under Copilot section, select manage_billing:copilot permission.
  8. Click Generate token.
  9. Copy the token and keep it.
  10. Copy the token and use to get stats.

We also need to enable copilot stats collection for organization

  1. In the upper-right corner of any page, click your profile photo, then click Your organizations
  2. Next to the organization, click Settings
  3. In the left sidebar, under Code, planning, and automation, click Copilot, then click Policies
  4. Locate the Copilot Metrics API access policy
  5. Click the dropdown menu next to this policy and select Enabled
  6. Click Save to apply the changes

Ignore env, secrets or other files for all members:

Follow instruction: Configuring content exclusions for your organization

Follow instruction: Configuring content exclusions for your repository

Enable or disable Copilot features for all members:

Use following link to enable or disable some feature like chat, access to Bing, enable new models(Anthropic Claude 3.5 Sonnet, OpenAI o1): Enabling Copilot features in your organization