diff --git a/.github/workflows/claude-code-review.yaml b/.github/workflows/claude-code-review.yaml index cc2f6b9..4c53cae 100644 --- a/.github/workflows/claude-code-review.yaml +++ b/.github/workflows/claude-code-review.yaml @@ -14,6 +14,11 @@ on: pull_request: types: [review_requested] workflow_call: + inputs: + direct_call: + description: Bypass event filtering (set automatically for reusable workflow callers) + type: boolean + default: true secrets: anthropic_api_key: required: true @@ -34,7 +39,8 @@ 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_dispatch' || + inputs.direct_call == true runs-on: ubuntu-latest timeout-minutes: 10 steps: