From dbbbe1ec76d07437d87cafdc2cf312efb4348aea Mon Sep 17 00:00:00 2001 From: Damien Daspit Date: Thu, 1 Oct 2026 13:45:29 -0400 Subject: [PATCH] Let the code review run on pushes by Claude A push by the @claude workflow makes claude[bot] the actor, and claude-code-action rejects a bot actor unless it is listed in allowed_bots. The review of #390 failed this way. The review never pushes, so allowing Claude cannot make it retrigger itself. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/claude-code-review.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index b0cd2712..534c8bcc 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -72,6 +72,9 @@ jobs: uses: anthropics/claude-code-action@v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # A push by the @claude workflow makes claude[bot] the actor, which the action + # rejects unless allowed. The review never pushes, so it cannot retrigger itself. + allowed_bots: claude # pr-review has the built-in code-review skill find and verify at "high" # effort, then sets what gets posted. The code-review plugin this replaces # dropped anything under 80 on its confidence rubric.