Merge branch 'fix-github-clone-wiki' into 'master'
GitHub - Fix token interpolation when cloning wiki repository See merge request !12107
This commit is contained in:
commit
0d499ce215
2 changed files with 5 additions and 1 deletions
4
changelogs/unreleased/fix-github-clone-wiki.yml
Normal file
4
changelogs/unreleased/fix-github-clone-wiki.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Github - Fix token interpolation when cloning wiki repository
|
||||
merge_request:
|
||||
author:
|
|
@ -92,7 +92,7 @@ module Github
|
|||
end
|
||||
|
||||
def fetch_wiki_repository
|
||||
wiki_url = "https://{options.fetch(:token)}@github.com/#{repo}.wiki.git"
|
||||
wiki_url = "https://#{options.fetch(:token)}@github.com/#{repo}.wiki.git"
|
||||
wiki_path = "#{project.path_with_namespace}.wiki"
|
||||
|
||||
unless project.wiki.repository_exists?
|
||||
|
|
Loading…
Reference in a new issue