docstr: The GithubRepoRunner Component clones a repo, runs a specific script with provided arguments and collect
  logs.
  
  Arguments:
      id: Identified of the component.
      github_repo: The Github Repo URL to clone.
      script_path: The path to the script to execute.
      script_args: The arguments to be provided to the script.
      requirements: The python requirements tp run the script.
      cloud_compute: The object to select the cloud instance.
code: def __init__(
      self,
      id: str,
      github_repo: str,
      script_path: str,
      script_args: List[str],
      requirements: List[str],
      cloud_compute: Optional[CloudCompute] = None,
      **kwargs,
  ):
      """The GithubRepoRunner Component clones a repo, runs a specific script with provided arguments and collect
      logs.
  
      Arguments:
          id: Identified of the component.
          github_repo: The Github Repo URL to clone.
          script_path: The path to the script to execute.
          script_args: The arguments to be provided to the script.
          requirements: The python requirements tp run the script.
          cloud_compute: The object to select the cloud instance.
  
      """
      super().__init__(
          script_path=script_path,
          script_args=script_args,
          cloud_compute=cloud_compute,
          cloud_build_config=BuildConfig(requirements=requirements),
          **kwargs,
      )
      self.id = id
      self.github_repo = github_repo
      self.logs = []
  
imports: import io
  import os
  import subprocess
  import sys
  from copy import deepcopy
  from functools import partial
  from subprocess import Popen
  from typing import Dict, List, Optional
  from lightning import BuildConfig, CloudCompute, LightningApp, LightningFlow
  from lightning.app import structures
  from lightning.app.components import TracerPythonScript
  from lightning.app.frontend import StreamlitFrontend
  from lightning.app.storage.path import Path
  from lightning.app.utilities.state import AppState
label_desc: Use image node_id 1 to create a new GithubRepoRunner object from inherited base classes: TracerPythonScript with example: obj = GithubRepoRunner(id, github_repo, script_path, script_args, requirements, cloud_compute)