Workflow Update

This commit is contained in:
Michel Roegl-Brunner 2025-03-24 13:59:25 +01:00
parent a4480b3da0
commit a45dd69ba5
2 changed files with 29 additions and 13 deletions

View File

@ -10,17 +10,22 @@
{
"title": "🐞 Bug Fixes",
"labels": ["bugfix"],
"notes" : []
"notes": []
},
{
"title": "✨ New Features",
"labels": ["feature"],
"notes" : []
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": ["breaking change"],
"notes" : []
"notes": []
},
{
"title": "🔧 Refactor",
"labels": ["refactor"],
"notes": []
}
]
},
@ -31,32 +36,42 @@
{
"title": "🐞 Bug Fixes",
"labels": ["bugfix"],
"notes" : []
"notes": []
},
{
"title": "✨ New Features",
"labels": ["feature"],
"notes" : []
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": ["breaking change"],
"notes" : []
"notes": []
},
{
"title": "📡 API",
"labels": ["api"],
"notes" : []
"notes": []
},
{
"title": "💾 Core",
"labels": ["core"],
"notes" : []
"notes": []
},
{
"title": "📂 Github",
"labels": ["github"],
"notes" : []
"notes": []
},
{
"title": "📝 Documentation",
"labels": ["documentation"],
"notes": []
},
{
"title": "🔧 Refactor",
"labels": ["refactor"],
"notes": []
}
]
},
@ -67,22 +82,22 @@
{
"title": "🐞 Bug Fixes",
"labels": ["bugfix"],
"notes" : []
"notes": []
},
{
"title": "✨ New Features",
"labels": ["feature"],
"notes" : []
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": ["breaking change"],
"notes" : []
"notes": []
},
{
"title": "📝 Script Information",
"labels": ["json"],
"notes" : []
"notes": []
}
]
},

View File

@ -138,6 +138,7 @@ jobs:
for (const category of categorizedPRs) {
console.log("Category: ", 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 =>