mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
Fix owner check
This commit is contained in:
@@ -17,6 +17,9 @@ async def check():
|
||||
repository = await github.get_repo(repo)
|
||||
repo = repository.attributes
|
||||
|
||||
return
|
||||
# Currently broken. can not use ACTOR
|
||||
|
||||
if ACTOR == repo["full_name"].split("/")[0]:
|
||||
print(f"{ACTOR} is the owner of the repository")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user