Files
Otkritiebot/cliff.toml
Verum 02afbd23ec
Some checks failed
CI / Lint (ruff + mypy) (push) Failing after 34s
CI / Run tests (push) Has been skipped
CI / Docker build test (push) Successful in 13s
123
2026-04-02 18:04:04 +07:00

72 lines
1.6 KiB
TOML

# ============================================================
# GIT CLIFF CONFIGURATION
# ============================================================
[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.
The format is based on:
https://keepachangelog.com
https://semver.org
"""
body = """
{% if version %}
## {{ version }} — {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}
## Unreleased
{% endif %}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group }}
{% for commit in commits %}
- {{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end="") }})
{% endfor %}
{% endfor %}
"""
footer = """
---
Generated automatically by git-cliff
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
sort_commits = "oldest"
commit_parsers = [
{ message = ".*!", group = "💥 Breaking Changes" },
{ message = "^feat(\\(.+\\))?:", group = "🚀 Features" },
{ message = "^fix(\\(.+\\))?:", group = "🐛 Bug Fixes" },
{ message = "^perf(\\(.+\\))?:", group = "⚡ Performance" },
{ message = "^refactor(\\(.+\\))?:", group = "♻️ Refactoring" },
{ message = "^docs(\\(.+\\))?:", group = "📚 Documentation" },
{ message = "^style(\\(.+\\))?:", group = "🎨 Styling" },
{ message = "^test(\\(.+\\))?:", group = "🧪 Tests" },
{ message = "^build(\\(.+\\))?:", group = "📦 Build System" },
{ message = "^ci(\\(.+\\))?:", group = "⚙️ CI" },
{ message = "^chore(\\(.+\\))?:", group = "🔧 Maintenance" }
]
tag_pattern = "v[0-9]*"
[remote.github]
owner = "your-user"
repo = "your-repo"