gitlab-org--gitlab-foss/lib/gitlab/ci/config/entry/trigger.rb

19 lines
349 B
Ruby
Raw Normal View History

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents a trigger policy for the job.
#
class Trigger < Node
include Validatable
validations do
validates :config, array_of_strings_or_regexps: true
end
end
end
end
end
end