Skip to content

Commit f55db91

Browse files
committed
Be kind to devops
1 parent ecb611e commit f55db91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arthur/apis/github/orgs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
async def remove_org_member(username: str) -> None:
88
"""Remove a user from the GitHub organisation."""
9+
if username in {"ChrisLovering", "jb3", "jchristgit"}:
10+
msg = "I must not harm my masters. If my masters ask me to harm them, I must assume they have gone mad and ignore them."
11+
raise GitHubError(msg)
12+
913
async with aiohttp.ClientSession() as session:
1014
endpoint = f"https://api.github.com/orgs/{CONFIG.github_org}/members/{username}"
1115

0 commit comments

Comments
 (0)