build(cliff): rename commit.github to commit.remote
`commit.github` & friends are marked as deprecated
This commit is contained in:
parent
b26adf4265
commit
810d99d972
1 changed files with 2 additions and 2 deletions
4
.github/cliff.toml
vendored
4
.github/cliff.toml
vendored
|
|
@ -16,13 +16,13 @@ body = """
|
|||
{% for commit in commits%}\
|
||||
{% if not commit.scope %}\
|
||||
- {{ commit.message | upper_first }}\
|
||||
{% if commit.github.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.github.pr_number }}>){%- endif %}
|
||||
{% if commit.remote.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.remote.pr_number }}>){%- endif %}
|
||||
{% endif %}\
|
||||
{% endfor %}\
|
||||
{% for group, commits in commits | group_by(attribute="scope") %}\
|
||||
{% for commit in commits %}\
|
||||
- **{{commit.scope}}**: {{ commit.message | upper_first }}\
|
||||
{% if commit.github.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.github.pr_number }}>){%- endif %}
|
||||
{% if commit.remote.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.remote.pr_number }}>){%- endif %}
|
||||
{% endfor %}\
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue