From fe605319550ad0a7fee647ca11ff8e580dcc5110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 7 Feb 2024 17:30:45 +0100 Subject: [PATCH] Add emojis to Pr results --- update_app_levels/update_app_levels.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/update_app_levels/update_app_levels.py b/update_app_levels/update_app_levels.py index d9fb323..eee8c35 100755 --- a/update_app_levels/update_app_levels.py +++ b/update_app_levels/update_app_levels.py @@ -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: pr_body_template = textwrap.dedent(""" {%- if changes["major_regressions"] %} - ### Major regressions + ### 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 %} {% endif %} {%- if changes["minor_regressions"] %} - ### Minor regressions + ### 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 %} {% endif %} {%- if changes["improvements"] %} - ### Improvements + ### 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 %} {% endif %} {%- if changes["missing"] %} - ### Missing + ### Missing 🫠 {% for app in changes["missing"] %} - [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob) {%- endfor %} {% endif %} {%- if changes["outdated"] %} - ### Outdated + ### Outdated ⏰ {% for app in changes["outdated"] %} - [ ] [{{app}} (See latest job if it exists)](https://ci-apps.yunohost.org/ci/apps/{{app.0}}/latestjob) {%- endfor %}