We use this repo to synchronise the labels we use across our repositories.
It uses github-label-sync.
Labels are configured in config.json
.
The groups are only used for organisation, and to avoid having to declare the same colour multiple times.
You can preview the labels by running:
node preview.js
When a pull request is created, you will be able to see a preview of the changes that will be made to each repository in the build log in Travis CI.
Once the pull request has been merged to main
, those changes will be applied.
Labels that are not included in this config will not be affected. This also means that removing a label from the config will not remove it from any repositories.
The list of repositories to update is configured in apply.sh.