Skip to content

Commit

Permalink
fix(git-cliff): update config for adding contributors to changelog (#608
Browse files Browse the repository at this point in the history
)
  • Loading branch information
orhun authored Sep 25, 2024
1 parent c24fea0 commit afe4cb0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ body = """
"""
# template for the changelog footer
footer = """
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
{%- endfor -%}
{% for release in releases -%}
{% for contributor in release.github.contributors | filter(attribute="is_first_time", value=true) %}
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
{%- endfor -%}
{% endfor %}
"""
# remove the leading and trailing s
trim = true
Expand Down

0 comments on commit afe4cb0

Please sign in to comment.