Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
User → Get Repositories
AI-generatedOverview
This node operation fetches repositories of a specified GitHub user. It allows users to specify the repository owner and supports returning either all repositories or a limited number based on user input. This is useful for workflows that need to interact with or analyze a user's GitHub repositories, such as automation of repository management, data extraction, or integration with other tools.
Use Case Examples
- Retrieve all repositories of a GitHub user to analyze their project portfolio.
- Fetch a limited number of repositories for a user to display in a dashboard or report.
Properties
| Name | Meaning |
|---|---|
| Repository Owner | The GitHub user whose repositories are to be fetched. It supports selection by list, URL, or direct name input. |
| Return All | Boolean flag to determine whether to return all repositories or limit the number of results. |
| Limit | Maximum number of repositories to return when 'Return All' is false. Range is 1 to 100. |
Output
JSON
json- Array of repository objects returned from GitHub API representing the user's repositories.
Dependencies
- GitHub API access via GitHub App authentication
Troubleshooting
- Ensure the 'Repository Owner' input is valid and correctly formatted to avoid errors in fetching repositories.
- If the node returns an error about authentication, verify that the GitHub App credentials are correctly configured and have the necessary permissions.
- When 'Return All' is false, ensure the 'Limit' is set within the allowed range (1-100) to avoid request errors.
Links
- GitHub API - List repositories for a user - Official GitHub API documentation for listing user repositories, which this node operation utilizes.