We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6403eb commit 5fe65b9Copy full SHA for 5fe65b9
1 file changed
.github/workflows/opencode.yml
@@ -0,0 +1,27 @@
1
+name: opencode
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
7
+jobs:
8
+ opencode:
9
+ if: |
10
+ contains(github.event.comment.body, ' /oc') ||
11
+ startsWith(github.event.comment.body, '/oc') ||
12
+ contains(github.event.comment.body, ' /opencode') ||
13
+ startsWith(github.event.comment.body, '/opencode')
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: read
17
+ id-token: write
18
+ steps:
19
+ - name: Checkout repository
20
+ uses: actions/checkout@v5
21
22
+ - name: Run opencode
23
+ uses: sst/opencode/github@latest
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ with:
27
+ model: github-copilot/gpt-4.1
0 commit comments