debian-mirror-gitlab/lib/gitlab/ci/config/entry/only_policy.rb
2018-12-23 12:14:25 +05:30

18 lines
344 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents an only/except trigger policy for the job.
#
class OnlyPolicy < Policy
def self.default
{ refs: %w[branches tags] }
end
end
end
end
end
end