summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/import.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake
index 50b8e331469..75ccd7af793 100644
--- a/lib/tasks/import.rake
+++ b/lib/tasks/import.rake
@@ -62,6 +62,7 @@ class GithubImport
visibility_level: visibility_level,
import_type: 'github',
import_source: @repo['full_name'],
+ import_url: @repo['clone_url'].sub('://', "://#{options[:token]}@"),
skip_wiki: @repo['has_wiki']
).execute
end