/github-labels-copy

How to copy GitHub labels from one project to another.

Primary LanguageJavaScriptMIT LicenseMIT

GitHub Labels Copy

Typically, a GitHub account consists of several sub-projects. To make the labels consistent, we can use some tool to copy the label from a source project to a destination project. The purpose of this repository is to help doing this job more easily, with less effort. This repository is based on the copy-github-labels repository. To organize the workflow follow this work.

Clone & Install

  1. Clone the repository:
git clone git@github.com:FMCalisto/github-labels-copy.git
  1. Get inside the root:
cd github-labels-copy
  1. Install dependencies:
npm install

Instructions

  1. Go to Settings

  2. Generate a new token for personal access token;

  3. Go to index.js file;

  4. Edit the source information;

  5. Edit the destination information;

  6. Edit the token you created on phase number (2.) of this section;

Run

  1. Go to the folder root:
cd github-labels-copy
  1. Run the project by doing:
npm start