Skip to content

Commit 6354e6c

Browse files
authored
fix: update to add the fork remote (#2010)
1 parent 1176164 commit 6354e6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ export const getParentSha = async ({cwd}: {cwd: string}): Promise<string> => {
747747
export const setForkRemote = async ({cwd}: {cwd: string}): Promise<void> => {
748748
await exec.getExecOutput(
749749
'git',
750-
['remote', 'set-url', 'fork', github.context.payload.repository?.clone_url],
750+
['remote', 'add', 'fork', github.context.payload.repository?.clone_url],
751751
{
752752
cwd,
753753
silent: !core.isDebug()

0 commit comments

Comments
 (0)