mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
chore: add in more data to changelog entries (#10470)
* chore: add in more data to changelog entries * chore: missed template
This commit is contained in:
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
@@ -28,13 +28,20 @@ body = """
|
|||||||
**{{commit.scope}}:** \
|
**{{commit.scope}}:** \
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
{{ 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 %}\
|
{% if commit.breaking %}\
|
||||||
{% for breakingChange in commit.footers %}\
|
{% for breakingChange in commit.footers %}\
|
||||||
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
\n{% raw %} {% endraw %}- **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
|
||||||
{% endfor %}\
|
{% endfor %}\
|
||||||
{% endif %}\
|
{% endif %}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\
|
||||||
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
|
||||||
|
\n### New Contributors\n
|
||||||
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
|
||||||
|
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
|
||||||
|
{% endfor %}\
|
||||||
|
{% endif %}\n
|
||||||
"""
|
"""
|
||||||
trim = true
|
trim = true
|
||||||
footer = ""
|
footer = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user