mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
Move scripts used in CI to the new location (#5198)
* Move CI scripts and update references * Update paths in .gitlab-ci.yml * Removed outdated entries from CODEOWNERS
This commit is contained in:
committed by
GitHub
parent
9a840bb12a
commit
631a5db536
@@ -0,0 +1,40 @@
|
||||
{%- import "change.md.tera" as m_c -%}
|
||||
|
||||
{# This macro convert a priority level into readable output #}
|
||||
{%- macro high_priority(p, changes) -%}
|
||||
|
||||
{%- if p >= 7 -%}
|
||||
{%- set prio = "‼️ HIGH" -%}
|
||||
{%- set text = "This is a **high priority** release and you must upgrade as as soon as possible." -%}
|
||||
{%- elif p >= 3 -%}
|
||||
{%- set prio = "❗️ Medium" -%}
|
||||
{%- set text = "This is a medium priority release and you should upgrade in a timely manner." -%}
|
||||
{%- else -%}
|
||||
{%- set prio = "Low" -%}
|
||||
{%- set text = "This is a low priority release and you may upgrade at your convenience." -%}
|
||||
{%- endif %}
|
||||
|
||||
<!-- detected max prio is: {{p}} -->
|
||||
|
||||
{%- if prio %}
|
||||
{{prio}}: {{text}}
|
||||
|
||||
{% if p >= 3 %}
|
||||
The changes motivating this priority level are:
|
||||
|
||||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||||
{%- if pr.meta.C -%}
|
||||
{%- if pr.meta.C.value == p %}
|
||||
- {{ m_c::change(c=pr) }}
|
||||
{%- if pr.meta.B and pr.meta.B.value == 7 %}
|
||||
(RUNTIME)
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endfor %}
|
||||
{%- else -%}
|
||||
<!-- No relevant Priority label as been detected for p={{ p }} -->
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- endmacro priority -%}
|
||||
Reference in New Issue
Block a user