This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a083dcde40 Fix changelog template for new providers w/o relevant
commits (#41566)
a083dcde40 is described below
commit a083dcde40b433ccfa633806d47d71c36213f7d8
Author: Jens Scheffler <[email protected]>
AuthorDate: Sun Aug 18 21:17:23 2024 +0200
Fix changelog template for new providers w/o relevant commits (#41566)
---
.../src/airflow_breeze/templates/CHANGELOG_TEMPLATE.rst.jinja2 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/dev/breeze/src/airflow_breeze/templates/CHANGELOG_TEMPLATE.rst.jinja2
b/dev/breeze/src/airflow_breeze/templates/CHANGELOG_TEMPLATE.rst.jinja2
index b8a966448c..e51939c575 100644
--- a/dev/breeze/src/airflow_breeze/templates/CHANGELOG_TEMPLATE.rst.jinja2
+++ b/dev/breeze/src/airflow_breeze/templates/CHANGELOG_TEMPLATE.rst.jinja2
@@ -40,7 +40,7 @@ Features
{%- endif %}
-{%- if classified_changes.fixes %}
+{%- if classified_changes and classified_changes.fixes %}
Bug Fixes
~~~~~~~~~
@@ -50,7 +50,7 @@ Bug Fixes
{%- endif %}
-{%- if classified_changes.misc %}
+{%- if classified_changes and classified_changes.misc %}
Misc
~~~~
@@ -62,7 +62,7 @@ Misc
.. Below changes are excluded from the changelog. Move them to
appropriate section above if needed. Do not delete the lines(!):
-{%- if classified_changes.other %}
+{%- if classified_changes and classified_changes.other %}
{%- for other in classified_changes.other %}
* ``{{ other.message_without_backticks | safe }}``
{%- endfor %}