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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/label_type.rb')
-rw-r--r--app/graphql/types/label_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/graphql/types/label_type.rb b/app/graphql/types/label_type.rb
index 4848ee30950..d4fac949c93 100644
--- a/app/graphql/types/label_type.rb
+++ b/app/graphql/types/label_type.rb
@@ -18,6 +18,9 @@ module Types
description: 'Description of the label (Markdown rendered as HTML for caching).'
field :id, GraphQL::Types::ID, null: false,
description: 'Label ID.'
+ field :lock_on_merge, GraphQL::Types::Boolean, null: false,
+ description: 'Indicates this label is locked for merge requests ' \
+ 'that have been merged.'
field :text_color, GraphQL::Types::String, null: false,
description: 'Text color of the label.'
field :title, GraphQL::Types::String, null: false,