diff options
| author | Dax <[email protected]> | 2025-08-12 11:39:39 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-12 11:39:39 -0400 |
| commit | 10735f93ca97a1a9eedc3a245ab627bd00e72082 (patch) | |
| tree | 9cc7718f9819fa61efeaa18e35dee7971f73b371 /.opencode/agent | |
| parent | ccaebdcd16438d0ede6291d3b4f82e19e0143610 (diff) | |
| download | opencode-10735f93ca97a1a9eedc3a245ab627bd00e72082.tar.gz opencode-10735f93ca97a1a9eedc3a245ab627bd00e72082.zip | |
Add agent-level permissions with whitelist/blacklist support (#1862)
Diffstat (limited to '.opencode/agent')
| -rw-r--r-- | .opencode/agent/github.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.opencode/agent/github.md b/.opencode/agent/github.md new file mode 100644 index 000000000..da3aa4518 --- /dev/null +++ b/.opencode/agent/github.md @@ -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. |
