From 385e193ffacdb084472ffab50f0c6133be0fc7bb Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Fri, 12 Aug 2022 10:46:53 +0200 Subject: [PATCH] WIP --- cumulus/scripts/ci/changelog/templates/change.md.tera | 2 +- cumulus/scripts/ci/changelog/templates/changes_misc.md.tera | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cumulus/scripts/ci/changelog/templates/change.md.tera b/cumulus/scripts/ci/changelog/templates/change.md.tera index cb40496266..e545b4cec9 100644 --- a/cumulus/scripts/ci/changelog/templates/change.md.tera +++ b/cumulus/scripts/ci/changelog/templates/change.md.tera @@ -1,7 +1,7 @@ {# This macro shows ONE change #} {%- macro change(c, cml="[C]", dot="[P]", sub="[S]") -%} -{%- if c.meta.C and c.meta.C.value >= 7 -%} +{%- if c.meta.C and c.meta.C.value >= 5 -%} {%- set prio = " ‼️ HIGH" -%} {%- elif c.meta.C and c.meta.C.value >= 3 -%} {%- set prio = " ❗️ Medium" -%} diff --git a/cumulus/scripts/ci/changelog/templates/changes_misc.md.tera b/cumulus/scripts/ci/changelog/templates/changes_misc.md.tera index 7585eb8bc5..cf3b701f2c 100644 --- a/cumulus/scripts/ci/changelog/templates/changes_misc.md.tera +++ b/cumulus/scripts/ci/changelog/templates/changes_misc.md.tera @@ -7,7 +7,7 @@ {%- if pr.meta.B.value == 0 -%} {#- We skip silent ones -#} {%- else -%} - {%- if pr.meta.B and pr.meta.B.value != 5 and pr.meta.B.value != 7 or pr.meta.C or not pr.meta.B %} + {%- if pr.meta.B and pr.meta.B.value != 5 or pr.meta.C or not pr.meta.B %} {%- set_global misc_count = misc_count + 1 -%} {%- endif -%} {% endif -%} @@ -27,7 +27,7 @@ There are other misc. changes. You can expand the list below to view them all. {%- if pr.meta.B.value == 0 %} {#- We skip silent ones -#} {%- else -%} - {%- if pr.meta.B and pr.meta.B.value != 5 and pr.meta.B.value != 7 or pr.meta.C or not pr.meta.B %} + {%- if pr.meta.B and pr.meta.B.value != 5 or pr.meta.C or not pr.meta.B %} - {{ m_c::change(c=pr) }} {%- endif -%} {% endif -%}