This commit is contained in:
Yoann Chaudet
2024-04-29 13:16:50 -07:00
parent 264962401d
commit c7480532d0
+2 -2
View File
@@ -153,7 +153,7 @@ async function checkWorkflow(
console.groupEnd();
console.log("Switch to GHES branch");
await exec("git", ["checkout", "ghes"]);
// await exec("git", ["checkout", "ghes"]);
// In order to sync from main, we might need to remove some workflows, add some
// and modify others. The lazy approach is to delete all workflows first, and then
@@ -163,7 +163,7 @@ async function checkWorkflow(
await exec("rm", ["-fr", ...settings.folders]);
await exec("rm", ["-fr", "../../icons"]);
// Ignore read-only folders from compatible workflows list
// Ignore compatible workflows in a read-only folder
result.compatibleWorkflows = result.compatibleWorkflows.filter(x => !settings.readOnlyFolders.includes(x.folder));
console.log("Sync changes from main for compatible workflows");