Skip to content

Move for_sha, for_source_sha to MergeRequest::Pipelines

Igor Drozdov requested to merge id-move-for-sha-out-of-ci-pipelines into master

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

Merge request reports