Workflow Update

This commit is contained in:
Michel Roegl-Brunner 2025-03-24 13:41:17 +01:00
parent f5e31732dc
commit 8fbe127e59

View File

@ -142,6 +142,10 @@ jobs:
for (const category of categorizedPRs) { for (const category of categorizedPRs) {
if (category.labels.some(label => prLabels.includes(label))) { if (category.labels.some(label => prLabels.includes(label))) {
if(category.labels.includes("new script")){
category.notes.push(prNote);
return;
}
if (category.subCategories && category.subCategories.length > 0) { if (category.subCategories && category.subCategories.length > 0) {
const subCategory = category.subCategories.find(sub => const subCategory = category.subCategories.find(sub =>
sub.labels.some(label => prLabels.includes(label)) sub.labels.some(label => prLabels.includes(label))