Skip to content

Commit ca6519b

Browse files
committed
Enabled opencode
1 parent f69bb4f commit ca6519b

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/opencode.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
name: opencode
22

33
on:
4-
# https://github.com/sst/opencode/pull/2614 がマージされて、アクションが動作するようになってから再検証する。
5-
# issue_comment:
6-
# types: [created]
4+
issue_comment:
5+
types: [created]
76

8-
# pull_request_review:
9-
# types: [submitted]
7+
pull_request_review:
8+
types: [submitted]
109

11-
# pull_request_review_comment:
12-
# types: [created]
10+
pull_request_review_comment:
11+
types: [created]
1312

1413
workflow_dispatch:
1514

1615
jobs:
1716
opencode:
18-
# https://github.com/sst/opencode/pull/2614 がマージされて、アクションが動作するようになってから再検証する。
19-
# if: |
20-
# github.event_name == 'pull_request' ||
21-
# contains(github.event.comment.body, ' /oc') ||
22-
# startsWith(github.event.comment.body, '/oc') ||
23-
# contains(github.event.comment.body, ' /opencode') ||
24-
# startsWith(github.event.comment.body, '/opencode')
17+
if: |
18+
github.event_name == 'pull_request' ||
19+
contains(github.event.comment.body, ' /oc') ||
20+
startsWith(github.event.comment.body, '/oc') ||
21+
contains(github.event.comment.body, ' /opencode') ||
22+
startsWith(github.event.comment.body, '/opencode')
2523
runs-on: ubuntu-latest
2624
permissions:
2725
contents: read

0 commit comments

Comments
 (0)