Skip to content

Commit

Permalink
Add a new excluded label default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chelnak committed Jun 19, 2022
1 parent 1d20eaa commit 81c0e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 81c0e11

Please sign in to comment.