Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Merge pull request #51 from ad-m/patch-1
Avoid update remote of repository
  • Loading branch information
asottile committed Oct 10, 2020
2 parents e7c888c + ca13fd4 commit 763fbafdffca49ae97893be3e08a1cf96f2af95f
Showing 1 changed file with 1 addition and 2 deletions.
@@ -78,8 +78,7 @@ async function main() {

await exec.exec('git', ['commit', '-am', 'pre-commit fixes']);
const url = addToken(pr.head.repo.clone_url, token);
await exec.exec('git', ['remote', 'set-url', 'origin', url]);
await exec.exec('git', ['push', 'origin', 'HEAD']);
await exec.exec('git', ['push', url, 'HEAD']);

0 comments on commit 763fbaf

Please sign in to comment.