Managing GitHub Labels

Managing GitHub Labels

I was on a sprint planning call last week where it felt like we spent way too much time getting the labels in our various repos straightened out.


After a little Googling I found various scripts that use the GitHub API to manage labels. But nothing that seemed easy enough. So… I pulled together my own repo of scripts – atsign-company/labels , which we have now open sourced.

When a label is added to that repo it fires a GitHub Action that pushes the new label to all the repos listed in a config file (in our case atsign-foundation.yaml for our open source repos).


Thanks to Olivier Jacques for pointing me to the ability to start an Action from a labels event , and to the DXC DevOps Dojo team for having a nice labeling script as part of the Welcome module.