Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Avoid update remote of repository
  • Loading branch information
ad-m committed Oct 9, 2020
1 parent e7c888c commit ca13fd436e8badc050a14ccc40b98d7a7ee8bf3c
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 ca13fd4

Please sign in to comment.