diff options
Diffstat (limited to '.github/workflows/opencode.yml')
| -rw-r--r-- | .github/workflows/opencode.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml index b2d5dacc1..ca59f2770 100644 --- a/.github/workflows/opencode.yml +++ b/.github/workflows/opencode.yml @@ -6,7 +6,11 @@ on: jobs: opencode: - if: startsWith(github.event.comment.body, 'hey opencode') + if: | + startsWith(github.event.comment.body, 'opencode') || + startsWith(github.event.comment.body, 'hi opencode') || + startsWith(github.event.comment.body, 'hey opencode') || + contains(github.event.comment.body, '@opencode-agent') runs-on: ubuntu-latest permissions: id-token: write @@ -17,7 +21,7 @@ jobs: fetch-depth: 1 - name: Run opencode - uses: sst/opencode/sdks/github@github-v1 + uses: sst/opencode/github@latest env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} with: |
