update_app_levels: Minor quirk in major/minor regression definition
This commit is contained in:
parent
1c448ef8b8
commit
77e9a821e1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ for app, infos in catalog.items():
|
||||||
elif current_level is None or ci_level > current_level:
|
elif current_level is None or ci_level > current_level:
|
||||||
comment["improvements"].append((app, current_level, ci_level))
|
comment["improvements"].append((app, current_level, ci_level))
|
||||||
elif ci_level < current_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))
|
comment["major_regressions"].append((app, current_level, ci_level))
|
||||||
else:
|
else:
|
||||||
comment["minor_regressions"].append((app, current_level, ci_level))
|
comment["minor_regressions"].append((app, current_level, ci_level))
|
||||||
|
|
Loading…
Reference in a new issue