Skip to content

WIP: Introduce allow merge before pipeline(s) complete setting

What does this MR do?

Adds a new merge options setting Allow merge before pipeline(s) complete that allows users to disable the ability to merge immediately before a pipeline has completed. The default value of the checkbox is true which holds existing functionality already in place.

View at: Project Settings > General > Merge requests (expanded) > Merge options (section)

Related to: #320981 (closed)

Screenshots (strongly suggested)

Setting

before after
Screen_Shot_2021-02-25_at_10.01.01_AM Screen_Shot_2021-02-25_at_9.59.45_AM

Ready to merge

enabled disabled
Screen_Shot_2021-02-25_at_10.25.59_AM cell
cell cell

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Payton Burdette

Merge request reports