chore: add commit footers to git-cliff config (#805)

Fixes: https://github.com/orhun/git-cliff/issues/297
This commit is contained in:
Josh McKinney 2024-01-13 02:13:09 -08:00 committed by GitHub
parent de97a1f1da
commit 151db6ac7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,13 @@ body = """
{{commit.body | indent(prefix=" ") }}
````
{%- endif %}
{%- for footer in commit.footers %}
{%- if footer.token != "Signed-off-by" and footer.token != "Co-authored-by" %}
{{ footer.token | indent(prefix=" ") }}{{ footer.separator }}
{{ footer.value | indent(prefix=" ") }}
{%- endif %}
{%- endfor %}
{% endmacro -%}
{% for group, commits in commits | group_by(attribute="group") %}