From 2822681b11b02f2022a0bc2192cf9ba3d50cc718 Mon Sep 17 00:00:00 2001 From: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Date: Mon, 22 Dec 2025 11:19:09 -0500 Subject: [PATCH] move goose issue solver to opus (#6233) --- .github/workflows/goose-issue-solver.yml | 17 +++++++++++++---- .github/workflows/goose-pr-reviewer.yml | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/goose-issue-solver.yml b/.github/workflows/goose-issue-solver.yml index 2ca1a22337..49558c69f3 100644 --- a/.github/workflows/goose-issue-solver.yml +++ b/.github/workflows/goose-issue-solver.yml @@ -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: diff --git a/.github/workflows/goose-pr-reviewer.yml b/.github/workflows/goose-pr-reviewer.yml index 1dcc2517be..1f87690585 100644 --- a/.github/workflows/goose-pr-reviewer.yml +++ b/.github/workflows/goose-pr-reviewer.yml @@ -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