Mirrowel commited on
Commit
293a8be
·
1 Parent(s): 477f402

fix: update repository URL references in changelog configuration

Browse files
Files changed (2) hide show
  1. .github/workflows/build.yml +1 -1
  2. cliff.toml +2 -2
.github/workflows/build.yml CHANGED
@@ -108,7 +108,7 @@ jobs:
108
  git-cliff \
109
  --config cliff.toml \
110
  --strip all \
111
- --repository-url "https://github.com/${{ github.repository }}" \
112
  --output changelog.md \
113
  ${RANGE:---unreleased}
114
 
 
108
  git-cliff \
109
  --config cliff.toml \
110
  --strip all \
111
+ --repository "https://github.com/${{ github.repository }}" \
112
  --output changelog.md \
113
  ${RANGE:---unreleased}
114
 
cliff.toml CHANGED
@@ -10,7 +10,7 @@ body = """
10
  {% for group, commits in commits | group_by(attribute="group") %}
11
  ### {{ group }}
12
  {% for commit in commits -%}
13
- - {{ commit.message | split(pat="\n") | first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/${{ github.repository }}/commit/{{ commit.id }}))
14
  {% endfor -%}
15
  {% endfor -%}
16
  """
@@ -21,7 +21,7 @@ conventional_commits = true
21
  filter_unconventional = false
22
  split_commits = false
23
  commit_preprocessors = [
24
- { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/${{ github.repository }}/issues/${2}))"},
25
  ]
26
 
27
  commit_parsers = [
 
10
  {% for group, commits in commits | group_by(attribute="group") %}
11
  ### {{ group }}
12
  {% for commit in commits -%}
13
+ - {{ commit.message | split(pat="\n") | first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ repository_url }}/commit/{{ commit.id }}))
14
  {% endfor -%}
15
  {% endfor -%}
16
  """
 
21
  filter_unconventional = false
22
  split_commits = false
23
  commit_preprocessors = [
24
+ { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}]({{ repository_url }}/issues/${2}))"},
25
  ]
26
 
27
  commit_parsers = [