You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* giteaofficial/main:
Update documentation for the new YAML label file format (go-gitea#23020)
Remove unnecessary space on link (go-gitea#23334)
Fix incorrect redirect link of delete org project (go-gitea#23327)
Fix incorrect project links and use symlink icon for org-wide projects (go-gitea#23325)
Fix PR view misalignment caused by long name file (go-gitea#23321)
Add ActionRunStatus component (go-gitea#23259)
Scoped labels: don't require holding alt key to remove (go-gitea#23303)
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/customizing-gitea.en-us.md
+14-1
Original file line number
Diff line number
Diff line change
@@ -282,9 +282,22 @@ To add custom .gitignore, add a file with existing [.gitignore rules](https://gi
282
282
283
283
### Labels
284
284
285
-
To add a custom label set, add a file that follows the [label format](https://github.com/go-gitea/gitea/blob/main/options/label/Default) to `$GITEA_CUSTOM/options/label`
285
+
Starting with Gitea 1.19, you can add a file that follows the [YAML label format](https://github.com/go-gitea/gitea/blob/main/options/label/Advanced.yaml) to `$GITEA_CUSTOM/options/label`:
286
+
287
+
```yaml
288
+
labels:
289
+
- name: "foo/bar"# name of the label that will appear in the dropdown
290
+
exclusive: true # whether to use the exclusive namespace for scoped labels. scoped delimiter is /
291
+
color: aabbcc # hex colour coding
292
+
description: Some label # long description of label intent
293
+
```
294
+
295
+
The [legacy file format](https://github.com/go-gitea/gitea/blob/main/options/label/Default) can still be used following the format below, however we strongly recommend using the newer YAML format instead.
296
+
286
297
`#hex-color label name ; label description`
287
298
299
+
For more information, see the [labels documentation]({{< relref "doc/usage/labels.en-us.md" >}}).
300
+
288
301
### Licenses
289
302
290
303
To add a custom license, add a file with the license text to `$GITEA_CUSTOM/options/license`
0 commit comments