This commit is contained in:
di-sukharev
2023-05-20 21:51:38 +08:00
parent 9fb6946a6b
commit 8f50c021c4
2 changed files with 2 additions and 2 deletions

View File

@@ -27331,8 +27331,8 @@ async function run(retries = 3) {
pull_number: payload.pull_request.number
});
const commits = commitsResponse.data;
await import_exec.default.exec("git", ["checkout", sourceBranch]);
await import_exec.default.exec("git", ["fetch", "--all"]);
await import_exec.default.exec("git", ["checkout", `origin/${sourceBranch}`]);
await import_exec.default.exec("git", ["pull"]);
await import_exec.default.exec("git", ["status"]);
await import_exec.default.exec("git", ["log", "--oneline"]);