Avoid update remote of repository

This commit is contained in:
Adam Dobrawy
2020-10-10 01:57:53 +02:00
committed by GitHub
parent e7c888c0db
commit ca13fd436e

View File

@@ -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']);
});
}
}