This commit is contained in:
di-sukharev
2023-05-20 22:00:45 +08:00
parent 9c87d8f7b8
commit 2c5a37525c
2 changed files with 6 additions and 4 deletions

View File

@@ -221,11 +221,12 @@ async function run(retries = 3) {
const commits = commitsResponse.data;
// --- TEST ---
await exec.exec('git', ['checkout', sourceBranch]);
await exec.exec('git', ['fetch', '--all']);
await exec.exec('git', ['checkout', `origin/${sourceBranch}`]);
await exec.exec('git', ['pull']);
await exec.exec('git', ['status']);
await exec.exec('git', ['log', '--oneline']);
await exec.exec('git', ['rev-list', '--count', sourceBranch]);
await exec.exec('git', ['git rev-list', '--count', sourceBranch]);
// --- TEST ---
await improveCommitMessagesWithRebase({