14 lines
295 B
Ruby
14 lines
295 B
Ruby
require './spec/support/sidekiq_middleware'
|
|
|
|
Gitlab::Seeder.quiet do
|
|
admin_user = User.admins.first
|
|
|
|
Project.not_mass_generated.each do |project|
|
|
params = {
|
|
name: 'master'
|
|
}
|
|
|
|
ProtectedBranches::CreateService.new(project, admin_user, params).execute
|
|
print '.'
|
|
end
|
|
end
|