def METHOD_NAME(
    repo_root,
    callback_path,
    effective_cfg_file,
):
    import os
    import subprocess
    import tempfile
    import ci.util
    tmp_file = tempfile.NamedTemporaryFile()
    cb_env = os.environ.copy()
    cb_env['REPO_ROOT'] = repo_root
    cb_env['NOTIFY_CFG_OUT'] = tmp_file.name
    cb_env['EFFECTIVE_CFG'] = effective_cfg_file
    subprocess.run(
        [callback_path],
        check=True,
        env=cb_env,
    )
    return ci.util.parse_yaml_file(tmp_file.name)