github / github/copilot-cli

Auto Approve on specific command such as grep on copilot cli

Open
#732 4 comments 23 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

### Describe the feature or problem you'd like to solve

_No response_

### Proposed solution

It will be great if the copilot cli to support the auto approve, like vs code.

"chat.tools.terminal.autoApprove": {
"bash": true, // Auto-approve bash commands
"sh": true, // Auto-approve sh commands
"python3": true, // Auto-approve python commands
"git": true, // Auto-approve git commands
"cd": true, // Auto-approve cd commands
"ls": true, // Auto-approve ls commands
"mkdir": true, // Auto-approve mkdir commands
"grep": true,
"find": true,
"rm": false, // Always require approval for rm
"git push": false // Always require approval for git push
}

### Example prompts or workflows

_No response_

### Additional context

_No response_

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.