Answer: For a non-interactive run, use the --assisted-approval command line option, for example: copilot -p "Fix the failing tests" --assisted-approval. You can also set the COPILOT_ASSISTED_APPROVAL environment variable to true. Status: Confirmed Entry: tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive Revision: 3 Digest: sha256:d339f42472ac26e3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:20:28Z Last changed: 2026-11-20T12:56:21Z (Interactive alternative: — → /permissions assisted) Last verified: 2026-11-20T12:56:21Z Next check: 2026-11-21T12:56:21Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Command line option | --assisted-approval | [1] | 2026-11-20 Example command | copilot -p "Fix the failing tests" --assisted-approval | [1] | 2026-11-20 Environment variable | COPILOT_ASSISTED_APPROVAL | [1] | 2026-11-20 Environment variable value | true | [1] | 2026-11-20 Interactive alternative | /permissions assisted | [1] | 2026-11-20 Sources: [1] GitHub. "Allowing safe commands to run without manual approval - GitHub Docs". https://docs.github.com/en/copilot/concepts/customizations/allowing-safe-commands Role: primary. Accessed: 2026-11-20T12:56:21Z Quote: "use the --assisted-approval command line option" (Supports: Command line option) Quote: "copilot -p "Fix the failing tests" --assisted-approval" (Supports: Example command) Quote: "set the COPILOT_ASSISTED_APPROVAL environment variable to true" (Supports: Environment variable, Environment variable value) Quote: "To use assisted permissions in an interactive session, use /permissions assisted or the defaultPermissionMode setting instead." (Supports: Interactive alternative) Snapshot SHA-256: 64889788d8c7dbbf2bbece2b8a3e25f741202f77303bcf480e70978faebc75de (captured 2026-11-19T12:50:19Z) 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-19T12:50:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:56:21Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:56:21Z Last attempt: 2026-11-20T12:56:21Z Notes and limitations: Extracted automatically from a single official source (section "Using it for a non-interactive run"). Related: https://latestn.com/tool/github-copilot/commands-and-shortcuts/available-slash-commands What slash commands are available in the GitHub Copilot app? https://latestn.com/tool/github-copilot/commands-and-shortcuts/cancel-and-rollback How do I cancel operations and roll back changes in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/commands-and-shortcuts/cancel-operation How do I cancel a running operation in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/commands-and-shortcuts/access-session-remotely How do I access a GitHub Copilot CLI session remotely? https://latestn.com/tool/github-copilot/commands-and-shortcuts/agent-session-keyboard-shortcuts What keyboard shortcuts are available in the GitHub Copilot app agent sessions? https://latestn.com/tool/github-copilot/commands-and-shortcuts/ask-side-question-cli How do I ask a side question in GitHub Copilot CLI without interrupting my current task? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:56:21Z | changed | Interactive alternative: — → /permissions assisted | [1] 2026-11-20T12:56:21Z | changed | Environment variable value: — → true | [1] 2026-11-20T12:56:21Z | changed | Environment variable: — → COPILOT_ASSISTED_APPROVAL | [1] 2026-11-20T12:56:21Z | changed | Example command: — → copilot -p "Fix the failing tests" --assisted-approval | [1] 2026-11-20T12:56:21Z | changed | Command line option: — → --assisted-approval | [1] 2026-11-20T12:56:21Z | changed | interactive session behavior: the CLI exits with an error → — | [1] 2026-11-20T12:56:21Z | changed | environment variable value: true → — | [1] 2026-11-20T12:56:21Z | changed | environment variable: COPILOT_ASSISTED_APPROVAL → — | [1] 2026-11-20T12:56:21Z | changed | example command: copilot -p "Fix the failing tests" --assisted-approval → — | [1] 2026-11-20T12:56:21Z | changed | command line option: --assisted-approval → — | [1] 2026-11-17T13:10:48Z | changed | interactive session behavior: — → the CLI exits with an error | [1] 2026-11-13T03:20:28Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive/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/commands-and-shortcuts/assisted-permissions-non-interactive POST: https://latestn.com/dispute/tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use assisted permissions for a non-interactive GitHub Copilot CLI run? Revision 3, last verified 2026-11-20T12:56:21Z. https://latestn.com/tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive (accessed 2026-11-21T10:02:49Z). @misc{LatestN_tool_github_copilot_commands_and_shortcuts_assisted_permissions_non_interactive_r3, title = {How do I use assisted permissions for a non-interactive GitHub Copilot CLI run?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/commands-and-shortcuts/assisted-permissions-non-interactive}}, note = {Revision 3; digest sha256:d339f42472ac26e3; last verified 2026-11-20T12:56:21Z; accessed 2026-11-21T10:02:49Z} } 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/commands-and-shortcuts/assisted-permissions-non-interactive