From eadb7a264388eb2517636f1d52b31904c6020d1b Mon Sep 17 00:00:00 2001 From: Rhys Parry Date: Fri, 29 Nov 2024 23:57:57 +0000 Subject: [PATCH] chore: link to pull requests in changelog (#45) --- cliff.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cliff.toml b/cliff.toml index e4a4fa5..b3ea7bb 100644 --- a/cliff.toml +++ b/cliff.toml @@ -66,6 +66,10 @@ commit_parsers = [ { message = "^.*: [Ff]ix", group = "Fixed" }, { message = "^.*", group = "Changed" }, ] +# Pre-process commits +commit_preprocessors = [ + { pattern = "\\(#(\\d+)\\)", replace = "([#$1](https://github.com/rhysparry/Dirt.Args/pull/$1))" } +] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = false # filter out the commits that are not matched by commit parsers