This commit is contained in:
Yoann Chaudet
2024-04-29 13:03:21 -07:00
parent 79af930b77
commit 264962401d
2 changed files with 11 additions and 1 deletions
+6
View File
@@ -163,6 +163,9 @@ async function checkWorkflow(
await exec("rm", ["-fr", ...settings.folders]);
await exec("rm", ["-fr", "../../icons"]);
// Ignore read-only folders from compatible workflows list
result.compatibleWorkflows = result.compatibleWorkflows.filter(x => !settings.readOnlyFolders.includes(x.folder));
console.log("Sync changes from main for compatible workflows");
await exec("git", [
"checkout",
@@ -184,6 +187,9 @@ async function checkWorkflow(
})
),
]);
// Add back Pages icons
} catch (e) {
console.error("Unhandled error while syncing workflows", e);
process.exitCode = 1;
+5 -1
View File
@@ -2,7 +2,11 @@
"folders": [
"../../ci",
"../../automation",
"../../code-scanning"
"../../code-scanning",
"../../pages"
],
"readOnlyFolders": [
"../../pages"
],
"enabledActions": [
"actions/cache",