Update property removal logic in schema.ts

This commit is contained in:
Konsti Wohlwend 2025-11-03 16:37:12 -08:00 committed by GitHub
parent 3538638406
commit 1e36f0e83b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -338,7 +338,7 @@ export function migrateConfigOverride(type: "project" | "branch" | "environment"
// BEGIN 2025-10-29: Removed workflows and everything associated with it
if (isBranchOrHigher) {
res = removeProperty(res, p => p[0] === "workflows");
res = removeProperty(res, p => p[0] === "apps" && p[1] === "workflows");
res = removeProperty(res, p => p[0] === "apps" && p[1] === "installed" && p[2] === "workflows");
}
// END