diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d96a0f69d..e6778c7cb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/cliff.toml b/cliff.toml index 2b0ff2f54..360bd75ff 100644 --- a/cliff.toml +++ b/cliff.toml @@ -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 -%} """