This commit is contained in:
Matthias Pigulla 2021-02-13 20:07:04 +00:00
parent 99c7c405e3
commit 0f851344e9
3 changed files with 4 additions and 0 deletions

1
dist/index.js vendored
View file

@ -190,6 +190,7 @@ try {
child_process.execSync(`git config --global --replace-all url."git@${sha256}:${ownerAndRepo}".insteadOf "https://github.com/${ownerAndRepo}"`);
child_process.execSync(`git config --global --add url."git@${sha256}:${ownerAndRepo}".insteadOf "git@github.com:${ownerAndRepo}"`);
child_process.execSync(`git config --global --add url."git@${sha256}:${ownerAndRepo}".insteadOf "ssh://git@github.com/${ownerAndRepo}"`);
let sshConfig = `\nHost ${sha256}\n`
+ ` HostName github.com\n`