Workflow Update
This commit is contained in:
parent
a4480b3da0
commit
a45dd69ba5
41
.github/changelog-pr-config.json
vendored
41
.github/changelog-pr-config.json
vendored
@ -10,17 +10,22 @@
|
|||||||
{
|
{
|
||||||
"title": "🐞 Bug Fixes",
|
"title": "🐞 Bug Fixes",
|
||||||
"labels": ["bugfix"],
|
"labels": ["bugfix"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "✨ New Features",
|
"title": "✨ New Features",
|
||||||
"labels": ["feature"],
|
"labels": ["feature"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "💥 Breaking Changes",
|
"title": "💥 Breaking Changes",
|
||||||
"labels": ["breaking change"],
|
"labels": ["breaking change"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "🔧 Refactor",
|
||||||
|
"labels": ["refactor"],
|
||||||
|
"notes": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -31,32 +36,42 @@
|
|||||||
{
|
{
|
||||||
"title": "🐞 Bug Fixes",
|
"title": "🐞 Bug Fixes",
|
||||||
"labels": ["bugfix"],
|
"labels": ["bugfix"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "✨ New Features",
|
"title": "✨ New Features",
|
||||||
"labels": ["feature"],
|
"labels": ["feature"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "💥 Breaking Changes",
|
"title": "💥 Breaking Changes",
|
||||||
"labels": ["breaking change"],
|
"labels": ["breaking change"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "📡 API",
|
"title": "📡 API",
|
||||||
"labels": ["api"],
|
"labels": ["api"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "💾 Core",
|
"title": "💾 Core",
|
||||||
"labels": ["core"],
|
"labels": ["core"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "📂 Github",
|
"title": "📂 Github",
|
||||||
"labels": ["github"],
|
"labels": ["github"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "📝 Documentation",
|
||||||
|
"labels": ["documentation"],
|
||||||
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "🔧 Refactor",
|
||||||
|
"labels": ["refactor"],
|
||||||
|
"notes": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -67,22 +82,22 @@
|
|||||||
{
|
{
|
||||||
"title": "🐞 Bug Fixes",
|
"title": "🐞 Bug Fixes",
|
||||||
"labels": ["bugfix"],
|
"labels": ["bugfix"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "✨ New Features",
|
"title": "✨ New Features",
|
||||||
"labels": ["feature"],
|
"labels": ["feature"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "💥 Breaking Changes",
|
"title": "💥 Breaking Changes",
|
||||||
"labels": ["breaking change"],
|
"labels": ["breaking change"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "📝 Script Information",
|
"title": "📝 Script Information",
|
||||||
"labels": ["json"],
|
"labels": ["json"],
|
||||||
"notes" : []
|
"notes": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
1
.github/workflows/changelog-pr.yaml
vendored
1
.github/workflows/changelog-pr.yaml
vendored
@ -138,6 +138,7 @@ jobs:
|
|||||||
|
|
||||||
for (const category of categorizedPRs) {
|
for (const category of categorizedPRs) {
|
||||||
console.log("Category: ", category);
|
console.log("Category: ", category);
|
||||||
|
|
||||||
if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.includes("new script"))) {
|
if (category.labels.some(label => prLabels.includes(label)) && !category.labels.some(label => prLabels.includes("new script"))) {
|
||||||
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 =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user