Forgejo icon

Forgejo

Interact with Forgejo API

Overview

This node interacts with the Forgejo API to edit labels on an issue within a repository. It allows users to update the labels of a specific issue by specifying the repository owner, repository name, issue number, and a comma-separated list of label names. This operation is useful for managing issue categorization and organization in project management workflows.

Use Case Examples

  1. Updating labels on an issue to reflect its current status or priority.
  2. Adding multiple labels to an issue to categorize it by type and urgency.

Properties

Name Meaning
Owner The username or organization that owns the repository.
Repository The name of the repository containing the issue.
Issue Number The number identifier of the issue to edit labels for.
Labels A comma-separated list of label names to set on the issue.

Output

JSON

  • json - The response from the Forgejo API representing the updated issue with its new labels.

Dependencies

  • Requires an API key credential for Forgejo API authentication.

Troubleshooting

  • Ensure the repository owner and repository name are correct and accessible with the provided credentials.
  • Verify the issue number exists in the specified repository.
  • Labels must be provided as a comma-separated string; empty or invalid labels may cause errors.
  • API authentication errors may occur if the API key is missing or invalid.

Links

Discussion