File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 opencode :
99 if : |
1010 contains(github.event.comment.body, ' /oc') ||
11- startsWith(github.event.comment.body, '/oc') ||
12- contains(github.event.comment.body, ' /opencode') ||
13- startsWith(github.event.comment.body, '/opencode')
11+ contains(github.event.comment.body, ' /opencode')
1412 runs-on : ubuntu-latest
1513 permissions :
16- contents : read
1714 id-token : write
15+ contents : read
16+ pull-requests : read
17+ issues : read
1818 steps :
1919 - name : Checkout repository
2020 uses : actions/checkout@v4
21- with :
22- fetch-depth : 1
2321
2422 - name : Run opencode
2523 uses : sst/opencode/github@latest
2624 env :
27- ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
25+ OPENCODE_API_KEY : ${{ secrets.OPENCODE_API_KEY }}
2826 with :
29- model : anthropic/claude-sonnet-4-20250514
27+ model : opencode/sonic
You can’t perform that action at this time.
0 commit comments