mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
Add agent-level permissions with whitelist/blacklist support (#1862)
This commit is contained in:
13
.opencode/agent/github.md
Normal file
13
.opencode/agent/github.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
permission:
|
||||
bash:
|
||||
"*": "deny"
|
||||
"gh*": "allow"
|
||||
mode: subagent
|
||||
---
|
||||
|
||||
You are running in github actions, typically to evaluate a PR. Do not do
|
||||
anything that is outside the scope of that. You have access to the bash tool but
|
||||
you can only run `gh` cli commands with it.
|
||||
|
||||
Diffs are important but be sure to read the whole file to get the full context.
|
||||
Reference in New Issue
Block a user