Workflow Update

This commit is contained in:
Michel Roegl-Brunner 2025-03-24 13:32:56 +01:00
parent 155319a752
commit 7945b07fe6

View File

@ -147,21 +147,18 @@ jobs:
); );
if (subCategory) { if (subCategory) {
subCategory.notes.push(prNote);
} else {
category.notes.push(prNote);
}
} else {
if(!category.labels.includes("new script")){ if(!category.labels.includes("new script")){
subCategory.notes.push(prNote);
}
} else {
category.notes.push(prNote); category.notes.push(prNote);
} }
} } else {
}else if (category.labels.includes("new script")) {
if (prLabels.includes("new script")) {
category.notes.push(prNote); category.notes.push(prNote);
} }
} }
} }
}
return categorizedPRs; return categorizedPRs;
} }