code: def clean_repo(config: Config, system: System) -> ActionReturn:
      try:
          system.run("git clean -fdx")
          return PASSED("Cleaned the repo checkout")
      except RuntimeError as e:
          return FAILED(
              "Could NOT clean the repo checkout", details=e.args
          )
  
file_path: bokeh/release/git.py
imports: from __future__ import annotations
  from .action import FAILED, PASSED, ActionReturn
  from .config import Config
  from .system import System
label_desc: Use image node_id 3 for calling a global function with example usage: clean_repo(config, system) and returns: PASSED, FAILED