From 6e098c0916fafb5eb0f1c215e9c7a48fb020dfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 20 Jun 2021 12:40:53 +0000 Subject: [PATCH] Adjust check --- scripts/check/owner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check/owner.py b/scripts/check/owner.py index cffe696..73fbedc 100644 --- a/scripts/check/owner.py +++ b/scripts/check/owner.py @@ -45,7 +45,7 @@ async def check(): if actor not in [x["login"] for x in _sorted]: exit(f"::error::'{actor}' is not a contributor to '{repo}'") - if [x["contributions"] for x in _sorted if x["login"] == actor].pop() > ( + if [x["contributions"] for x in _sorted if x["login"] == actor].pop() >= ( _top / 3 ): print(f"'{actor}' is a major contributor to '{repo}'")