mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
Adjust check
This commit is contained in:
@@ -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}'")
|
||||
|
||||
Reference in New Issue
Block a user