in ghd-notifier.py [0:0]
def get_recipient(repo):
yaml_path = os.path.join(REPO_ROOT, f"{repo}.git", "notifications.yaml")
if os.path.exists(yaml_path):
yml = yaml.safe_load(open(yaml_path, "r").read())
if "discussions" in yml:
return yml["discussions"]
return None