summaryrefslogtreecommitdiffhomepage
path: root/.opencode/agent/github.md
diff options
context:
space:
mode:
Diffstat (limited to '.opencode/agent/github.md')
-rw-r--r--.opencode/agent/github.md13
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.