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

job_restriction_type.rb « config « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb9c03f7c1ee336736526d10843e4070771e4861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    module Config
      class JobRestrictionType < BaseObject
        graphql_name 'CiConfigJobRestriction'

        field :refs, [GraphQL::Types::String], null: true,
                                               description: 'Git refs the job restriction applies to.'
      end
    end
  end
end