Skip to content

Auto Approve on specific command such as grep on copilot cli #732

@joeycmlam

Description

@joeycmlam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions