github / github/copilot-cli

unable to bypass `Confirm folder trust`

Open
#1,121 1 comment 0 reactions 0 assignees View on GitHub
area:configuration area:permissions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

```
╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Confirm folder trust │
│ │
│ ╭────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ ******* │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ Copilot may read files in this folder. Reading untrusted files may lead Copilot to behave in │
│ unexpected ways. With your permission, Copilot may execute code or bash commands in this folder. │
│ Executing untrusted code is unsafe. │
│ │
│ Do you trust the files in this folder? │
│ │
│ 1. Yes │
│ 2. Yes, and remember this folder for future sessions │
│ ❯ 3. No (Esc) │
│ │
│ Confirm with number keys or ↑↓ keys and Enter, Cancel with Esc │
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
i'm running `copilot` on terminal clearly because i trust the folder; it'd be great if there were a setting to disable the `Confirm folder trust` behavior by default.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.