Skip to content

Drop all merge requests from merge trains when the project-level setting is disabled

What does this MR do?

When the project-level setting 'Merge Pipelines enabled' is disabled, any on-train merge requests will be immediately dropped.

This MR incorporates the unmerged MR !17771 (closed), which has now been closed, to add the first_in_trains method.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Performance 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

Closes #14959 (closed)

Edited by Sean Carroll

Merge request reports