Skip to content

Commit

Permalink
Ready PR in 'In progress' should be in 'Needs review'
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshire137 committed Dec 12, 2024
1 parent 5c83058 commit 2ed0e4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/project_pull_mover/pull_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,9 @@ def should_have_needs_review_status?
true
end

already_approved_check && (has_in_progress_status? || has_conflicting_status? || has_ready_to_deploy_status? ||
has_not_against_main_status?)
has_in_progress_status? || (
already_approved_check && (has_conflicting_status? || has_ready_to_deploy_status? || has_not_against_main_status?)
)
end

sig { returns T.nilable(T::Boolean) }
Expand Down

0 comments on commit 2ed0e4d

Please sign in to comment.