again
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user