mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
wip: github actions
This commit is contained in:
parent
10ae43a121
commit
3a7a2a838e
17 changed files with 1333 additions and 1146 deletions
8
.github/workflows/opencode.yml
vendored
8
.github/workflows/opencode.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue