Add emojis to Pr results
This commit is contained in:
parent
e985b8bb57
commit
fe60531955
1 changed files with 8 additions and 8 deletions
|
@ -113,31 +113,31 @@ def list_changes(catalog, ci_results) -> dict[str, list[tuple[str, int, int]]]:
|
||||||
def pretty_changes(changes: dict[str, list[tuple[str, int, int]]]) -> str:
|
def pretty_changes(changes: dict[str, list[tuple[str, int, int]]]) -> str:
|
||||||
pr_body_template = textwrap.dedent("""
|
pr_body_template = textwrap.dedent("""
|
||||||
{%- if changes["major_regressions"] %}
|
{%- if changes["major_regressions"] %}
|
||||||
### Major regressions
|
### Major regressions 😭
|
||||||
{% for app in changes["major_regressions"] %}
|
{% for app in changes["major_regressions"] %}
|
||||||
- [ ] [{{app.0}}: {{app.1}} -> {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
- [ ] [{{app.0}}: {{app.1}} → {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if changes["minor_regressions"] %}
|
{%- if changes["minor_regressions"] %}
|
||||||
### Minor regressions
|
### Minor regressions 😬
|
||||||
{% for app in changes["minor_regressions"] %}
|
{% for app in changes["minor_regressions"] %}
|
||||||
- [ ] [{{app.0}}: {{app.1}} -> {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
- [ ] [{{app.0}}: {{app.1}} → {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if changes["improvements"] %}
|
{%- if changes["improvements"] %}
|
||||||
### Improvements
|
### Improvements 🥳
|
||||||
{% for app in changes["improvements"] %}
|
{% for app in changes["improvements"] %}
|
||||||
- [{{app.0}}: {{app.1}} -> {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
- [{{app.0}}: {{app.1}} → {{app.2}}](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if changes["missing"] %}
|
{%- if changes["missing"] %}
|
||||||
### Missing
|
### Missing 🫠
|
||||||
{% for app in changes["missing"] %}
|
{% for app in changes["missing"] %}
|
||||||
- [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
- [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if changes["outdated"] %}
|
{%- if changes["outdated"] %}
|
||||||
### Outdated
|
### Outdated ⏰
|
||||||
{% for app in changes["outdated"] %}
|
{% for app in changes["outdated"] %}
|
||||||
- [ ] [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
- [ ] [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob)
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
Loading…
Reference in a new issue