# 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.

![GH_Labels.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1618585959545/Fq1x9Td1Q.jpeg)

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](https://github.com/atsign-company/labels) , which we have now open sourced.

When a label is added to that repo it fires a  [GitHub Action](https://github.com/features/actions)  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).

![Labels_Action.JPG](https://cdn.hashnode.com/res/hashnode/image/upload/v1618585973830/9hi7cY0eO.jpeg)

Thanks to  [Olivier Jacques](https://www.olivierjacques.com/)  for pointing me to the ability to start an Action from a  [labels event](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#label) , and to the  [DXC DevOps Dojo team](https://github.com/dxc-technology/online-devops-dojo)  for having a nice  [labeling script](https://github.com/dxc-technology/online-devops-dojo/blob/master/online-devops-dojo/welcome/assets/github-labels.py)  as part of the Welcome module.
