Skip to content

Commit

Permalink
chore: Configure git cliff to generate shorter changelog
Browse files Browse the repository at this point in the history
Only commits having fixes or features are show now.

Otherwise 99% of the changelog is spam.
  • Loading branch information
iamsergio committed Apr 6, 2024
1 parent 181ca74 commit 8210ae4
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,13 @@ commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
{ message = "^chore:", skip = true },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" }
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
# filter out the commits that are not matched by commit parsers
filter_commits = false
filter_commits = true
# regex for matching git tags
# tag_pattern = "v[0-9].*"
# regex for skipping tags
Expand Down

0 comments on commit 8210ae4

Please sign in to comment.