File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 types : [created]
66 pull_request_review_comment :
77 types : [created]
8+ issues :
9+ types : [opened, assigned]
10+ pull_request_review :
11+ types : [submitted]
812
913jobs :
1014 opencode :
1115 if : |
12- contains(github.event.comment.body, ' /oc' ) ||
13- startsWith (github.event.comment.body, '/oc' ) ||
14- contains(github.event.comment .body, ' /opencode') ||
15- startsWith (github.event.comment .body, '/opencode')
16+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/opencode') ) ||
17+ (github.event_name == 'pull_request_review_comment' && contains(github. event.comment.body, '/opencode') ) ||
18+ (github.event_name == 'pull_request_review' && contains(github.event.review .body, '/opencode') ) ||
19+ (github.event_name == 'issues' && contains(github. event.issue .body, '/opencode') )
1620 runs-on : ubuntu-latest
1721 permissions :
1822 id-token : write
2630 persist-credentials : false
2731
2832 - name : Run opencode
29- uses : anomalyco/opencode/github@latest
33+ uses : anomalyco/opencode/github@v1
3034 env :
3135 OPENCODE_API_KEY : ${{ secrets.OPENCODE_API_KEY }}
3236 with :
You can’t perform that action at this time.
0 commit comments