From 860c6338fc29089fbc40ca4aaf1f6c97a29b610b Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 16 Oct 2025 12:33:33 -0500 Subject: fix: github action (#3223) --- .github/workflows/opencode.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.github/workflows/opencode.yml') 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 -- cgit v1.2.3