Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea repository to "un-dismiss" a pull request review. In practical terms, it reverses the dismissal of a specific review on a pull request, making the review active again. This is useful in scenarios where a previously dismissed review needs to be reconsidered or re-evaluated without creating a new review.

Typical use cases include:

  • Restoring a dismissed code review after further discussion or changes.
  • Automating repository management workflows that require toggling review states.
  • Integrating with CI/CD pipelines to programmatically manage pull request reviews.

Properties

Name Meaning
Owner The owner (user or organization) of the repository where the pull request exists.
Repo The name of the repository containing the pull request.
Index The index number of the pull request within the repository (usually the pull request ID).
Id The unique identifier of the specific review to be un-dismissed on the pull request.

Output

The node outputs JSON data representing the result of the "un-dismiss pull review" operation. This typically includes details about the updated review status and metadata confirming the action was successful.

No binary data output is expected from this node.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API endpoint for managing pull request reviews.

Troubleshooting

  • Common issues:

    • Invalid or missing repository owner or name can cause errors indicating the repository was not found.
    • Incorrect pull request index or review ID may lead to "not found" or "invalid review" errors.
    • Authentication failures if the API key or token is invalid or lacks sufficient permissions.
    • Network connectivity issues to the Gitea server.
  • Error messages and resolutions:

    • "Repository not found": Verify the owner and repo names are correct and accessible.
    • "Pull request or review not found": Confirm the pull request index and review ID exist.
    • "Unauthorized" or "Forbidden": Check API credentials and permissions.
    • Timeouts or connection errors: Ensure the Gitea server URL is reachable and correct.

Links and References

Discussion