Adjust check

This commit is contained in:
Joakim Sørensen
2021-06-20 12:40:53 +00:00
parent 23a25b4264
commit 6e098c0916
+1 -1
View File
@@ -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}'")