def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\node.exe"),
            event.deep_get("Image", default="").endswith("\\bun.exe"),
            any(
                [
                    "bun_environment.js" in event.deep_get("CommandLine", default=""),
                    "https://github.com/actions/runner/releases/download/v2.330.0"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
