Skip to content

Commit

Permalink
fix: update to add the fork remote (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 26, 2024
1 parent 1176164 commit 6354e6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6354e6c

Please sign in to comment.