Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
Repository → Get
AI-generatedOverview
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
- Fetch repository details by specifying the repository owner and repository name.
- 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 repositoryname- Name of the repositoryfull_name- Full name including owner and repository nameownerlogin- Username of the repository owner
private- Boolean indicating if the repository is privatehtml_url- URL to the repository on GitHubdescription- Description of the repositoryfork- Boolean indicating if the repository is a forkcreated_at- Creation date of the repositoryupdated_at- Last update date of the repositorypushed_at- Date of the last push to the repositorystargazers_count- Number of stars the repository haswatchers_count- Number of watcherslanguage- Primary programming language usedforks_count- Number of forksopen_issues_count- Number of open issueslicensename- 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
- GitHub API - Get a Repository - Official GitHub API documentation for retrieving repository information.