The way we set up GitHub labels for our projects at 2Alchemists.
This project is open sourced under the terms of the Creative Commons Attribution 4.0 International Public License (also known as CC-BY). See the LICENSE file for more details.
The default GitHub labels may be fine for some projects, but we think they can be greatly improved by adding our own labels.
Dave Lunny has written a great article about a sane labelling scheme, and this repository takes up most of the ideas in the article, adapting them to our way of working and organizing.
The labels are specified as JSON files, ready to be used with popomore/github-labels.
These are the labels already defined.
Name | Color |
---|---|
Priority: βͺοΈ Low |
#009800 |
Priority: π΅ Medium |
#fbca04 |
Priority: π΄ High |
#d73a4a |
Priority: π¨ Critical |
#e11d21 |
Name | Color |
---|---|
Type: π Bug |
#e11d21 |
Type: π¨ Maintenance |
#fbca04 |
Type: β¨ Enhancement |
#84b6eb |
Type: β Question |
#cc317c |
See documentation for installation and usage of popomore/github-labels, especially when using a Gitbub Enterprise instance for which you'll need to pass some additional parameters (like a Personal Access Token).
To apply the labels on a specific repository user/repo
, type the following command:
$ ls src/*.json | xargs -I{} labels -c {} -f user/repo