Skip to content

Trigger Merge When Pipeline Succeeds on pipeline event

EDIT: Merged, but closed because of the bug: https://gitlab.com/gitlab-org/gitlab-ce/issues/22254#note_16963101

What does this MR do?

This MR is meant to improve merge when build succeeds triggers, which has an impact on performance.

  • Move Merge When Build Succeeds trigger from commit status to pipeline event
  • Drop support for triggering event for branches that include commit status submitted without branch (no longer relevant)
  • Perform Merge When Pipeline Succeeds asynchronously to improve performance and avoid race conditions
  • Add missing feature test that verifies if MWBS feature actually works and merges merge requests
  • Update the documentation to reflect change in the behavior

Moved to separate merge request:

  • Rename Merge When Build Succeeds to Merge When Pipeline Succeeds
  • Update documentation to reflect name change for this feature

Does this MR meet the acceptance criteria?

  • CHANGELOG entry added
  • Tests
    • Added for this feature/bug
    • All builds are passing

Merge request reports