This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

_merge_request_merge_settings.html.haml 800 Bytes
Newer Older
1
2
3
4
- form = local_assigns.fetch(:form)

.form-group
  .checkbox.builds-feature
5
6
    = form.label :only_allow_merge_if_pipeline_succeeds do
      = form.check_box :only_allow_merge_if_pipeline_succeeds
Filipa Lacerda's avatar
Filipa Lacerda committed
7
      %strong Only allow merge requests to be merged if the pipeline succeeds
8
9
      %br
      %span.descr
Filipa Lacerda's avatar
Filipa Lacerda committed
10
        Pipelines need to be configured to enable this feature.
11
        = link_to icon('question-circle'), help_page_path('user/project/merge_requests/merge_when_pipeline_succeeds', anchor: 'only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds')
12
13
14
15
  .checkbox
    = form.label :only_allow_merge_if_all_discussions_are_resolved do
      = form.check_box :only_allow_merge_if_all_discussions_are_resolved
      %strong Only allow merge requests to be merged if all discussions are resolved