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
2 changes: 1 addition & 1 deletion .github/workflows/review-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Code Review

on:
pull_request:
types: [opened, labeled]
types: [opened, synchronize, reopened]
Copy link

Choose a reason for hiding this comment

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

⚠️ IMPORTANT: Revert removes ready_for_review trigger, creating gap in review workflow

Details and fix

This revert changes the trigger from the original [opened, synchronize, reopened, ready_for_review] to [opened, synchronize, reopened], removing the ready_for_review event.

Impact:

  • Draft PRs marked "ready for review" will not trigger the code review workflow
  • Reviews will only run when new commits are pushed (synchronize)
  • Creates a gap where PRs can bypass automated review

Execution path demonstrating the issue:

  1. Developer creates draft PR β†’ no review (correct, draft PRs shouldn't be reviewed)
  2. Developer marks PR as "ready for review" β†’ no review (MISSING - should trigger)
  3. Only when next commit is pushed will review workflow run

Recommended fix:

Suggested change
types: [opened, synchronize, reopened]
types: [opened, synchronize, reopened, ready_for_review]

This restores the original behavior while correctly reverting the labeled trigger that was causing issues.

Reference: GitHub Actions pull_request events


permissions: {}

Expand Down
Loading