Skip to content

Commit

Permalink
fix(git-cliff): update config for adding contributors to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 25, 2024
1 parent c24fea0 commit 8d5e4a6
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 8d5e4a6

Please sign in to comment.