From 9395297141532d18a614dde9f37875907cf2b5a6 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:34:56 -0500 Subject: [PATCH] chore: migrate away from deprecated git-cliff syntax --- cliff.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index 93318f2..1dea619 100644 --- a/cliff.toml +++ b/cliff.toml @@ -54,9 +54,9 @@ body = """ {% if commit.scope %}**({{commit.scope}})** {% endif -%} {% if commit.breaking %}**breaking** {% endif -%} {{ commit.message | split(pat="\n") | first | trim }} by \ -{% if commit.github.username %}[@{{commit.github.username}}](https://github.com/{{commit.github.username}})\ +{% if commit.remote.username %}[@{{commit.remote.username}}](https://github.com/{{commit.remote.username}})\ {% else %}{{commit.author.name}}{% endif %} in \ -{% if commit.github.pr_number %}[#{{ commit.github.pr_number }}]($REPO/pull/{{ commit.github.pr_number }})\ +{% if commit.remote.pr_number %}[#{{ commit.remote.pr_number }}]($REPO/pull/{{ commit.remote.pr_number }})\ {% else %}[{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})\ {%- endif %} {% endmacro commit -%}