Fix Merge When Pipeline Succeeds immediate merge bug
What does this MR do?
This MR fixes bugs with Merge When Pipeline Succeeds feature.
It adds event delegation to prevent events from not firing in certain states.
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Tests added for this feature/bug
What are the relevant issue numbers?
Closes #26969 (closed)