diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index 417d3ba..af1a931 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -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))