Fix release notes templates (#6697)

* WIP

* Fix templates

- fix conditions to fetch misc PRs
- render the misc section only if required
- add html comment to help debugging
- add a new API section to T2 labels
This commit is contained in:
Chevdor
2023-02-10 17:12:45 +01:00
committed by GitHub
parent f81f1bae4c
commit f17ea2cdd0
8 changed files with 44 additions and 3 deletions
@@ -33,5 +33,11 @@
{%- set repo = " " -%}
{%- endif -%}
{%- if c.meta.T and c.meta.T.value == 6 -%}
{%- set xcm = " [✉️ XCM]" -%}
{%- else -%}
{%- set xcm = "" -%}
{%- endif -%}
{{- repo }} {{ audit }}[`#{{c.number}}`]({{c.html_url}}) {{- prio }} - {{ c.title | capitalize | truncate(length=120, end="…") }}{{xcm }}
{%- endmacro change -%}