Skip to content

Commit 177bfed

Browse files
committed
ci: github action
1 parent 91f8477 commit 177bfed

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/opencode.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: opencode
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
opencode:
9+
if: startsWith(github.event.comment.body, 'hey opencode')
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 1
18+
19+
- name: Run opencode
20+
uses: sst/opencode/sdks/github@dev
21+
#uses: ./github-actions
22+
env:
23+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
24+
with:
25+
model: anthropic/claude-sonnet-4-20250514

0 commit comments

Comments
 (0)