From ab5ad3fc7ceb31b11ca9100a8d52dcb181e46b00 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy <1813121+kdheepak@users.noreply.github.com> Date: Wed, 7 Jan 2026 21:02:37 -0500 Subject: [PATCH] chore: escape username using backticks in changelog (#2336) The motivation behind this is that GitHub mentions in PR descriptions trigger notifications for every contributor for every release because their username is part of the changelog. --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index 3b20b647..ec8c969e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -34,7 +34,7 @@ body = """ {% macro commit(commit) -%} - [{{ commit.id | truncate(length=7, end="") }}]({{ "https://github.com/ratatui/ratatui/commit/" ~ commit.id }}) \ *({{commit.scope | default(value = "uncategorized") | lower }})* {{ commit.message | upper_first | trim }}\ - {% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif -%}\ + {% if commit.remote.username %} by `@{{ commit.remote.username }}`{%- endif -%}\ {% if commit.remote.pr_number %} in [#{{ commit.remote.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.remote.pr_number }}){%- endif %}\ {%- if commit.breaking %} [**breaking**]{% endif %} {%- if commit.body %}\n\n{{ commit.body | indent(prefix=" > ", first=true, blank=true) }}