Skip to content

Commit

Permalink
ci: configure git-cliff for nicer changelogs (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb authored Oct 29, 2023
1 parent d3c0367 commit 80bb2d7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[git]
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|ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
]

5 changes: 5 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[workspace]
changelog_config = "cliff.toml"

pr_labels = ["release"]

0 comments on commit 80bb2d7

Please sign in to comment.