mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Workflow Update
This commit is contained in:
12
.github/workflows/changelog-pr.yaml
vendored
12
.github/workflows/changelog-pr.yaml
vendored
@@ -136,6 +136,17 @@ jobs:
|
||||
}
|
||||
|
||||
|
||||
// Check if PR has "new script" label
|
||||
if (prLabels.includes("new script")) {
|
||||
// Find the New Script category
|
||||
const newScriptCategory = categorizedPRs.find(category =>
|
||||
category.title === "New Scripts" || category.labels.includes("new script"));
|
||||
|
||||
if (newScriptCategory) {
|
||||
newScriptCategory.notes.push(prNote);
|
||||
}
|
||||
} else {
|
||||
// Normal category processing for other PRs
|
||||
for (const category of categorizedPRs) {
|
||||
if (category.labels.some(label => prLabels.includes(label))) {
|
||||
if (category.subCategories && category.subCategories.length > 0) {
|
||||
@@ -154,6 +165,7 @@ jobs:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user