From 908f03ec07a2bfed0726ac42531d5faf902c1d8d Mon Sep 17 00:00:00 2001 From: kanthi subramanian Date: Mon, 14 Sep 2026 13:11:37 -0500 Subject: [PATCH] Fix cliff configuration --- cliff.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index 0e50307a..055de251 100644 --- a/cliff.toml +++ b/cliff.toml @@ -14,9 +14,10 @@ body = """ ### {{ group | upper_first }} {% for commit in commits %} {%- set display_scope = commit.scope %} - {%- if commit.remote.pr_labels is containing("ice-rest-catalog") %} + {%- set pr_labels = commit.remote.pr_labels | default(value=[]) %} + {%- if pr_labels is containing("ice-rest-catalog") %} {%- set display_scope = "ice-rest-catalog" %} - {%- elif commit.remote.pr_labels is containing("ice") %} + {%- elif pr_labels is containing("ice") %} {%- set display_scope = "ice" %} {%- endif %} - {% if display_scope %}`{{ display_scope }}` - {% endif %}{{ commit.message | upper_first }}\