Workflow Update
This commit is contained in:
parent
672cee859c
commit
d9f4009058
7
.github/workflows/changelog-pr.yaml
vendored
7
.github/workflows/changelog-pr.yaml
vendored
@ -137,12 +137,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
for (const category of categorizedPRs) {
|
for (const category of categorizedPRs) {
|
||||||
console.log("Category: ", category);
|
if (category.labels.some(label => prLabels.includes(label))) {
|
||||||
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.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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user