1.0.0 • Published 3 years ago

update-label v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Update label wizard

Update Github repository label with this package.

Install

$npm i update-label-wizard

Configuration

Open labels.json file and adjust as you wish. Provide a color to label by hex code without prefixed hash. Default color is black.

    {
    "name": "research",
    "color": "000000",
    "description": "digging out for more details"
    },

Import follow constants and adjust it.

import { reponame, token, userName } from 'update-label-wizard'
const repoName = "yourRepoName"
const token = "yourGithubToken"
const userName = 'yourGithubUserName'

Run

run below command first.

npm run label

copy and paste label command.

copy and paste this : npx github-label-sync --access-token yourGithubToken --labels labels.json yourGithubUserName/yourRepoName

Your label is updated.

Improvement

  • Update labels in several repos

Contributor

1.0.0

3 years ago