Workflow Update
This commit is contained in:
parent
a4480b3da0
commit
a45dd69ba5
15
.github/changelog-pr-config.json
vendored
15
.github/changelog-pr-config.json
vendored
@ -21,6 +21,11 @@
|
|||||||
"title": "💥 Breaking Changes",
|
"title": "💥 Breaking Changes",
|
||||||
"labels": ["breaking change"],
|
"labels": ["breaking change"],
|
||||||
"notes": []
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "🔧 Refactor",
|
||||||
|
"labels": ["refactor"],
|
||||||
|
"notes": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -57,6 +62,16 @@
|
|||||||
"title": "📂 Github",
|
"title": "📂 Github",
|
||||||
"labels": ["github"],
|
"labels": ["github"],
|
||||||
"notes": []
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "📝 Documentation",
|
||||||
|
"labels": ["documentation"],
|
||||||
|
"notes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "🔧 Refactor",
|
||||||
|
"labels": ["refactor"],
|
||||||
|
"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