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)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user