diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml index ab2a179f..15216013 100644 --- a/.github/workflows/opencode.yml +++ b/.github/workflows/opencode.yml @@ -12,10 +12,12 @@ jobs: review: if: | github.event_name == 'pull_request' || - contains(github.event.comment.body, ' /oc') || + startsWith(github.event.comment.body, '/review') || + contains(github.event.comment.body, ' /review') || startsWith(github.event.comment.body, '/oc') || - contains(github.event.comment.body, ' /opencode') || - startsWith(github.event.comment.body, '/opencode') + contains(github.event.comment.body, ' /oc') || + startsWith(github.event.comment.body, '/opencode') || + contains(github.event.comment.body, ' /opencode') runs-on: ubuntu-latest permissions: id-token: write @@ -33,4 +35,5 @@ jobs: env: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} with: - model: opencode/minimax-m2.5-free \ No newline at end of file + model: opencode-go/deepseek-v4.1-flash + mentions: /review,/oc,/opencode