Github copy labels
Copy labels across multiple Github repos from a source repo.
Github copy labels is a node CLI module to copy labels across multiple repos. I created this module, because I was not able to find any app that lemme copy to multiple repos at once.
- Copy to multiple repos within an organizations.
- Avoids duplicate labels.
- Caches organizations and repos data to avoid hitting Github API every time.
If labels already exists, they will be skipped.
Install it from npm as a global dependency, so that you can run the command from anywhere.
npm i -g gh-copy-labels
cp-labelscommand to start the process.
- You will need a Github Personal Token. Grab it from your Developer settings.
- Then just follow the prompts.
--re-authflag to define a token (since tokens are stored and re-used).
--forceflag to re-fetch orgs and repos (since they are cached to avoid hitting Github API).
The change log can be found in the CHANGELOG.md file.
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Authors & License
MIT License, see the included MIT file.