Workflow Update

This commit is contained in:
Michel Roegl-Brunner 2025-03-24 14:05:00 +01:00
parent 672cee859c
commit d9f4009058

View File

@ -137,12 +137,7 @@ jobs:
for (const category of categorizedPRs) {
console.log("Category: ", category);
if(category.labels.includes(label => prLabels.includes("new script"))) {
category.notes.push(prNote);
}
if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.includes("new script"))) {
if (category.labels.some(label => prLabels.includes(label))) {
if (category.subCategories && category.subCategories.length > 0) {
const subCategory = category.subCategories.find(sub =>
sub.labels.some(label => prLabels.includes(label))