llm-api-proxy / .github /cliff.toml
github-actions[bot]
ci: Replace cliff.toml with updated changelog configuration and enhance build workflow with manual tag input
7472dd6
raw
history blame
2.9 kB
[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"