mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Workflow Update
This commit is contained in:
11
.github/workflows/changelog-pr.yaml
vendored
11
.github/workflows/changelog-pr.yaml
vendored
@@ -140,26 +140,23 @@ 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.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))
|
||||||
);
|
);
|
||||||
|
|
||||||
if (subCategory) {
|
if (subCategory) {
|
||||||
|
if(!category.labels.includes("new script")){
|
||||||
subCategory.notes.push(prNote);
|
subCategory.notes.push(prNote);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
category.notes.push(prNote);
|
category.notes.push(prNote);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(!category.labels.includes("new script")) {
|
|
||||||
category.notes.push(prNote);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}else if (category.labels.includes("new script")) {
|
|
||||||
if (prLabels.includes("new script")) {
|
|
||||||
category.notes.push(prNote);
|
category.notes.push(prNote);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user