1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Files
docs/content/issues/using-labels-and-milestones-to-track-work/managing-labels.md

5.7 KiB

title, intro, permissions, redirect_from, versions, topics, type
title intro permissions redirect_from versions topics type
Managing labels You can classify {% ifversion fpt or ghec %}issues, pull requests, and discussions{% else %}issues and pull requests{% endif %} by creating, editing, applying, and deleting labels. {% data reusables.enterprise-accounts.emu-permission-repo %}
/github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/managing-labels
/articles/managing-Labels
/articles/labeling-issues-and-pull-requests
/github/managing-your-work-on-github/labeling-issues-and-pull-requests
/articles/about-labels
/github/managing-your-work-on-github/about-labels
/articles/creating-and-editing-labels-for-issues-and-pull-requests
/articles/creating-a-label
/github/managing-your-work-on-github/creating-a-label
/articles/customizing-issue-labels
/articles/applying-labels-to-issues-and-pull-requests
/github/managing-your-work-on-github/applying-labels-to-issues-and-pull-requests
/articles/editing-a-label
/github/managing-your-work-on-github/editing-a-label
/articles/deleting-a-label
/github/managing-your-work-on-github/deleting-a-label
/github/managing-your-work-on-github/managing-labels
fpt ghes ghec
* * *
Pull requests
Issues
Project management
how_to

About labels

You can manage your work on {% data variables.product.github %} by creating labels to categorize {% ifversion fpt or ghec %}issues, pull requests, and discussions{% else %}issues and pull requests{% endif %}. You can apply labels in the repository the label was created in. Once a label exists, you can use the label on any {% ifversion fpt or ghec %}issue, pull request, or discussion{% else %}issue or pull request{% endif %} within that repository.

About default labels

{% data variables.product.github %} provides default labels in every new repository. You can use these default labels to help create a standard workflow in a repository.

Label Description
bug Indicates an unexpected problem or unintended behavior
documentation Indicates a need for improvements or additions to documentation
duplicate Indicates similar {% ifversion fpt or ghec %}issues, pull requests, or discussions{% else %}issues or pull requests{% endif %}
enhancement Indicates new feature requests
good first issue Indicates a good issue for first-time contributors
help wanted Indicates that a maintainer wants help on an issue or pull request
invalid Indicates that an {% ifversion fpt or ghec %}issue, pull request, or discussion{% else %}issue or pull request{% endif %} is no longer relevant
question Indicates that an {% ifversion fpt or ghec %}issue, pull request, or discussion{% else %}issue or pull request{% endif %} needs more information
wontfix Indicates that work won't continue on an {% ifversion fpt or ghec %}issue, pull request, or discussion{% else %}issue or pull request{% endif %}

Default labels are included in every new repository when the repository is created, but you can edit or delete the labels later.

Issues with the good first issue label are used to populate the repository's contribute page. For an example of a contribute page, see github/docs/contribute.

Organization owners can customize the default labels for repositories in their organization. For more information, see AUTOTITLE.

Creating a label

Anyone with write access to a repository can create a label.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-issue-pr %} {% data reusables.project-management.labels %}

  1. To the right of the search field, click New label. {% data reusables.project-management.name-label %} {% data reusables.project-management.label-description %} {% data reusables.project-management.label-color-randomizer %} {% data reusables.project-management.create-label %}

Applying a label

Anyone with triage access to a repository can apply and dismiss labels.

  1. Navigate to the {% ifversion fpt or ghec %}issue, pull request, or discussion{% else %}issue or pull request{% endif %}.
  2. In the right sidebar, click Labels, then click a label.

Editing a label

Anyone with write access to a repository can edit existing labels.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-issue-pr %} {% data reusables.project-management.labels %} {% data reusables.project-management.edit-label %} {% data reusables.project-management.name-label %} {% data reusables.project-management.label-description %} {% data reusables.project-management.label-color-randomizer %} {% data reusables.project-management.save-label %}

Deleting a label

Anyone with write access to a repository can delete existing labels.

Deleting a label will remove the label from issues and pull requests.

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-issue-pr %} {% data reusables.project-management.labels %} {% data reusables.project-management.delete-label %}

Further reading