Sha256: 2dbac8568ca02fb0c620bc01f49fa8f3cc47caedc534ac17d1110cce9896c5d4
Contents?: true
Size: 483 Bytes
Versions: 21
Compression:
Stored size: 483 Bytes
Contents
#!/usr/bin/env ruby require 'yaml' require_relative '../lib/gitlab/triage/option_parser' require_relative '../lib/gitlab/triage/engine' options = Gitlab::Triage::OptionParser.parse(ARGV) options.policies_files << '.triage-policies.yml' if options.policies_files.empty? options.policies_files.each do |policies_file| policies = HashWithIndifferentAccess.new(YAML.load_file(policies_file)) Gitlab::Triage::Engine .new(policies: policies, options: options) .perform end
Version data entries
21 entries across 21 versions & 1 rubygems