From 2d6077599e0945c3842f4f9ea7a4ee46dc1a3b12 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 24 Mar 2025 13:28:44 +0100 Subject: [PATCH] Workflow Update --- .github/workflows/changelog-pr.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index 8e52f65a..a1c219c7 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -140,7 +140,7 @@ jobs: } for (const category of categorizedPRs) { - if (category.labels.some(label => prLabels.includes(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)) @@ -152,7 +152,9 @@ jobs: category.notes.push(prNote); } } else { - category.notes.push(prNote); + if(!category.labels.includes("new script")) { + category.notes.push(prNote); + } } }else if (category.labels.includes("new script")) { if (prLabels.includes("new script")) {