Describe the bug
Following the examples in https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference#examples I'm trying to add "make fix" as command to be automatically allowed and it's not working, permission is always requested.
OTOH adding just "make" makes all make commands automatically allowed.
Affected version
GitHub Copilot CLI 1.0.71.
Steps to reproduce the behavior
- Write this in
~/.copilot/permissions-config.json
{
"locations": {
"/some/path": {
"tool_approvals": [
{
"kind": "commands",
"commandIdentifiers": [
"make fix",
"make:fix",
"make(fix)",
"shell(make fix)",
"bash(make fix)"
]
}
]
}
}
}
cd /some/path && copilot
- say "run make fix"
Expected behavior
no questions asked
Additional context
No response
Describe the bug
Following the examples in https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference#examples I'm trying to add "make fix" as command to be automatically allowed and it's not working, permission is always requested.
OTOH adding just "make" makes all make commands automatically allowed.
Affected version
GitHub Copilot CLI 1.0.71.
Steps to reproduce the behavior
~/.copilot/permissions-config.json{ "locations": { "/some/path": { "tool_approvals": [ { "kind": "commands", "commandIdentifiers": [ "make fix", "make:fix", "make(fix)", "shell(make fix)", "bash(make fix)" ] } ] } } }cd /some/path && copilotExpected behavior
no questions asked
Additional context
No response