Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Managing default labels for repositories in your organization

You can customize the labels that are included in every new repository in your organization.

Organization owners can manage default labels for repositories in the organization.

Default labels are included in every new repository in your organization, but anyone with write access to the repository can edit or delete the labels in that repository later. Adding, editing, or deleting a default label does not add, edit, or delete the label from existing repositories.

Creating a default label

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
  2. Next to the organization, click Settings.
  3. In the "Code, planning, and automation" section of the sidebar, select Repository, then click Repository defaults.
  4. Under "Repository labels", click New label.
  5. Under "Label name", type a name for your label.
  6. Under "Description", type a description to help others understand and use your label.
  7. Optionally, to customize the color of your label, edit the hexadecimal number, or, for another random selection, click .
  8. To save the new label, click Create label.

Editing a default label

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. In the "Code, planning, and automation" section of the sidebar, select Repository, then click Repository defaults.

  4. In the labels list, to the right of the label you want to edit, click Edit.

  5. Under "Label name", type a name for your label.

  6. Under "Description", type a description to help others understand and use your label.

  7. Optionally, to customize the color of your label, edit the hexadecimal number, or, for another random selection, click .

  8. Click Save changes.

Deleting a default label

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. In the "Code, planning, and automation" section of the sidebar, select Repository, then click Repository defaults.

  4. In the labels list, to the right of the label you want to delete, click Delete.

  5. Read the warning, then click OK.

Further reading