Skip to content

Commit a437b42

Browse files
committed
Fix the opencode workflow
1 parent 0cf9522 commit a437b42

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/opencode.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66

77
pull_request:
88

9-
pull_request_comment:
10-
types: [created]
11-
129
pull_request_review:
1310
types: [submitted]
1411

@@ -31,16 +28,7 @@ jobs:
3128
uses: actions/checkout@v5
3229

3330
- 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'
31+
uses: ./.github/actions/opencode
4432
env:
4533
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4634
with:

0 commit comments

Comments
 (0)