Skip to content

A blocked pipeline shouldn't prevent merging a MR

Currently, it isn't possible to merge a MR when the pipeline is blocked waiting for a manual action, regardless of the project policy regarding merges and pipeline failures. Such block can occur if there is an action with both when: manual and allow_failure: false.

While I agree that a proper pipeline shouldn't be in this position in the first place, it still feels odd that we would be able to merge if the pipeline has failed, but not if it is blocked. A user of mine testing CI was quite surprised when it happened to them.

Repro project:

laarmen/test_ci_block_merge!1