Reputation: 9842
I've noticed that some organizations on GitHub have different labels that they can apply to issues.
For example, one organization that I am a part of allows any of these labels to be applied:
However, on my personal account, I am limited to only these labels, and I can't find a way to create my own custom ones:
Any ideas on how I can go about creating my own?
Upvotes: 68
Views: 26671
Reputation: 37218
Here's a quick GIF to make the process as easy as it can be. (recorded at my GitHub profile)
⚡️ GIF —
Labels can be applied to issues and pull requests to signify priority, category, or any other information that you find useful.
▶ On GitHub, navigate to the main page of the repository.
Under your repository name, click Issues or Pull requests.
Issues Labels buttonNext to the search field, click Labels.
Click New Label to create a new label, or click Edit to edit an existing one.
In the text box, type your new label name.
I hope it helps. Upvote it if it does.
Upvotes: 51
Reputation: 8380
The ui makes it hard to find!
You should be able to go to https://github.com/your_username/your_repo/labels
There's a github blog post that explains this in detail. https://help.github.com/articles/creating-and-editing-labels-for-issues-and-pull-requests/
Upvotes: 5
Reputation: 11564
If you find yourself doing this a lot, then you might want to try using my python script (or creating something similar) so that you can set up your own labels for each new repository...
https://github.com/martinpeck/gh-issue-label-generator
Upvotes: 1
Reputation: 137108
It looks like you might be accessing GitHub on a mobile device, which likely exposes a somewhat different interface.
On the full web interface, simply navigate to https://github.com/:user/:repo/labels
and click the green "New label" button at the top right. Existing labels can be edited or deleted on the same page.
You can also get to this page by clicking on "issues" and then "labels".
Upvotes: 100