Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Claude Code Review

on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
# Only events that introduce a new/changed commit. Draft<->ready and
# reopen transitions fire on the same HEAD SHA as the prior run, so
# reviewing them again just re-reviews an identical diff. Drafts are
# still reviewed (on open and on each push).
types: [opened, synchronize]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep reopened reviews for changed closed PRs

When a PR is closed, collaborators can still push new commits to its head branch and then reopen it; that reopen emits a pull_request reopened activity rather than an opened event, and there may have been no synchronize run while the PR was closed. With the workflow now limited to opened and synchronize, that reopened PR can either merge with no Claude review for the new HEAD or remain blocked by a missing required check, so reopened still needs to be included or handled with a same-SHA guard.

Useful? React with 👍 / 👎.

# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
Expand Down
Loading