Spaces:
Paused
Paused
github-actions[bot]
ci: Replace cliff.toml with updated changelog configuration and enhance build workflow with manual tag input
7472dd6 | [changelog] | |
| header = """ | |
| """ | |
| body = """ | |
| {% if version -%} | |
| {% if previous.version -%} | |
| ## Changes in {{ version }} | |
| {% else -%} | |
| ## Initial Release | |
| {% endif -%} | |
| {% else -%} | |
| ## Recent Changes | |
| {% endif -%} | |
| {% if breaking_commits %} | |
| ### π₯ Breaking Changes | |
| {% for commit in breaking_commits -%} | |
| - {{ commit.message | split(pat="\n") | first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ repository_url }}/commit/{{ commit.id }})) by @{{ commit.author.name }} | |
| {% endfor -%} | |
| {% endif -%} | |
| {% for group, commits in commits | group_by(attribute="group") %} | |
| ### {{ group }} | |
| {% for commit in commits -%} | |
| - {{ commit.message | split(pat="\n") | first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ repository_url }}/commit/{{ commit.id }})) by @{{ commit.author.name }} | |
| {% endfor -%} | |
| {% endfor -%} | |
| """ | |
| footer = "" | |
| [git] | |
| conventional_commits = true | |
| filter_unconventional = false | |
| split_commits = false | |
| commit_preprocessors = [ | |
| { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}]({{ repository_url }}/issues/${2}))"}, | |
| ] | |
| commit_parsers = [ | |
| # Scoped commits (most specific) | |
| { message = "^\\w+\\(ci\\)", group = "π€ Continuous Integration" }, | |
| { message = "^\\w+\\(build\\)", group = "π¦ Build System" }, | |
| { message = "^\\w+\\(docs\\)", group = "π Documentation" }, | |
| { message = "^\\w+\\(test\\)", group = "β Testing" }, | |
| { message = "^\\w+\\(style\\)", group = "π¨ Styling" }, | |
| { message = "^\\w+\\(perf\\)", group = "β‘ Performance Improvements" }, | |
| { message = "^\\w+\\(refactor\\)", group = "β»οΈ Code Refactoring" }, | |
| { message = "^\\w+\\(security\\)", group = "π Security" }, | |
| # Conventional commits (less specific) | |
| { message = "^feat", group = "π Features" }, | |
| { message = "^feature", group = "π Features" }, | |
| { message = "^fix", group = "π Bug Fixes" }, | |
| { message = "^bug", group = "π Bug Fixes" }, | |
| { message = "^patch", group = "π Bug Fixes" }, | |
| { message = "^perf", group = "β‘ Performance Improvements" }, | |
| { message = "^refactor", group = "β»οΈ Code Refactoring" }, | |
| { message = "^revert", group = "βͺ Reverts" }, | |
| { message = "^style", group = "π¨ Styling" }, | |
| { message = "^test", group = "β Testing" }, | |
| { message = "^tests", group = "β Testing" }, | |
| { message = "^doc", group = "π Documentation" }, | |
| { message = "^docs", group = "π Documentation" }, | |
| { message = "^build", group = "π¦ Build System" }, | |
| { message = "^ci", group = "π€ Continuous Integration" }, | |
| { message = "^chore", group = "π§Ή Miscellaneous Chores" }, | |
| # Other | |
| { body = ".*security", group = "π Security" }, | |
| { message = ".*", group = "π§ Other Changes" }, | |
| ] | |
| protect_breaking_commits = true | |
| filter_commits = false | |
| tag_pattern = "build-*" | |
| skip_tags = "" | |
| ignore_tags = "" | |
| topo_order = false | |
| sort_commits = "newest" | |