GH-700: Apply Governance Controls to Copilot Business Work
Protect a Copilot-assisted business workflow by deciding which information it may use, which effects it may produce, and who accepts responsibility for the result. Match those decisions to repository access, applicable protected-branch requirements, narrowly scoped credentials, and the actual session's visibility. Add instructions and content exclusion as supporting guardrails: instructions do not grant or remove permissions, and content exclusion cannot guarantee that every route to a file is blocked.
This is a governance decision framework for business work using GitHub Copilot, with product documentation checked on November 14, 2026. Controls depend on the client, execution environment, repository plan and organization policy. A protected branch can enforce configured review requirements, but administrator bypass must be checked; a policy-compliant result still needs human assessment for accuracy and business impact.
Apply governance controls at the point of risk
Start with the proposed outcome rather than a list of features. “Prepare a draft weekly operations report” and “send the report to customers” are different grants of authority even when they use the same input. Record the following design decisions before selecting tools:
| Decision | Control to examine | Evidence the owner should request |
|---|---|---|
| Which data is necessary? | Repository access and the data exposed through connected tools | A bounded input set and the identities able to read it |
| Which changes are permitted? | Working branch, protected target branch and applicable review/check requirements | The target branch's effective rules and bypass configuration |
| Which external resources are needed? | Credential scope and enabled integration tools | Allowed resources and operations, without secret values |
| Who may see the working record? | Session execution, syncing and sharing settings | The visibility of prompts, tool activity and results in the selected environment |
| Who owns the decision? | A named business owner and review criteria | An explicit decision to accept, revise or escalate the output |
Use the table as a design aid, not a claim that GitHub provides a single switch implementing all five decisions. If the required boundary cannot be established, reduce the task to a draft based on approved inputs or pause it for an owner decision.
Access also has separate layers. GitHub Projects access does not grant access to the repositories represented in its items; private repository items still require the corresponding repository permissions. Review each layer instead of treating a planning board's collaborator list as the complete data-access policy.
Separate proposed changes from accepted changes
A useful branch strategy for maintained business documents is to prepare a change on a working branch and propose it through a pull request to the controlled target branch. This is a recommendation: a branch name alone creates no review requirement.
Protected branches are available for public repositories on GitHub Free and GitHub Free for organizations, and for public and private repositories on GitHub Pro, GitHub Team, GitHub Enterprise Cloud and GitHub Enterprise Server. Where available, configure the relevant required reviews and status checks. Consider dismissing stale approvals or requiring approval of the latest reviewable push so later edits receive scrutiny.
By default, branch-protection restrictions do not apply to repository administrators or custom roles with bypass permission. Inspect the effective rule and whether its restrictions apply to those actors. Keep any intentional exception explicit and owned. A successful check establishes only what that check evaluates; review must still address the document's claims, assumptions and intended audience.
Do not transfer one agent environment's guarantees to another. GitHub's documented Copilot cloud-agent protections include a restricted working branch and human review before merging its draft pull requests. These protections do not establish the authority of a local Copilot app session or a separately connected external tool.
Scope secrets to the job that needs them
For GitHub Actions, secrets can be defined at repository, environment and organization levels. Organization-secret policies can restrict access to selected repositories; organization-level secrets are not accessible to private repositories on GitHub Free. Select the narrowest applicable scope for the intended workflow and review the access policy rather than choosing organization-wide availability for convenience.
A secret must be supplied to the action or step that needs it, using the documented secrets context as an input or environment variable. Its presence in a secret store is not permission to expose it in a task description. GitHub also documents that secrets are not automatically passed to reusable workflows, and—with the exception of GITHUB_TOKEN—are not passed to runners for workflows triggered from forks. Do not resolve missing credentials by pasting their values into prompts or repository files.
External integrations add another boundary. Model Context Protocol (MCP) servers can supply external tools and data to Copilot CLI. Their configuration can include credentials and a selected tool list. As a governance recommendation, inspect the service identity's resource scope as well as the tools exposed to the agent: a permitted tool can still be too powerful for a draft-only task. Detailed integration setup is a separate implementation decision.
Treat session records as part of the data design
Copilot session data can include prompts, responses, tools used and file changes. A local session is not necessarily a local-only record: locally run Copilot CLI and Copilot app sessions sync to the user's GitHub account by default, subject to settings. For Copilot Business and Copilot Enterprise users, syncing requires the applicable “Store local sessions in the Cloud” policy to permit at least “View from cloud”; disabled or unconfigured policy means local-only storage.
Syncing does not share a session with other people. Local sessions and cloud-sandbox sessions are unshared by default; GitHub Actions-based cloud sessions are shared by default with people who have repository access, and their logs remain after the execution environment ends. Enabling syncing does not itself give administrators access to a user's synced session data.
Therefore, decide whether the input is appropriate for the session record before attaching it. For example, recommend an approved aggregate instead of raw customer correspondence when the aggregate is sufficient. Check the actual environment and sharing state rather than inferring privacy from the client window being used.
Use content exclusion within its documented limits
Content exclusion is available to organizations with Copilot Business or Copilot Enterprise. It can keep selected files out of supported Copilot suggestions, responses and code review. Repository administrators, organization owners and enterprise owners can configure it within their applicable scope.
Content exclusion is not a filesystem security boundary. In IDE agents, Copilot CLI and the Copilot app, GitHub documents checks through Copilot tools and identifiable file paths in commands or scripts, while indirect access may escape detection. Third-party MCP servers or clients are not guaranteed to respect exclusions; semantic information may also arrive indirectly through an IDE. Exclusions currently do not apply to symlinks or repositories on remote filesystems.
Use operating-system permissions and other resource access controls for information the execution environment must not access. Treat exclusion as an additional guardrail for supported Copilot paths. If an external server can reach the same sensitive resource, review that route independently.
Keep standards and human ownership explicit
Custom instructions can describe response conventions and organizational expectations. Support varies by client and feature, and Copilot may apply instructions inconsistently because its behavior is nondeterministic. In particular, organization custom instructions require Copilot Business or Copilot Enterprise and currently apply to GitHub website sessions and Copilot code review, rather than local client sessions. Do not assume an organization instruction reaches every local session.
For the Copilot app, review tool permissions and sandbox settings separately from collaboration modes such as Plan or Autopilot. A mode name cannot establish the workflow's access boundary; GH-700: Place Human Approvals and Escalation in Agent Work explains how to place approval checkpoints within it.
GitHub's responsible-use guidance calls for human oversight and warns that agent output can be inaccurate, incomplete, biased or misaligned with the intended goal. Assign a business owner who can judge source adequacy, check who might be affected by an error, and escalate consequential decisions. Security controls reduce particular risks; they do not establish correctness, fairness or fitness for the business decision. Copilot code review supplements human review.
Example: a weekly supplier operations brief
Consider a hypothetical team that wants a draft explaining delayed supplier deliveries. This example illustrates design reasoning; no repository, secret or session was configured or tested.
The owner authorizes a brief based on an approved aggregate of delays and a maintained process document. Raw contracts, personal contact details and payment credentials are unnecessary. The proposed effect is a draft document change for review; contacting suppliers or changing payment records is outside the task.
The team would first confirm the chosen session may receive those inputs and that its working record has an acceptable audience. It would recommend a working branch and a protected target branch with suitable review requirements, then inspect bypass actors. A draft requiring no external service needs no service credential. If an integration becomes necessary later, the owner must reassess its permitted effects and credential reach before use.
The reviewer would compare the brief with the aggregate, check whether correlation has been presented as a cause, and verify that proposed actions remain recommendations. A finding such as “supplier delay is caused by staffing” needs evidence beyond a late-delivery count. Passing branch checks cannot supply that missing evidence, and content exclusion cannot make an overprivileged integration safe.
The practical design test is whether each important risk has both an applicable control and an accountable owner. A prompt saying “handle data securely” cannot fill either gap.
Authoritative Sources
- GH-700 official study guide — governance, secrets, responsible AI and branch-policy scope.
- Managing access to your projects — separate project and repository permissions.
- About protected branches — availability, review requirements and bypass behavior.
- Using secrets in GitHub Actions — secret scopes, access policies and workflow conditions.
- Adding MCP servers for Copilot CLI — connected tools, credentials and tool selection.
- About GitHub Copilot session data — storage, syncing, sharing and execution-environment differences.
- Content exclusion for GitHub Copilot — plan scope, supported controls and limitations.
- Custom instructions for GitHub Copilot — supported scopes and nondeterministic guidance.
- Working with agent sessions in the Copilot app — collaboration modes, tool permissions and sandbox distinctions.
- Risks and mitigations for Copilot cloud agent — cloud-agent branch and human-review protections.
- Application card: GitHub Copilot Agents — limitations, oversight and responsible adoption.

