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

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: bb3e0f1a0c00e5cdca0e03bc290c755ad098306e (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
# frozen_string_literal: true

module Types
  module MergeRequests
    class MergeStatusEnum < BaseEnum
      graphql_name 'MergeStatus'
      description '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 'CAN_BE_MERGED',
            value: 'can_be_merged',
            description: 'There are no conflicts between the source and target branches.'
      value 'CANNOT_BE_MERGED',
            value: 'cannot_be_merged',
            description: 'There are conflicts between the source and target branches.'
      value 'CANNOT_BE_MERGED_RECHECK',
            value: 'cannot_be_merged_recheck',
            description: 'Currently unchecked. The previous state was `CANNOT_BE_MERGED`.'
    end
  end
end