File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 66
77 pull_request :
88
9- pull_request_comment :
10- types : [created]
11-
129 pull_request_review :
1310 types : [submitted]
1411
1815jobs :
1916 opencode :
2017 if : |
18+ github.event_name == 'pull_request' ||
2119 contains(github.event.comment.body, ' /oc') ||
2220 startsWith(github.event.comment.body, '/oc') ||
2321 contains(github.event.comment.body, ' /opencode') ||
3129 uses : actions/checkout@v5
3230
3331 - name : Run opencode
34- uses : sst/opencode/github@latest
35- if : github.event_name != 'pull_request'
36- env :
37- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38- with :
39- model : github-copilot/gpt-4.1
40-
41- - name : Run opencode (for pull request)
42- uses : ./github/actions/opencode
43- if : github.event_name == 'pull_request'
32+ uses : sst/opencode/github@v0.10.3
4433 env :
4534 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4635 with :
47- model : github-copilot/gpt-4.1
48- prompt : ${{ github.event.comment.body }}
36+ model : github-copilot/gpt-5-mini
You can’t perform that action at this time.
0 commit comments