def METHOD_NAME(name: str, command: str, paths: t.Set[str]) -> None:
    if pr_matches_patterns(paths):
        template["jobs"]["pre_check"]["steps"].append({"run": {"name": name, "command": command}})