There was an error while loading. Please reload this page.
1 parent 8441665 commit 0c1f0ccCopy full SHA for 0c1f0cc
1 file changed
.github/workflows/opencode.yml
@@ -0,0 +1,30 @@
1
+name: opencode
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
+ pull_request_review_comment:
7
8
+ workflow_call:
9
10
+jobs:
11
+ opencode:
12
+ if: |
13
+ contains(github.event.comment.body, '/oc') ||
14
+ contains(github.event.comment.body, '/opencode')
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ id-token: write
18
+ contents: read
19
+ pull-requests: read
20
+ issues: read
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v6
24
+ with:
25
+ fetch-depth: 1
26
+ persist-credentials: false
27
+ - name: Run OpenCode
28
+ uses: anomalyco/opencode/github@latest
29
30
+ model: opencode/minimax-m2.5-free
0 commit comments