Skip to main content

This version of GitHub Enterprise was discontinued on 2023-07-06. 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. 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 top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  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 top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  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 top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  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