Skip to content

ci: ensure Claude reviews run on PR open#15

Merged
gdiab merged 1 commit intomainfrom
codex/fix-claude-pr-review-trigger
Feb 24, 2026
Merged

ci: ensure Claude reviews run on PR open#15
gdiab merged 1 commit intomainfrom
codex/fix-claude-pr-review-trigger

Conversation

@gdiab
Copy link
Owner

@gdiab gdiab commented Feb 24, 2026

Summary

Fixes Claude Code Review so PR-open events perform a real review instead of silently skipping.

Root Cause

The workflow invoked anthropics/claude-code-action@v1 on pull_request without a prompt. In this mode the action requires a trigger condition and skipped with Trigger result: false / No trigger found.

Changes

  • Split workflow into two jobs:
    • review-pr: runs on pull_request and passes explicit review prompt + PR context.
    • review-on-demand: runs on issue_comment with @claude trigger behavior unchanged.
  • Kept existing permissions (pull-requests: write, issues: write, id-token: write).

Validation

  • Verified previous behavior from run logs (22373560547) showing skip due to no trigger.
  • Confirmed PR branch now contains only .github/workflows/claude-review.yml workflow fix.

@gdiab gdiab merged commit 8e07088 into main Feb 24, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant