1
0
Fork 0

update_app_levels: Minor quirk in major/minor regression definition

This commit is contained in:
Alexandre Aubin 2023-01-20 18:11:29 +01:00
parent 1c448ef8b8
commit 77e9a821e1

View file

@ -50,7 +50,7 @@ for app, infos in catalog.items():
elif current_level is None or ci_level > current_level:
comment["improvements"].append((app, current_level, ci_level))
elif ci_level < current_level:
if ci_level < 4 and current_level >= 4:
if ci_level <= 4 and current_level > 4:
comment["major_regressions"].append((app, current_level, ci_level))
else:
comment["minor_regressions"].append((app, current_level, ci_level))