fix: update to add the fork remote (#2010)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user