Skip to content

Copilot CLI incorrectly enforces content exclusions #3841

Description

@quoma

Copilot CLI is enforcing organization content-exclusion policy, blocking local file tools with “excluded by organization content policy.” GitHub docs say content exclusions do not apply to Copilot CLI.

This policy was intended only to affect Copilot code review on GitHub, not local CLI agents. Copilot CLI should ignore content exclusions or provide separate scoping for code review vs CLI.

Source: https://docs.github.com/en/copilot/how-tos/copilot-cli/administer-copilot-cli-for-your-enterprise — “Controls that do not apply” lists Content exclusions: File path-based content exclusions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingsarea:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions