diff options
Diffstat (limited to '.github/workflows/opencode.yml')
| -rw-r--r-- | .github/workflows/opencode.yml | 12 |
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 |
