Check for already successful pipeline in AutoMergeService
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
- Check for already successful pipeline in AutoMergeService
If a pipeline has already completed successfully in the last 8 hours, the MR can be merged.
This should take care of Gitaly MRs that don't get set to MWPS due to an ongoing pipeline. Since the components:update_gitaly
scheduled job runs every hour, MWPS should be set once the CI pipeline passes.
Author Check-list
-
Has documentation been updated?