0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-25 18:19:26 -05:00

user: label: section about archiving labels

This commit is contained in:
Earl Warren 2023-11-15 22:17:04 +01:00
parent 4596970531
commit 4bba2896a5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 13 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View file

@ -24,6 +24,19 @@ Labels have a mandatory name, a mandatory color, an optional description, and mu
When you create a repository (or an organization), you can ensure certain labels exist by using the `Issue Labels` option. This option lists a number of available label sets that are configured globally on your instance. When you create a repository (or an organization), you can ensure certain labels exist by using the `Issue Labels` option. This option lists a number of available label sets that are configured globally on your instance.
## Archiving Labels
When a label is no longer useful but needs to be kept around because
it is still associated with existing pull requests or issues, it can
be archived.
- The label won't show up as a suggestion when you're adding/editing labels.
- The label cannot be assigned to a new issues or pull requests.
To archive a label, edit the label an click the `Archive` checkbox.
![archive a label](../_images/user/labels/label-archive.png)
## Scoped Labels ## Scoped Labels
Scoped labels are used to ensure at most a single label with the same scope is assigned to an issue or pull request. For example, if labels `kind/bug` and `kind/enhancement` have the Exclusive option set, an issue can only be classified as a bug or an enhancement. Scoped labels are used to ensure at most a single label with the same scope is assigned to an issue or pull request. For example, if labels `kind/bug` and `kind/enhancement` have the Exclusive option set, an issue can only be classified as a bug or an enhancement.