mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 20:49:55 +00:00
tweak: make gh action ignore url mentions of opencode (#1531)
This commit is contained in:
parent
42a5fcead4
commit
ae6e47bb42
2 changed files with 12 additions and 8 deletions
8
.github/workflows/opencode.yml
vendored
8
.github/workflows/opencode.yml
vendored
|
|
@ -7,8 +7,10 @@ on:
|
|||
jobs:
|
||||
opencode:
|
||||
if: |
|
||||
contains(github.event.comment.body, '/oc') ||
|
||||
contains(github.event.comment.body, '/opencode')
|
||||
contains(github.event.comment.body, ' /oc') ||
|
||||
startsWith(github.event.comment.body, '/oc') ||
|
||||
contains(github.event.comment.body, ' /opencode') ||
|
||||
startsWith(github.event.comment.body, '/opencode')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -24,4 +26,4 @@ jobs:
|
|||
env:
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
with:
|
||||
model: anthropic/claude-sonnet-4-20250514
|
||||
model: anthropic/claude-sonnet-4-20250514
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue