Inconsistent pipeline/commit links in MR view
When there is a pipeline associated to a merge request, the MR description shows it together with the commit sha. However, when the MR is created from a fork the pipeline links to the source project, while the commit sha links to the target project
Steps to reproduce
Create fork. Make sure there is a branch in the fork with a pipeline. Create a MR from the fork to the parent project.
What is the current bug behavior?
The pipeline link points to
test2 (the fork), the sha link points to
test (the parent).
What is the expected correct behavior?
Since this block refers to the pipeline, both links should point to
test2 (the fork).
Output of checks
This bug happens on GitLab.com