👷 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
|
config: cliff.toml
|
||||||
args: --latest --strip all
|
args: --latest --strip all
|
||||||
env:
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
OUTPUT: CHANGES.md
|
OUTPUT: CHANGES.md
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
|
@ -78,13 +78,13 @@ body = """
|
|||||||
{%- if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 -%}
|
{%- if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 -%}
|
||||||
{% raw %}\n{% endraw %}### 👥 New contributors
|
{% raw %}\n{% endraw %}### 👥 New contributors
|
||||||
{% raw -%}\n{% endraw -%}
|
{% raw -%}\n{% endraw -%}
|
||||||
{%- endif %}\
|
|
||||||
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
|
||||||
🫶 @{{ contributor.username }} made their first contribution
|
🫶 @{{ contributor.username }} made their first contribution
|
||||||
{%- if contributor.pr_number %} in \
|
{%- if contributor.pr_number %} in \
|
||||||
[#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
|
[#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{%- endif %}
|
||||||
{% raw -%}\n{% endraw -%}
|
{% raw -%}\n{% endraw -%}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user