Use new generic worker to handle auto merges from events
We are going to be doing a refactor of the Merge When Checks Pass. The draft MR for this refactor is: !145113 (comment 1780370396). We are going to be splitting this MR into pieces to make it easier to review.
The next step is to use the generic worker that was added in: !145460 (merged)
To Test:
- Turn on the feature flags,
merge_when_checks_pass
andadditional_merge_when_checks_ready
- Create a new MR that has draft setting, but otherwise mergeable
- Set Auto Merge
- Unset draft
- Verify the MR merges
Edited by Marc Shaw