Skip to main content

Reviewing changes to content exclusions for GitHub Copilot

You can monitor changes to content exclusions in your repositories and organizations.

Who can use this feature?

Organization owners

Organizations with a subscription to GitHub Copilot Business or GitHub Copilot Enterprise

Note

  • Excluding content from GitHub Copilot is currently in beta and is subject to change.
  • Content exclusions are currently supported in select IDEs. See "Excluding content from GitHub Copilot."

Reviewing changes in your repository

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Code & automation" section of the side bar, click Copilot.

  4. Scroll to the bottom of the page.

    You will see the name of the person who last changed the content exclusion settings, and information about when they made this change.

  5. Click the time of the last change.

    Screenshot of the last edited information. The time of change link is highlighted with a dark orange outline.

    The "Audit log" page for the organization is displayed, showing the most recently logged occurrences of the copilot.content_exclusion_changed action in the repository.

  6. Click the ellipsis (...) at the end of each entry to see more details.

    If the "excluded_paths" entry is truncated, hover over the truncated value to show the full entry. This displays the content of the exclusion settings after the change was saved.

    Screenshot of audit log details for the 'copilot.content_exclusion_changed' action. The ellipsis button is highlighted.

Reviewing changes in your organization

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. In the left sidebar, click Copilot then click Content exclusion.

  4. Scroll to the bottom of the page.

    You will see the name of the person who last changed the content exclusion settings, and information about when they made this change.

  5. Click the time of the last change.

    Screenshot of the last edited information. The time of change link is highlighted with a dark orange outline.

    The "Audit log" page for the organization is displayed, showing the most recently logged occurrences of the copilot.content_exclusion_changed action.

  6. Click the ellipsis (...) at the end of each entry to see more details.

    If the "excluded_paths" entry is truncated, hover over the truncated value to show the full entry. This displays the content of the exclusion settings after the change was saved.

    Screenshot of audit log details for the 'copilot.content_exclusion_changed' action. The ellipsis button is highlighted.