👷 misc(CI): update git-cliff's github integration
This commit is contained in:
parent
8de049a2b5
commit
2ede03550a
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
||||
config: cliff.toml
|
||||
args: --latest --strip all
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OUTPUT: CHANGES.md
|
||||
|
||||
- name: Create GitHub release
|
||||
|
@ -78,13 +78,13 @@ body = """
|
||||
{%- if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 -%}
|
||||
{% raw %}\n{% endraw %}### 👥 New contributors
|
||||
{% raw -%}\n{% endraw -%}
|
||||
{%- endif %}\
|
||||
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
|
||||
🫶 @{{ contributor.username }} made their first contribution
|
||||
{%- if contributor.pr_number %} in \
|
||||
[#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
|
||||
{%- endif %}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
{% raw -%}\n{% endraw -%}
|
||||
"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user