From a7e3cd1275b68b2ed6c8ab278db19d9ae4057c04 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Wed, 13 May 2026 16:13:53 -0400 Subject: [PATCH] Remove unreachable workflow_call event check workflow_call invocations inherit the caller's event_name, so github.event_name == 'workflow_call' never matches. The caller's event context passes through and is handled by the existing issue_comment/review_requested conditions. --- .github/workflows/claude-code-review.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yaml b/.github/workflows/claude-code-review.yaml index c4e8da8..cc2f6b9 100644 --- a/.github/workflows/claude-code-review.yaml +++ b/.github/workflows/claude-code-review.yaml @@ -34,8 +34,7 @@ jobs: contains(github.event.comment.body, '@claude')) || (github.event_name == 'pull_request' && github.event.requested_team.slug == 'claude') || - github.event_name == 'workflow_dispatch' || - github.event_name == 'workflow_call' + github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest timeout-minutes: 10 steps: