Skip to content

Add a checkbox for the new project setting to block merge requests when status checks are not passing

Problem description

As described in the parent epic &8516 (closed) merge requests can be merged even if the status checks are pending or failed.

Proposal

Once the project-level setting #369859 (closed) has been added we should add a new merge request state to disable the Merge button on merge requests if the setting is enabled and status checks are not passing.

Pending should also be considered a failure.

Implementation plan

  1. Add a checkbox for the new project-level setting.
  2. Update specs.
  3. Update documentation.

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖