From 344f940f5938cd97d6e0ce4436592df3e88a69f0 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 24 Mar 2025 13:55:43 +0100 Subject: [PATCH] Workflow Update --- .github/workflows/changelog-pr.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index 09e2feb..87f6328 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -134,10 +134,10 @@ jobs: prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; } } - console.log(categorizedPRs); + for (const category of categorizedPRs) { - + console.log(category); if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.includes("new script"))) { if (category.subCategories && category.subCategories.length > 0) { const subCategory = category.subCategories.find(sub => @@ -150,8 +150,6 @@ jobs: category.notes.push(prNote); } } - }else if (category.labels.some(label => prLabels.includes("new script")){ - category.notes.push(prNote); } }