Welcome to mirror list, hosted at ThFree Co, Russian Federation.

detailed_merge_status_enum.rb « merge_requests « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 58104159303a506f320680b7adcab54c42992e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# frozen_string_literal: true

module Types
  module MergeRequests
    class DetailedMergeStatusEnum < BaseEnum
      graphql_name 'DetailedMergeStatus'
      description 'Detailed representation of whether a GitLab merge request can be merged.'

      value 'UNCHECKED',
            value: :unchecked,
            description: 'Merge status has not been checked.'
      value 'CHECKING',
            value: :checking,
            description: 'Currently checking for mergeability.'
      value 'MERGEABLE',
            value: :mergeable,
            description: 'Branch can be merged.'
      value 'BROKEN_STATUS',
            value: :broken_status,
            description: 'Can not merge the source into the target branch, potential conflict.'
      value 'CI_MUST_PASS',
            value: :ci_must_pass,
            description: 'Pipeline must succeed before merging.'
      value 'DISCUSSIONS_NOT_RESOLVED',
            value: :discussions_not_resolved,
            description: 'Discussions must be resolved before merging.'
      value 'DRAFT_STATUS',
            value: :draft_status,
            description: 'Merge request must not be draft before merging.'
      value 'NOT_OPEN',
            value: :not_open,
            description: 'Merge request must be open before merging.'
      value 'NOT_APPROVED',
            value: :not_approved,
            description: 'Merge request must be approved before merging.'
      value 'BLOCKED_STATUS',
            value: :merge_request_blocked,
            description: 'Merge request is blocked by another merge request.'
      value 'POLICIES_DENIED',
            value: :policies_denied,
            description: 'There are denied policies for the merge request.'
    end
  end
end