Skip to content

Commit

Permalink
chore: fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mryel00 committed Oct 27, 2023
1 parent 99e2ae3 commit 1937711
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ commit_parsers = [
{ body = ".*security", group = "Security"},
]
commit_preprocessors = [
{ pattern = '(\((\w+\s)?#([0-9]+)\)( \| \w+))', replace = "([#${3}](<REPO>/pull/${3}))" },
{ pattern = '( \| \w+)', replace = " | [${1}](<REPO>/commit/${1})" },
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/pull/${2}))" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = true
Expand Down

0 comments on commit 1937711

Please sign in to comment.