Empezar ahora
GitHub Tools

Github Get Repository Content

Usa Github Get Repository Content con GitHub Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión OAuth

Descripción del proveedor

Retrieves a file's Base64 encoded content or lists a directory's contents from a GitHub repository.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • refstring
    The name of the commit, branch, or tag to read from. Use this parameter to specify which branch (e.g., 'feat/godlocal-dev', 'main', 'develop'), tag (e.g., 'v1.2.0'), or commit SHA you want to access. If not provided, the repository's default branch will be used. Note: Branch nam…
  • pathstring
    Obligatorio
    Required. Path to file or directory in the repository. Empty string ('') retrieves root directory contents. Leading slashes auto-stripped. CRITICAL: Do NOT pass branch names here (e.g., 'feat/godlocal-dev', 'main'). Branch names belong in the `ref` parameter. Path should be file…
  • repostring
    Obligatorio
    Required. The name of the repository, without the `.git` extension. This name is not case sensitive.
  • ownerstring
    Obligatorio
    Required. The account owner of the repository. This name is not case sensitive. Can also accept full repository path in format 'owner/repo' - the repo part will be extracted automatically.

Salida observable

  • data
    Obligatorio
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatorio
    Whether or not the action execution was successful or not

Skills que usan esta Action

Casos de uso relacionados

Fuente oficial

Fuente del proveedor