diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index af06a19..ab3752a 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -135,8 +135,10 @@ jobs: } } console.log(categorizedPRs); + for (const category of categorizedPRs) { - if (category.labels.some(label => prLabels.includes(label))) { + + if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.inculdes("new script"))) { if (category.subCategories && category.subCategories.length > 0) { const subCategory = category.subCategories.find(sub => sub.labels.some(label => prLabels.includes(label))