Skip to content
Copy labels across multiple repos at once
TypeScript JavaScript
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Github copy labels

Copy labels across multiple Github repos from a source repo.

travis-image npm-image

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.


  1. Copy to multiple repos within an organizations.
  2. Avoids duplicate labels.
  3. 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

Copying labels

  1. Run cp-labels command to start the process.
  2. You will need a Github Personal Token. Grab it from your Developer settings.
  3. Then just follow the prompts.
  4. Pass --re-auth flag to define a token (since tokens are stored and re-used).
  5. Pass --force flag to re-fetch orgs and repos (since they are cached to avoid hitting Github API).

Change log

The change log can be found in the file.


Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors & License

thetutlage and contributors.

MIT License, see the included MIT file.

You can’t perform that action at this time.