From a465fbfa2817d89000c59a80fe3d8cc506ce95af Mon Sep 17 00:00:00 2001 From: ckohen Date: Sun, 15 Sep 2024 10:58:21 -0700 Subject: [PATCH] chore: update cliff configs (#10471) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/brokers/cliff.toml | 6 ++++-- packages/builders/cliff.toml | 6 ++++-- packages/collection/cliff.toml | 6 ++++-- packages/core/cliff.toml | 6 ++++-- packages/create-discord-bot/cliff.toml | 6 ++++-- packages/discord.js/cliff.toml | 9 +++++---- packages/formatters/cliff.toml | 6 ++++-- packages/next/cliff.toml | 6 ++++-- packages/proxy/cliff.toml | 6 ++++-- packages/rest/cliff.toml | 6 ++++-- .../turbo/generators/templates/default/cliff.toml | 6 ++++-- packages/ui/cliff.toml | 6 ++++-- packages/util/cliff.toml | 6 ++++-- packages/voice/cliff.toml | 6 ++++-- packages/ws/cliff.toml | 6 ++++-- 15 files changed, 61 insertions(+), 32 deletions(-) diff --git a/packages/brokers/cliff.toml b/packages/brokers/cliff.toml index 35a2901131c2..62d797a75f8c 100644 --- a/packages/brokers/cliff.toml +++ b/packages/brokers/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/builders/cliff.toml b/packages/builders/cliff.toml index 834d7df3f988..192d1843ba14 100644 --- a/packages/builders/cliff.toml +++ b/packages/builders/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/collection/cliff.toml b/packages/collection/cliff.toml index 307c58882011..007cd8392082 100644 --- a/packages/collection/cliff.toml +++ b/packages/collection/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/core/cliff.toml b/packages/core/cliff.toml index e01e42509dd2..ee854b5567dd 100644 --- a/packages/core/cliff.toml +++ b/packages/core/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/create-discord-bot/cliff.toml b/packages/create-discord-bot/cliff.toml index 245edd6c62d6..83efccf45828 100644 --- a/packages/create-discord-bot/cliff.toml +++ b/packages/create-discord-bot/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/discord.js/cliff.toml b/packages/discord.js/cliff.toml index e2a9e82ee5c0..fb83cc52c3ec 100644 --- a/packages/discord.js/cliff.toml +++ b/packages/discord.js/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} @@ -67,8 +69,7 @@ commit_parsers = [ { body = ".*security", group = "Security"}, ] filter_commits = true -tag_pattern = "[0-9]*" -skip_tags = "v[0-9]*|@discordjs*" +tag_pattern = "^[0-9]+" ignore_tags = "" topo_order = false sort_commits = "newest" diff --git a/packages/formatters/cliff.toml b/packages/formatters/cliff.toml index e7c37c63d28d..cb58b2509a1d 100644 --- a/packages/formatters/cliff.toml +++ b/packages/formatters/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/next/cliff.toml b/packages/next/cliff.toml index ce63ba045147..fcc874411301 100644 --- a/packages/next/cliff.toml +++ b/packages/next/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/proxy/cliff.toml b/packages/proxy/cliff.toml index dffb706e3e7a..f09afa82f5eb 100644 --- a/packages/proxy/cliff.toml +++ b/packages/proxy/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/rest/cliff.toml b/packages/rest/cliff.toml index 31962f61267e..642c5a79be8c 100644 --- a/packages/rest/cliff.toml +++ b/packages/rest/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/scripts/turbo/generators/templates/default/cliff.toml b/packages/scripts/turbo/generators/templates/default/cliff.toml index 65a05384048c..09c581a7c723 100644 --- a/packages/scripts/turbo/generators/templates/default/cliff.toml +++ b/packages/scripts/turbo/generators/templates/default/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/ui/cliff.toml b/packages/ui/cliff.toml index 7039aa4a2042..1cc24a080685 100644 --- a/packages/ui/cliff.toml +++ b/packages/ui/cliff.toml @@ -29,8 +29,10 @@ body = """ {% endif %}\ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/util/cliff.toml b/packages/util/cliff.toml index f932465f396b..8cd0e16f6015 100644 --- a/packages/util/cliff.toml +++ b/packages/util/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/voice/cliff.toml b/packages/voice/cliff.toml index cfd0279ee76a..7f8d477f1fda 100644 --- a/packages/voice/cliff.toml +++ b/packages/voice/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %} diff --git a/packages/ws/cliff.toml b/packages/ws/cliff.toml index 95f85d41958e..b3fa611dad6a 100644 --- a/packages/ws/cliff.toml +++ b/packages/ws/cliff.toml @@ -30,8 +30,10 @@ body = """ {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\ {% if commit.github.username %} by @{{ commit.github.username }}{%- endif %}\ {% if commit.breaking %}\ - {% for breakingChange in commit.footers %}\ - \n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\ + {% for footer in commit.footers %}\ + {% if footer.breaking %}\ + \n{% raw %} {% endraw %}- **{{ footer.token }}{{ footer.separator }}** {{ footer.value }}\ + {% endif %}\ {% endfor %}\ {% endif %}\ {% endfor %}