summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/opencode.yml
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-10-16 12:33:33 -0500
committerGitHub <[email protected]>2025-10-16 12:33:33 -0500
commit860c6338fc29089fbc40ca4aaf1f6c97a29b610b (patch)
treebe31d69f1cce0f6b58c3fbaf40ec8e837ac212e0 /.github/workflows/opencode.yml
parent4a7551e87b93f53c3c588dc0c41f4c0ee8271308 (diff)
downloadopencode-860c6338fc29089fbc40ca4aaf1f6c97a29b610b.tar.gz
opencode-860c6338fc29089fbc40ca4aaf1f6c97a29b610b.zip
fix: github action (#3223)
Diffstat (limited to '.github/workflows/opencode.yml')
-rw-r--r--.github/workflows/opencode.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml
index 41ee75408..193d8f3e5 100644
--- a/.github/workflows/opencode.yml
+++ b/.github/workflows/opencode.yml
@@ -8,13 +8,15 @@ jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
- contains(github.event.comment.body, ' /opencode')
+ startsWith(github.event.comment.body, '/oc') ||
+ contains(github.event.comment.body, ' /opencode') ||
+ startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
+ contents: write
+ pull-requests: write
+ issues: write
id-token: write
- contents: read
- pull-requests: read
- issues: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -24,4 +26,4 @@ jobs:
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
with:
- model: opencode/sonic
+ model: opencode/kimi-k2 \ No newline at end of file