Workflow Update
This commit is contained in:
parent
82b7868e9c
commit
ca2dd380a1
9
.github/workflows/changelog-pr.yaml
vendored
9
.github/workflows/changelog-pr.yaml
vendored
@ -142,10 +142,6 @@ jobs:
|
|||||||
|
|
||||||
for (const category of categorizedPRs) {
|
for (const category of categorizedPRs) {
|
||||||
if (category.labels.some(label => prLabels.includes(label))) {
|
if (category.labels.some(label => prLabels.includes(label))) {
|
||||||
if(category.labels.includes("new script")){
|
|
||||||
category.notes.push(prNote);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
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))
|
||||||
@ -158,13 +154,10 @@ jobs:
|
|||||||
} else {
|
} else {
|
||||||
category.notes.push(prNote);
|
category.notes.push(prNote);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
|
|
||||||
category.notes.push(prNote);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return categorizedPRs;
|
return categorizedPRs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user