Skip to content
develop
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Features

  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.

Demo's

If labels already exists, they will be skipped.

Installation

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 CHANGELOG.md file.

Contributing

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.

About

Copy labels across multiple repos at once

Resources

License

Packages

No packages published