Ensure that the first added admin performs repository imports
This commit is contained in:
parent
be969bb4de
commit
d74673fd43
2 changed files with 2 additions and 1 deletions
|
@ -66,6 +66,7 @@ v 7.11.0 (unreleased)
|
|||
- Add style for <kbd> element in markdown
|
||||
- Spin spinner icon next to "Checking for CI status..." on MR page.
|
||||
- Fix reference links in dashboard activity and ATOM feeds.
|
||||
- Ensure that the first added admin performs repository imports
|
||||
|
||||
v 7.10.2
|
||||
- Fix CI links on MR page
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace :gitlab do
|
|||
if project
|
||||
puts " * #{project.name} (#{repo_path}) exists"
|
||||
else
|
||||
user = User.admins.first
|
||||
user = User.admins.reorder("id").first
|
||||
|
||||
project_params = {
|
||||
name: name,
|
||||
|
|
Loading…
Reference in a new issue