Workflow Update
This commit is contained in:
parent
344f1b6e18
commit
344f940f59
6
.github/workflows/changelog-pr.yaml
vendored
6
.github/workflows/changelog-pr.yaml
vendored
@ -134,10 +134,10 @@ jobs:
|
||||
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
|
||||
}
|
||||
}
|
||||
console.log(categorizedPRs);
|
||||
|
||||
|
||||
for (const category of categorizedPRs) {
|
||||
|
||||
console.log(category);
|
||||
if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.includes("new script"))) {
|
||||
if (category.subCategories && category.subCategories.length > 0) {
|
||||
const subCategory = category.subCategories.find(sub =>
|
||||
@ -150,8 +150,6 @@ jobs:
|
||||
category.notes.push(prNote);
|
||||
}
|
||||
}
|
||||
}else if (category.labels.some(label => prLabels.includes("new script")){
|
||||
category.notes.push(prNote);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user