Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
10eb440d
Commit
10eb440d
authored
Jan 25, 2021
by
Marcel Amirault
Committed by
Suzanne Selhorn
Jan 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify pipelines must succeed setting if there is no pipeline
parent
1d7c653b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
doc/user/project/merge_requests/merge_when_pipeline_succeeds.md
...er/project/merge_requests/merge_when_pipeline_succeeds.md
+7
-2
No files found.
doc/user/project/merge_requests/merge_when_pipeline_succeeds.md
View file @
10eb440d
...
...
@@ -42,8 +42,12 @@ complete, the merge is blocked until you resolve all existing threads.
## Only allow merge requests to be merged if the pipeline succeeds
You can prevent merge requests from being merged if their pipeline did not succeed
or if there are threads to be resolved. This works for both:
You can prevent merge requests from being merged if:
-
No pipeline ran.
-
The pipeline did not succeed.
This works for both:
-
GitLab CI/CD pipelines
-
Pipelines run from an
[
external CI integration
](
../integrations/overview.md#integrations-listing
)
...
...
@@ -58,6 +62,7 @@ CI providers with this feature. To enable it, you must:
1.
Press
**Save**
for the changes to take effect.
This setting also prevents merge requests from being merged if there is no pipeline.
You should be careful to configure CI/CD so that pipelines run for every merge request.
### Limitations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment