Commit 1be7f5aa authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch...

Merge branch '59979-update-documentation-about-only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds-to-take-into-account-the-settings-page-reorganization' into 'master'

Update "Pipelines must succeed" documentation

Closes #59979

See merge request gitlab-org/gitlab-ce!26945
parents 7aa26dee 2339ea0b
...@@ -35,11 +35,11 @@ You need to have jobs configured to enable this feature. ...@@ -35,11 +35,11 @@ You need to have jobs configured to enable this feature.
You can prevent merge requests from being merged if their pipeline did not succeed You can prevent merge requests from being merged if their pipeline did not succeed
or if there are discussions to be resolved. or if there are discussions to be resolved.
Navigate to your project's settings page, select the Navigate to your project's settings page and expand the **Merge requests** section.
**Only allow merge requests to be merged if the pipeline succeeds** check box and In the **Merge checks** subsection, select the **Pipelines must succeed** check
hit **Save** for the changes to take effect. box and hit **Save** for the changes to take effect.
![Only allow merge if pipeline succeeds settings](img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png) ![Pipelines must succeed settings](img/merge_when_pipeline_succeeds_only_if_succeeds_settings.png)
From now on, every time the pipeline fails you will not be able to merge the From now on, every time the pipeline fails you will not be able to merge the
merge request from the UI, until you make all relevant jobs pass. merge request from the UI, until you make all relevant jobs pass.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment