From 81c0e11b098073d7cdafec7184fd19323fb15fd4 Mon Sep 17 00:00:00 2001 From: Craig Gumbley Date: Sun, 19 Jun 2022 15:48:02 +0100 Subject: [PATCH] Add a new excluded label default This commit adds the `dependencies` label as a default value for the excluded_labels configuration property. This is so that PRs from dependabot do not show up in changelogs. --- internal/pkg/configuration/configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/configuration/configuration.go b/internal/pkg/configuration/configuration.go index cd44e9b..21058cb 100644 --- a/internal/pkg/configuration/configuration.go +++ b/internal/pkg/configuration/configuration.go @@ -138,7 +138,7 @@ func InitConfig() error { func setDefaults() { viper.SetDefault("file_name", "CHANGELOG.md") - viper.SetDefault("excluded_labels", []string{"maintenance"}) + viper.SetDefault("excluded_labels", []string{"maintenance", "dependencies"}) sections := make(map[string][]string) sections["changed"] = []string{"backwards-incompatible"}