Workflow Update
This commit is contained in:
parent
ad8a9a56a8
commit
2d6077599e
6
.github/workflows/changelog-pr.yaml
vendored
6
.github/workflows/changelog-pr.yaml
vendored
@ -140,7 +140,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const category of categorizedPRs) {
|
for (const category of categorizedPRs) {
|
||||||
if (category.labels.some(label => prLabels.includes(label)) && !prLabels.includes("new script")) {
|
if (category.labels.some(label => prLabels.includes(label)){
|
||||||
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))
|
||||||
@ -152,7 +152,9 @@ jobs:
|
|||||||
category.notes.push(prNote);
|
category.notes.push(prNote);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
category.notes.push(prNote);
|
if(!category.labels.includes("new script")) {
|
||||||
|
category.notes.push(prNote);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}else if (category.labels.includes("new script")) {
|
}else if (category.labels.includes("new script")) {
|
||||||
if (prLabels.includes("new script")) {
|
if (prLabels.includes("new script")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user