diff --git a/dist/index.js b/dist/index.js index a36baa4..ac64344 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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` diff --git a/index.js b/index.js index 23d818a..cf7b562 100644 --- a/index.js +++ b/index.js @@ -73,6 +73,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`