- introduce new configuration option, allowing to provide an empty_content for categories matching no PRs

- FIX https://github.com/mikepenz/release-changelog-builder-action/issues/804
This commit is contained in:
Mike Penz
2022-07-08 10:40:47 +02:00
parent 9628cd4fe0
commit 89475f1193
6 changed files with 46 additions and 7 deletions
+1
View File
@@ -21,6 +21,7 @@ export interface Category {
labels: string[] // labels to associate PRs to this category
exclude_labels?: string[] // if an exclude label is detected, the PR will be excluded from this category
exhaustive?: boolean // requires all labels to be present in the PR
empty_content ?: string // if the category has no matching PRs, this content will be used. If not set, the category will be skipped in the changelog.
}
export interface Sort {