@tarcisiopgs/lisa 1.40.0 → 1.40.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.
|
@@ -212,10 +212,12 @@ function parsePrConfig(raw) {
|
|
|
212
212
|
if (!raw) return void 0;
|
|
213
213
|
const reviewers = isStringArray(raw.reviewers) ? raw.reviewers.filter(isValidPrUsername) : void 0;
|
|
214
214
|
const assignees = isStringArray(raw.assignees) ? raw.assignees.filter(isValidPrUsername) : void 0;
|
|
215
|
-
|
|
215
|
+
const autoMerge = raw.auto_merge === true;
|
|
216
|
+
if (!reviewers?.length && !assignees?.length && !autoMerge) return void 0;
|
|
216
217
|
return {
|
|
217
218
|
reviewers: reviewers?.length ? reviewers : void 0,
|
|
218
|
-
assignees: assignees?.length ? assignees : void 0
|
|
219
|
+
assignees: assignees?.length ? assignees : void 0,
|
|
220
|
+
auto_merge: autoMerge || void 0
|
|
219
221
|
};
|
|
220
222
|
}
|
|
221
223
|
function loadConfig(cwd = process.cwd()) {
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
runLoop,
|
|
15
15
|
saveConfig,
|
|
16
16
|
validateConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V65N7YWX.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError,
|
|
20
20
|
buildExecutionWaves,
|
|
@@ -1861,7 +1861,7 @@ async function reviewAndCreate(plan2, planPath, opts) {
|
|
|
1861
1861
|
log("Run `lisa run` when ready.");
|
|
1862
1862
|
return;
|
|
1863
1863
|
}
|
|
1864
|
-
const { runLoop: runLoop2 } = await import("./loop-
|
|
1864
|
+
const { runLoop: runLoop2 } = await import("./loop-CSJRDKQU.js");
|
|
1865
1865
|
const waves = buildExecutionWaves(plan2.issues);
|
|
1866
1866
|
const maxWaveSize = Math.max(...waves.map((w) => w.length));
|
|
1867
1867
|
await runLoop2(config2, {
|