mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-06 11:21:15 -07:00
fix(skills): secure and complete async-pr-review policy.toml
This commit is contained in:
@@ -1,3 +1,33 @@
|
||||
[[rule]]
|
||||
toolName = "read_file"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "write_file"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "grep_search"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "glob"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "list_directory"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "codebase_investigator"
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
[[rule]]
|
||||
toolName = "run_shell_command"
|
||||
commandPrefix = [
|
||||
@@ -5,9 +35,9 @@ commandPrefix = [
|
||||
"find",
|
||||
"head",
|
||||
"cat",
|
||||
"echo",
|
||||
"cd",
|
||||
"grep",
|
||||
"npm",
|
||||
"npm run start",
|
||||
"npm install",
|
||||
"npm run",
|
||||
@@ -20,14 +50,12 @@ commandPrefix = [
|
||||
"git branch",
|
||||
"git br",
|
||||
"git log",
|
||||
"git add",
|
||||
"git show",
|
||||
"gh pr",
|
||||
"gh repo view",
|
||||
"gh run",
|
||||
"gh api",
|
||||
"gh log",
|
||||
"code"
|
||||
"gh log"
|
||||
]
|
||||
decision = "allow"
|
||||
priority = 100
|
||||
|
||||
Reference in New Issue
Block a user