INNER CODE UNIT · Python

load_compatibility_config

Steam-Headless/docker-steam-headless · .github/scripts/manage-compatibility-report.py:152

def load_compatibility_config(repo_root):
    config_path = os.path.join(repo_root, ".github", "config", "compatibility-config.json")
    if os.path.exists(config_path):
        with open(config_path, encoding="utf-8") as f:
            return json.load(f)
    return {}


def load_label_definitions(repo_root):
    labels_path = os.path.join(repo_root, ".github", "config", "labels.json")
    if os.path.exists(labels_path):
        with open(labels_path, encoding="utf-8") as f:
            return json.load(f)
    fallback_path = os.path.join(repo_root, ".github", "labels.json")
    if os.path.exists(fallback_path):
        with open(fallback_path, encoding="utf-8") as f:
            return json.load(f)
    return []

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…