gitlabhq/lib/tasks/gitlab_enable_automerge.rake

10 lines
206 B
Ruby

desc "Give gitlab user full access to every repo"
task :gitlab_enable_automerge => :environment do
Gitlabhq::GitHost.system.new.configure do |git|
git.admin_all_repo
end
puts "Done!".green
end