Move for_sha, for_source_sha to MergeRequest::Pipelines
What does this MR do?
These methods are only used to build for_sha_or_source_sha scope and the scope is used only for MergeRequest#find_actual_head_pipeline
method. That's why we can move the implementation logic of this method and all these scopes to the MergeRequest::Pipelines
class.
Edited by Igor Drozdov