gitlab-org--gitlab-foss/db/fixtures/development/16_protected_branches.rb
2016-07-29 15:20:39 +05:30

12 lines
230 B
Ruby

Gitlab::Seeder.quiet do
admin_user = User.find(1)
Project.all.each do |project|
params = {
name: 'master'
}
ProtectedBranches::CreateService.new(project, admin_user, params).execute
print '.'
end
end