Skip to content

Commit cc9d922

Browse files
committed
chore: pie2re
1 parent 2a24c73 commit cc9d922

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/ci/codegen/pushToRepository.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ async function pushToRepository(repository: string, config: RepositoryConfigurat
159159
});
160160

161161
await run(`gh auth login --with-token ${ensureGitHubToken()}`);
162-
await run(`gh repo set-default ${OWNER}/${repository}`);
163-
await run(`gh pr merge ${data.number} --auto`);
162+
await run(`gh --repo ${OWNER}/${repository} pr merge ${data.number} --auto`);
164163

165164
console.log(`Pull request created on ${OWNER}/${repository}`);
166165
console.log(` > ${data.url}`);

0 commit comments

Comments
 (0)