Actions56
- Repository Actions
- Issue Actions
- Pull Request Actions
- Organization Actions
- User Actions
- Comment Actions
- Label Actions
- Milestone Actions
- Release Actions
- Branch Actions
- File Actions
Label → Update
AI-generatedSummary
Update an existing label in a specified Codeberg repository with new properties like name, color, description, and exclusivity.
Inputs
- Authentication — Choose the authentication method to use: Access Token or OAuth2.
- Repository Owner (required) — Owner of the repository where the label exists.
- Repository Name (required) — Name of the repository where the label exists.
- Label ID (required) — The numeric ID of the label to update.
- Update Fields — Fields to update on the label, including name, color (hex without #), description, and exclusivity flag.
Output shape
a single JSON object representing the updated label
The output is the updated label object returned from the Codeberg API. Errors will be thrown if required inputs are missing or if the update fails.
Examples
Example 1: Updating the color and description of a label
Set the repository owner, repository name, label ID, and in update fields provide new color hex and description. No other fields need to be set unless desired.