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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
282674c1
Commit
282674c1
authored
Jun 07, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for the 'only_allow_merge_if_build_succeeds.rb' feature
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
6dff7c17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
doc/workflow/merge_requests.md
doc/workflow/merge_requests.md
+11
-0
doc/workflow/merge_requests/only_allow_merge_if_build_succeeds.png
...low/merge_requests/only_allow_merge_if_build_succeeds.png
+0
-0
No files found.
doc/workflow/merge_requests.md
View file @
282674c1
...
...
@@ -2,6 +2,17 @@
Merge requests allow you to exchange changes you made to source code
## Only allow merge requests to be merged if the build succeeds
You can prevent merge requests from being merged if their build did not succeed
in the project settings page.
![
only_allow_merge_if_build_succeeds
](
merge_requests/only_allow_merge_if_build_succeeds.png
)
Navigate to project settings page and select the
`Only allow merge requests to be merged if the build succeeds`
check box.
Please note that you need to have builds configured to enable this feature.
## Checkout merge requests locally
Locate the section for your GitLab remote in the
`.git/config`
file. It looks like this:
...
...
doc/workflow/merge_requests/only_allow_merge_if_build_succeeds.png
0 → 100644
View file @
282674c1
17.1 KB
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