Fix owner check

This commit is contained in:
ludeeus
2020-05-26 17:13:38 +00:00
parent 074661b460
commit a6b183c4d7
+3
View File
@@ -17,6 +17,9 @@ async def check():
repository = await github.get_repo(repo) repository = await github.get_repo(repo)
repo = repository.attributes repo = repository.attributes
return
# Currently broken. can not use ACTOR
if ACTOR == repo["full_name"].split("/")[0]: if ACTOR == repo["full_name"].split("/")[0]:
print(f"{ACTOR} is the owner of the repository") print(f"{ACTOR} is the owner of the repository")
return return