Skip to content

Commit

Permalink
Lowercase section names
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed May 8, 2022
1 parent 1ed9f4e commit cd94071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ file_name: CHANGELOG.md
# The possible sections are restricted to: Added, Changed, Deprecated,
# Removed, Fixed, Security.
sections:
Changed:
changed:
- backwards-incompatible
Added:
added:
- fixed
- enhancement
Fixed:
fixed:
- bug
- bugfix
- documentation
Expand Down
6 changes: 3 additions & 3 deletions internal/pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ func setDefaults() {
viper.SetDefault("excluded_labels", []string{"maintenance"})

sections := make(map[string][]string)
sections["Changed"] = []string{"backwards-incompatible"}
sections["Added"] = []string{"feature", "enhancement"}
sections["Fixed"] = []string{"bug", "bugfix", "documentation"}
sections["changed"] = []string{"backwards-incompatible"}
sections["added"] = []string{"feature", "enhancement"}
sections["fixed"] = []string{"bug", "bugfix", "documentation"}

viper.SetDefault("sections", sections)

Expand Down

0 comments on commit cd94071

Please sign in to comment.