From 8e734d89582c94a3b33b6b744ee9c0276b2ada5a Mon Sep 17 00:00:00 2001 From: psteinroe Date: Mon, 5 May 2025 09:48:53 +0200 Subject: [PATCH] chore: add contributors to changelog --- cliff.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index 3e040a17..3406b80c 100644 --- a/cliff.toml +++ b/cliff.toml @@ -27,10 +27,17 @@ body = """ {{ commit.message | upper_first }}\ {% endfor %} {% endfor %}\n + +## Contributors +{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %} + * @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }} 🎉 +{%- endfor -%} +{% for contributor in github.contributors | filter(attribute="is_first_time", value=false) %} + * @{{ contributor.username }} +{%- endfor -%}\n """ # template for the changelog footer footer = """ - """ # remove the leading and trailing s trim = true