Skip creating the merge request if repo is empty
This commit is contained in:
parent
3b0dcbf235
commit
ba8321a52a
|
@ -28,6 +28,8 @@ Gitlab::Seeder.quiet do
|
|||
|
||||
project = Project.find_by_full_path('gitlab-org/gitlab-test')
|
||||
|
||||
next if project.empty_repo? # We don't have repository on CI
|
||||
|
||||
params = {
|
||||
source_branch: 'feature',
|
||||
target_branch: 'master',
|
||||
|
|
Loading…
Reference in New Issue