GitHub App icon

GitHub App

Consume GitHub API using GitHub App authentication

Release → Get Many

AI-generated

Overview

This node operation fetches multiple releases from a specified GitHub repository. It is useful for scenarios where you need to retrieve a list of all releases or a limited number of releases from a repository, such as for release management, monitoring new versions, or integrating release data into other workflows. For example, you can use it to get all releases of a project to display on a dashboard or to trigger actions based on new releases.

Use Case Examples

  1. Retrieve all releases from the 'n8n-io/n8n' repository to monitor new software versions.
  2. Fetch the latest 10 releases from a repository to display release notes in an internal tool.

Properties

Name Meaning
Repository Owner The owner of the GitHub repository from which to get releases. It supports selection from a list, entering a URL, or specifying the owner name directly.
Repository Name The name of the GitHub repository from which to get releases. It supports selection from a list, entering a URL, or specifying the repository name directly.
Return All Whether to return all releases or limit the number of results.
Limit The maximum number of releases to return if 'Return All' is false. Minimum 1, maximum 100.

Output

JSON

  • json - The JSON array of release objects returned from the GitHub API, each representing a release with its details.

Dependencies

  • GitHub API

Troubleshooting

  • Ensure the repository owner and repository name are correctly specified and accessible with the provided GitHub App credentials.
  • If the node returns an error about invalid JSON inputs, verify that any JSON parameters are correctly formatted.
  • If the node fails to fetch releases, check that the GitHub App has the necessary permissions to access the repository releases.

Links

Discussion