Skip to content

Commit 810d99d

Browse files
committed
build(cliff): rename commit.github to commit.remote
`commit.github` & friends are marked as deprecated
1 parent b26adf4 commit 810d99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/cliff.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ body = """
1616
{% for commit in commits%}\
1717
{% if not commit.scope %}\
1818
- {{ commit.message | upper_first }}\
19-
{% if commit.github.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.github.pr_number }}>){%- endif %}
19+
{% if commit.remote.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.remote.pr_number }}>){%- endif %}
2020
{% endif %}\
2121
{% endfor %}\
2222
{% for group, commits in commits | group_by(attribute="scope") %}\
2323
{% for commit in commits %}\
2424
- **{{commit.scope}}**: {{ commit.message | upper_first }}\
25-
{% if commit.github.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.github.pr_number }}>){%- endif %}
25+
{% if commit.remote.pr_number %} (<https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.remote.pr_number }}>){%- endif %}
2626
{% endfor %}\
2727
{% endfor %}
2828
{% endfor %}

0 commit comments

Comments
 (0)