From 000fd9dd0dc0b7ea80eb26aaf6977adc7dfe2bb8 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Thu, 30 May 2024 12:48:55 +0900 Subject: [PATCH] chore(cliff): exclude merge commits from being added to changelog --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index b0f88b2..19d10d2 100644 --- a/cliff.toml +++ b/cliff.toml @@ -19,7 +19,7 @@ body = """ {% else %}\ ## [unreleased] {% endif %}\ -{% for group, commits in commits | group_by(attribute="group") %} +{% for group, commits in commits | filter(attribute="merge_commit", value=false) | group_by(attribute="group") %} ### {{ group | striptags | trim | upper_first }} {% for commit in commits %} - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\