diff --git a/scripts/cliff.toml b/scripts/cliff.toml index 2e495460db..4664531705 100644 --- a/scripts/cliff.toml +++ b/scripts/cliff.toml @@ -43,7 +43,9 @@ filter_unconventional = true split_commits = false # regex for preprocessing the commit messages commit_preprocessors = [ -# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/neovim/neovim/issues/${2}))"}, + # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/neovim/neovim/issues/${2}))"}, + # Strip "backport:" prefix so backported commits are not treated as OTHER. + { pattern = '^backport[: ]\s*', replace = "" }, ] # regex for parsing and grouping commits commit_parsers = [