Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve information about repositories. Specifically, the "Repo Get Latest Release" operation fetches the latest release details of a specified repository owned by a given user or organization. This is useful for automation workflows that need to track or respond to new releases in software projects hosted on Gitea.

Practical examples include:

  • Automatically notifying a team when a new release is published.
  • Triggering deployment pipelines based on the latest release version.
  • Aggregating release data for reporting or monitoring purposes.

Properties

Name Meaning
Owner The owner (user or organization) of the repository.
Repo The name of the repository to query.

Output

The node outputs JSON data representing the latest release of the specified repository. This typically includes fields such as release tag, name, description, publication date, and assets associated with the release. The exact structure depends on the Gitea API response for a release.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • Uses the Gitea REST API endpoint /api/v1 to fetch release information.

Troubleshooting

  • Common issues:

    • Incorrect owner or repository name will result in errors or empty responses.
    • Missing or invalid API authentication token will cause authorization failures.
    • Network connectivity problems to the Gitea server can prevent successful API calls.
  • Error messages:

    • Authorization errors indicate issues with the provided API key or permissions.
    • Not found errors suggest the specified repository or release does not exist.

To resolve these, verify the correctness of input properties, ensure valid credentials are used, and confirm network access to the Gitea server.

Links and References

Discussion