ci: ignore template bump commits in release notes [skip ci]
This commit is contained in:
@@ -115,6 +115,11 @@ export const generateReleaseNotes = async (args: Args = {}): Promise<ChangelogRe
|
|||||||
|
|
||||||
const typedCommitType: Section = c.type as Section
|
const typedCommitType: Section = c.type as Section
|
||||||
|
|
||||||
|
// Ignore template bump PRs formatted as "templates: bump for vX.X.X"
|
||||||
|
if (c.description.includes('bump for v')) {
|
||||||
|
return sections
|
||||||
|
}
|
||||||
|
|
||||||
if (commitTypesForChangelog.includes(typedCommitType)) {
|
if (commitTypesForChangelog.includes(typedCommitType)) {
|
||||||
if (!sections[typedCommitType]) {
|
if (!sections[typedCommitType]) {
|
||||||
sections[typedCommitType] = []
|
sections[typedCommitType] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user