Skip to content

Fix head pipeline stored in merge request for external pipelines

Kamil Trzciński requested to merge fix-head-pipeline-for-commit-status into master

What does this MR do?

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/34130#note_33397067.

We introduced head_pipeline as a value of merge_requests. This is however not updated when external pipeline is created. Thus this leads to issue described above.

I also created ~"technical debt" to fix the CommitStatus API: https://gitlab.com/gitlab-org/gitlab-ce/issues/34376.

Merge request reports