http://wmj5kiicroak3dvoelipkcqobw7kwtltbqnmuv576l6x4b56b6dvmdad.onion/help/ci/pipelines/downstream_pipelines.md
For merge request pipelines , the ref value is in the form of refs/merge-requests/<id>/head , where id is the merge request ID. You can retrieve this ref with the CI_MERGE_REQUEST_REF_PATH CI/CD variable. Do not use a branch name as the ref with merge request pipelines, because the downstream pipeline attempts to fetch artifacts from the latest branch pipeline.