Update ci-slack-bot.py

This commit is contained in:
Alexander Tokmakov 2023-07-20 17:59:43 +03:00 committed by GitHub
parent a73f621bf4
commit c0aa3e4567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ def get_too_many_failures_message(failures_count):
def get_failed_checks_percentage_message(percentage):
p = percentage[0][0] * 100
p = float(percentage[0][0]) * 100
# Always report more than 1% of failed checks
# For <= 1%: higher percentage of failures == higher probability