move goose issue solver to opus (#6233)

This commit is contained in:
tlongwell-block
2025-12-22 11:19:09 -05:00
committed by GitHub
parent 7134e89c4b
commit 2822681b11
2 changed files with 14 additions and 5 deletions
+13 -4
View File
@@ -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:
+1 -1
View File
@@ -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