File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 issue_comment :
55 types : [created]
66
7- pull_request_review :
8- types : [submitted]
9-
10- pull_request_review_comment :
11- types : [created]
12-
13- workflow_dispatch :
14-
157jobs :
168 opencode :
179 if : |
18- github.event_name == 'pull_request' ||
1910 contains(github.event.comment.body, ' /oc') ||
2011 startsWith(github.event.comment.body, '/oc') ||
2112 contains(github.event.comment.body, ' /opencode') ||
2213 startsWith(github.event.comment.body, '/opencode')
2314 runs-on : ubuntu-latest
2415 permissions :
25- contents : read
2616 id-token : write
17+ contents : read
18+ pull-requests : read
19+ issues : read
2720 steps :
2821 - name : Checkout repository
2922 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3023
3124 - name : Run opencode
32- uses : sst/opencode/github@27c211ef869cae9d18b3fefc36ba787af75ebde0 # v0.14.5
25+ uses : sst/opencode/github@latest
3326 env :
3427 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3528 with :
You can’t perform that action at this time.
0 commit comments