@neriros/ralphy 2.16.0 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +3 -10
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -35029,8 +35029,8 @@ import { readFileSync as readFileSync2 } from "fs";
|
|
|
35029
35029
|
import { resolve } from "path";
|
|
35030
35030
|
function getVersion() {
|
|
35031
35031
|
try {
|
|
35032
|
-
if ("2.16.
|
|
35033
|
-
return "2.16.
|
|
35032
|
+
if ("2.16.1")
|
|
35033
|
+
return "2.16.1";
|
|
35034
35034
|
} catch {}
|
|
35035
35035
|
const dirsToTry = [];
|
|
35036
35036
|
try {
|
|
@@ -60791,14 +60791,7 @@ async function fixConflictsAndCiLoop(ctx, prUrl, wantFixCi, checkPrConflict) {
|
|
|
60791
60791
|
onPhase: (p, d) => ctx.emit(p, d),
|
|
60792
60792
|
getStatus: () => getPrChecksStatus(prUrl, ctx.cmd, ctx.cwd, (n, ms, why) => ctx.log(` gh transient (try ${n}) \u2014 retry in ${Math.round(ms / 1000)}s \xB7 ${why}`, "yellow")),
|
|
60793
60793
|
getFailedLogs: (ids) => fetchFailedRunLogs(ids, ctx.cmd, ctx.cwd),
|
|
60794
|
-
runTaskWithSteering:
|
|
60795
|
-
try {
|
|
60796
|
-
await prependFixTask(join14(ctx.changeDir, "tasks.md"), "Fix failing CI checks", steering);
|
|
60797
|
-
} catch (err) {
|
|
60798
|
-
ctx.log(`! could not prepend fix task: ${err.message}`, "red");
|
|
60799
|
-
}
|
|
60800
|
-
return ctx.respawnWorker();
|
|
60801
|
-
},
|
|
60794
|
+
runTaskWithSteering: (steering) => runWorkerWithFixTask(ctx, "Fix failing CI checks", steering),
|
|
60802
60795
|
pushBranch: async () => {
|
|
60803
60796
|
await ctx.cmd.run(["git", "push", "origin", ctx.branch], ctx.cwd);
|
|
60804
60797
|
},
|