create_label
Create a new label in a Gitea repository with a unique name and hex color. Optionally add a description to organize issues.
Instructions
Create a label. name required and MUST be unique in the repo (a duplicate -> conflict error). color is 6-digit hex, with or without a leading '#' (e.g. '#ff0000' or 'ff0000'). description optional. Returns the label with its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| color | Yes | Label color (6-digit hex, e.g. #ff0000) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| description | No | Label description |