Skip to content

vobys/github-tools

Repository files navigation

GitHub Tools

Very simple tool made in javascript to batch creation of GitHub issues and copy labels from one repo to another.

Configure

  1. Edit the config.js file and enter a valid GitHub account.
  2. Edit the issues.json file by adding the issues's JSONs to array. For example:
[
  {
    "id": 1,
    "title": "Example 01",
    "body": "Example 01 description goes here.",
    "milestone": 1,
    "ignoredAttribute": {}
  },
  {
    "id": 2,
    "title": "Example 02",
    "body": "Example 02 description goes here.",
    "milestone": 1,
    "ignoredAttribute": {}
  },
  {
    "id": 3,
    "title": "Example 03",
    "body": "Example 03 description goes here.",
    "milestone": 1,
    "ignoredAttribute": {}
  }
]

For more details see the GitHub API documentation.

Usage

To create the issues reported in the issues.json file, run the following command:

$ npm run createIssues

To copy the labels from one repository (fromRepo) to another (toRepo), run the following command:

$ npm run copyLabels

To move the cards from one column (fromCol) to another (toCol), run the following command:

$ npm run moveCards

About

GitHub Tools

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •