Automating the label creation process using github-label.
npm install -g github-label
- Create a Personal Access Token on GitHub with
repo
andpublic_repo
permissions enabled - Add the token to your
.bashrc
(Linux) or.bash_profile
(MacOS):export GITHUB_LABEL_TOKEN='REPLACE THIS WITH YOUR TOKEN'
- Edit
labels.sh
with your repo info - Run
labels.sh
- Labels are grouped by theme in each of the JSON files
- Check labels to see the result