summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-12 12:33:10 -0400
committerDax Raad <[email protected]>2025-08-12 12:33:10 -0400
commit2c2752ee02e1c227b7827fcea2797a8cf31daa60 (patch)
tree27634728cc114aa1be13a34b33310266dbbba44a
parent5a17f44da4847f92fd153d825d586a5ab0887048 (diff)
downloadopencode-2c2752ee02e1c227b7827fcea2797a8cf31daa60.tar.gz
opencode-2c2752ee02e1c227b7827fcea2797a8cf31daa60.zip
ci: ignore
-rw-r--r--.github/workflows/duplicate-issues.yml3
-rw-r--r--.github/workflows/guidelines-check.yml3
-rw-r--r--.opencode/agent/github.md13
3 files changed, 4 insertions, 15 deletions
diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml
index 865cd3123..30a15a626 100644
--- a/.github/workflows/duplicate-issues.yml
+++ b/.github/workflows/duplicate-issues.yml
@@ -23,8 +23,9 @@ jobs:
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ OPENCODE_PERMISSION: { "bash": { "gh*": "allow", "*": "deny" } }
run: |
- opencode run --agent github -m anthropic/claude-sonnet-4-20250514 "A new issue has been created: '${{ github.event.issue.title }}'
+ opencode run -m anthropic/claude-sonnet-4-20250514 "A new issue has been created: '${{ github.event.issue.title }}'
Issue body:
${{ github.event.issue.body }}
diff --git a/.github/workflows/guidelines-check.yml b/.github/workflows/guidelines-check.yml
index 454f4816c..18a36830b 100644
--- a/.github/workflows/guidelines-check.yml
+++ b/.github/workflows/guidelines-check.yml
@@ -23,8 +23,9 @@ jobs:
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ OPENCODE_PERMISSION: { "bash": { "gh*": "allow", "*": "deny" } }
run: |
- opencode run --agent github -m anthropic/claude-sonnet-4-20250514 "A new pull request has been created: '${{ github.event.pull_request.title }}'
+ opencode run -m anthropic/claude-sonnet-4-20250514 "A new pull request has been created: '${{ github.event.pull_request.title }}'
PR description:
${{ github.event.pull_request.body }}
diff --git a/.opencode/agent/github.md b/.opencode/agent/github.md
deleted file mode 100644
index da3aa4518..000000000
--- a/.opencode/agent/github.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-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.