fix: update to add the fork remote (#2010)

This commit is contained in:
Tonye Jack
2024-03-26 12:28:16 -06:00
committed by GitHub
parent 117616472f
commit 6354e6c542
3 changed files with 3 additions and 3 deletions

View File

@@ -747,7 +747,7 @@ export const getParentSha = async ({cwd}: {cwd: string}): Promise<string> => {
export const setForkRemote = async ({cwd}: {cwd: string}): Promise<void> => {
await exec.getExecOutput(
'git',
['remote', 'set-url', 'fork', github.context.payload.repository?.clone_url],
['remote', 'add', 'fork', github.context.payload.repository?.clone_url],
{
cwd,
silent: !core.isDebug()