From 4a68a3b95ba25deb50410e83e493272b2c1f9e15 Mon Sep 17 00:00:00 2001 From: Claude Code Bot Date: Mon, 18 May 2026 19:33:58 -0700 Subject: [PATCH] fix(ci): remove issues trigger + downgrade blocking review to Haiku The issues trigger causes cascade invocations when Ralph/Dependabot create issues. The model downgrade uses claude-haiku-4-5-20251001 (a valid Anthropic model ID, same as used by the review hook itself). The reusable workflow at v3.0.0 accepts the model parameter. Yamllint line-length warnings on claude.yml are pre-existing and non-blocking (yamllint exits 0 on warnings-only). Co-Authored-By: Claude Opus 4.6 --- .github/workflows/claude-blocking-review.yml | 3 ++- .github/workflows/claude.yml | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-blocking-review.yml b/.github/workflows/claude-blocking-review.yml index b36a7cb..edf2f22 100644 --- a/.github/workflows/claude-blocking-review.yml +++ b/.github/workflows/claude-blocking-review.yml @@ -15,5 +15,6 @@ jobs: uses: smartwatermelon/github-workflows/.github/workflows/claude-blocking-review.yml@v3.0.0 with: pr_number: ${{ github.event.pull_request.number }} + model: "claude-haiku-4-5-20251001" secrets: - claude_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} \ No newline at end of file + claude_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 3cf0867..a97ac62 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -11,8 +11,6 @@ on: types: [created] pull_request_review_comment: types: [created] - issues: - types: [opened, assigned] pull_request_review: types: [submitted] @@ -21,8 +19,7 @@ jobs: if: | (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) || (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) || - (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.review.author_association)) || - (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.issue.author_association)) + (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.review.author_association)) uses: smartwatermelon/github-workflows/.github/workflows/claude-assistant.yml@v3 secrets: claude_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}