GitHub App icon

GitHub App

Consume GitHub API using GitHub App authentication

Repository → Get

AI-generated

Overview

This node operation retrieves detailed information about a specific GitHub repository. It is useful for scenarios where you need to fetch metadata or details of a repository owned by a particular user or organization on GitHub. For example, you might use this node to get repository details for automation workflows, reporting, or integration with other systems.

Use Case Examples

  1. Fetch repository details by specifying the repository owner and repository name.
  2. Use a GitHub URL to locate the repository and retrieve its data.

Properties

Name Meaning
Repository Owner The owner of the repository, which can be specified by selecting from a list, providing a GitHub URL, or entering the owner's name directly.
Repository Name The name of the repository to retrieve, which can be specified by selecting from a list, providing a GitHub URL, or entering the repository name directly.

Output

JSON

  • id - Unique identifier of the repository
  • name - Name of the repository
  • full_name - Full name including owner and repository name
  • owner
    • login - Username of the repository owner
  • private - Boolean indicating if the repository is private
  • html_url - URL to the repository on GitHub
  • description - Description of the repository
  • fork - Boolean indicating if the repository is a fork
  • created_at - Creation date of the repository
  • updated_at - Last update date of the repository
  • pushed_at - Date of the last push to the repository
  • stargazers_count - Number of stars the repository has
  • watchers_count - Number of watchers
  • language - Primary programming language used
  • forks_count - Number of forks
  • open_issues_count - Number of open issues
  • license
    • name - Name of the license if available
  • default_branch - Default branch of the repository

Dependencies

  • GitHub API access via GitHub App authentication

Troubleshooting

  • Ensure the repository owner and repository name are correctly specified and valid.
  • Check that the GitHub App credentials have the necessary permissions to access repository data.
  • If using URLs, ensure they match the expected GitHub URL format to avoid validation errors.
  • Common errors include 404 Not Found if the repository does not exist or access is denied, and authentication errors if the GitHub App token is invalid or expired.

Links

Discussion