# git-cliff configuration # https://git-cliff.org/docs/configuration [changelog] header = "" body = """ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %} - {% if commit.scope %}**{{ commit.scope }}**: {% endif %}{{ commit.message | split(pat="\n") | first | trim }}{% if commit.remote.pr_number %} (#{{ commit.remote.pr_number }}){% endif %} ([#{{ commit.id | truncate(length=7, end="") }}](https://github.com/BoosApi-Desktop/BoosApi/commit/{{ commit.id }})) {%- endfor %} {% endfor %} """ footer = "" trim = true [git] conventional_commits = true filter_unconventional = false split_commits = false commit_preprocessors = [ { pattern = '\(#([0-9]+)\)', replace = "" }, ] commit_parsers = [ { message = "^feat", group = "๐Ÿš€ ๆ–ฐๅŠŸ่ƒฝ" }, { message = "^fix", group = "๐Ÿ› Bug ไฟฎๅค" }, { message = "^perf", group = "โšก ๆ€ง่ƒฝๆๅ‡" }, { message = "^refactor", group = "๐Ÿ”จ ้‡ๆž„" }, { message = "^style", group = "๐ŸŽจ ๆ ทๅผ" }, { message = "^docs", group = "๐Ÿ“ ๆ–‡ๆกฃ" }, { message = "^ci", group = "๐Ÿ”ง CI/CD" }, { message = "^chore\\(version\\)", skip = true }, { message = "^chore", group = "๐Ÿ“ฆ ๆ‚้กน" }, { message = "^test", group = "๐Ÿงช ๆต‹่ฏ•" }, { message = "^build", group = "๐Ÿ—๏ธ ๆž„ๅปบ" }, { body = ".*security", group = "๐Ÿ”’ ๅฎ‰ๅ…จ" }, ] filter_commits = false tag_pattern = "v[0-9].*" sort_commits = "newest"