Answer: GitHub mitigates this risk by requiring human review before merging: draft pull requests created by Copilot cloud agent must be reviewed and merged by a human, and the agent cannot mark its pull requests as "Ready for review" or approve or merge a pull request. Additionally, workflows are not triggered until the agent's code is reviewed and a user with write access clicks the Approve and run workflows button. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes Revision: 2 Digest: sha256:9f8117001da67a94 (changes whenever the content changes) Timeline: Created: 2026-11-16T12:41:23Z Last changed: 2026-11-18T12:51:55Z (Additional approval: — → one more approval is required before it can be merged) Last verified: 2026-11-20T12:58:08Z Next check: 2026-11-21T12:58:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Human review requirement | Requires human review before merging | [1] | 2026-11-20 Agent cannot approve or merge | cannot approve or merge a pull request | [1] | 2026-11-20 Workflow run restriction | workflows are not triggered until Copilot cloud agent's code is reviewed and a user with write access to the repository clicks the Approve and run workflows button | [1] | 2026-11-20 Branch push limit | Copilot cloud agent only has the ability to push to a single branch | [1] | 2026-11-20 Branch protections | The agent is also subject to any branch protections and required checks for the working repository | [1] | 2026-11-20 Additional approval | one more approval is required before it can be merged | [1] | 2026-11-20 Sources: [1] GitHub. "Risks and mitigations for GitHub Copilot cloud agent - GitHub Docs". https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigations Role: primary. Accessed: 2026-11-20T12:58:08Z Quote: "Requires human review before merging." (Supports: Human review requirement) Quote: "Copilot cloud agent cannot mark its pull requests as "Ready for review" and cannot approve or merge a pull request." (Supports: Agent cannot approve or merge) Quote: "By default, workflows are not triggered until Copilot cloud agent's code is reviewed and a user with write access to the repository clicks the Approve and run workflows button." (Supports: Workflow run restriction) Quote: "Copilot cloud agent only has the ability to push to a single branch." (Supports: Branch push limit) Quote: "The agent is also subject to any branch protections and required checks for the working repository." (Supports: Branch protections) Quote: "When Copilot cloud agent opens a pull request under its own app identity, one more approval is required before it can be merged, as long as the repository already requires at least one approval." (Supports: Additional approval) Snapshot SHA-256: 26bd8b94b256b37b1cc460150dd7125edd8d0393433bcb5f7a341c9ae9df6e7e (captured 2026-11-18T12:51:55Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:51:55Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:58:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:58:08Z Last attempt: 2026-11-20T12:58:08Z Notes and limitations: Extracted automatically from a single official source (section "Copilot cloud agent can push code changes to your repository"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/project-access-requirements Who can use projects in the GitHub Copilot app? https://latestn.com/tool/github-copilot/permissions-and-security/protect-agent-files-rulesets How do I protect GitHub Copilot custom agent files using rulesets? https://latestn.com/tool/github-copilot/permissions-and-security/protect-governance-repository How do I protect the GitHub Copilot governance repository in my enterprise? https://latestn.com/tool/github-copilot/permissions-and-security/plugin-access-managed-settings What plugin access considerations apply when using enterprise-managed settings for GitHub Copilot Business? https://latestn.com/tool/github-copilot/permissions-and-security/pr-summary-availability Who can use GitHub Copilot to generate a pull request summary? https://latestn.com/tool/github-copilot/permissions-and-security/pre-tool-use-block-tools How do I block specific tools with the GitHub Copilot pre-tool use hook? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:51:55Z | changed | Additional approval: — → one more approval is required before it can be merged | [1] 2026-11-18T12:51:55Z | changed | Agent cannot approve or merge: — → cannot approve or merge a pull request | [1] 2026-11-18T12:51:55Z | changed | Self-approval prevention: Prevents the user who asked Copilot cloud agent to create a pull request from approving it → — | [1] 2026-11-18T12:51:55Z | changed | Branch protections: subject to any branch protections and required checks → The agent is also subject to any branch protections and required checks for the working repository | [1] 2026-11-18T12:51:55Z | changed | Branch push limit: only has the ability to push to a single branch → Copilot cloud agent only has the ability to push to a single branch | [1] 2026-11-18T12:51:55Z | changed | Workflow run restriction: workflows are not triggered until Copilot cloud agent's code is reviewed → workflows are not triggered until Copilot cloud agent's code is reviewed and a user with write access to the repository clicks the Approve and run workflows button | [1] 2026-11-18T12:51:55Z | changed | Agent merge restriction: cannot approve or merge a pull request → — | [1] 2026-11-16T12:41:23Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How can I prevent the GitHub Copilot cloud agent from pushing unvalidated or vulnerable code changes to my repository? Revision 2, last verified 2026-11-20T12:58:08Z. https://latestn.com/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes (accessed 2026-11-21T09:54:01Z). @misc{LatestN_tool_github_copilot_permissions_and_security_prevent_agent_pushing_code_changes_r2, title = {How can I prevent the GitHub Copilot cloud agent from pushing unvalidated or vulnerable code changes to my repository?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes}}, note = {Revision 2; digest sha256:9f8117001da67a94; last verified 2026-11-20T12:58:08Z; accessed 2026-11-21T09:54:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/permissions-and-security/prevent-agent-pushing-code-changes