mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
move goose issue solver to opus (#6233)
This commit is contained in:
@@ -96,7 +96,7 @@ jobs:
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
(!github.event.issue.pull_request &&
|
||||
startsWith(github.event.comment.body, '/goose') &&
|
||||
contains(fromJSON('["OWNER", "MEMBER"]'), github.event.comment.author_association))
|
||||
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association))
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
@@ -105,12 +105,21 @@ jobs:
|
||||
image: ghcr.io/block/goose:latest
|
||||
options: --user root
|
||||
env:
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'openai' }}
|
||||
GOOSE_MODEL: ${{ vars.GOOSE_MODEL || 'gpt-5.1' }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
GOOSE_PROVIDER: ${{ vars.GOOSE_PROVIDER || 'anthropic' }}
|
||||
GOOSE_MODEL: ${{ vars.GOOSE_MODEL || 'claude-opus-4-5' }}
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
HOME: /tmp/goose-home
|
||||
|
||||
steps:
|
||||
- name: Acknowledge trigger
|
||||
if: github.event_name == 'issue_comment'
|
||||
run: |
|
||||
curl -sL -X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
"https://api.github.com/repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions" \
|
||||
-d '{"content":"eyes"}'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
|
||||
with:
|
||||
|
||||
@@ -162,7 +162,7 @@ jobs:
|
||||
if: |
|
||||
github.event.issue.pull_request &&
|
||||
startsWith(github.event.comment.body, '/goose') &&
|
||||
contains(fromJSON('["OWNER", "MEMBER"]'), github.event.comment.author_association)
|
||||
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
Reference in New Issue
Block a user