summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-14 22:36:46 -0600
committerAiden Cline <[email protected]>2025-12-14 22:36:46 -0600
commit543dbe71d28e28c409fdd4ce40717b9f5535d1b3 (patch)
tree5679530a2fadf7a0677e2e14798299f236d21590 /.github
parent54569b55525de3c25c78468299261a9d94517450 (diff)
downloadopencode-543dbe71d28e28c409fdd4ce40717b9f5535d1b3.tar.gz
opencode-543dbe71d28e28c409fdd4ce40717b9f5535d1b3.zip
ci: smart oc
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/opencode.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml
index 4c75ad2e0..e6148acbd 100644
--- a/.github/workflows/opencode.yml
+++ b/.github/workflows/opencode.yml
@@ -32,3 +32,29 @@ jobs:
OPENCODE_PERMISSION: '{"bash": "deny"}'
with:
model: opencode/claude-haiku-4-5
+
+ opencode-smart:
+ if: |
+ contains(github.event.comment.body, ' /soc') ||
+ startsWith(github.event.comment.body, '/soc') ||
+ contains(github.event.comment.body, ' /smart-opencode') ||
+ startsWith(github.event.comment.body, '/smart-opencode')
+ runs-on: blacksmith-4vcpu-ubuntu-2404
+ permissions:
+ id-token: write
+ contents: read
+ pull-requests: read
+ issues: read
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - uses: ./.github/actions/setup-bun
+
+ - name: Run opencode
+ uses: sst/opencode/github@latest
+ env:
+ OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
+ OPENCODE_PERMISSION: '{"bash": "deny"}'
+ with:
+ model: opencode/claude-opus-4-5