mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -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]]
|
[[rule]]
|
||||||
toolName = "run_shell_command"
|
toolName = "run_shell_command"
|
||||||
commandPrefix = [
|
commandPrefix = [
|
||||||
@@ -5,9 +35,9 @@ commandPrefix = [
|
|||||||
"find",
|
"find",
|
||||||
"head",
|
"head",
|
||||||
"cat",
|
"cat",
|
||||||
|
"echo",
|
||||||
"cd",
|
"cd",
|
||||||
"grep",
|
"grep",
|
||||||
"npm",
|
|
||||||
"npm run start",
|
"npm run start",
|
||||||
"npm install",
|
"npm install",
|
||||||
"npm run",
|
"npm run",
|
||||||
@@ -20,14 +50,12 @@ commandPrefix = [
|
|||||||
"git branch",
|
"git branch",
|
||||||
"git br",
|
"git br",
|
||||||
"git log",
|
"git log",
|
||||||
"git add",
|
|
||||||
"git show",
|
"git show",
|
||||||
"gh pr",
|
"gh pr",
|
||||||
"gh repo view",
|
"gh repo view",
|
||||||
"gh run",
|
"gh run",
|
||||||
"gh api",
|
"gh api",
|
||||||
"gh log",
|
"gh log"
|
||||||
"code"
|
|
||||||
]
|
]
|
||||||
decision = "allow"
|
decision = "allow"
|
||||||
priority = 100
|
priority = 100
|
||||||
|
|||||||
Reference in New Issue
Block a user