1.0.1 • Published 10 years ago

@next/gh-labels v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

gh-labels

GitHub labels for Next

npm js-standard-style Build Status Dependency Status devDependency Status

Deployment

To get new or updated labels to be used with our GitHub webhooks you need to do the following:

  1. Publish a new release of this package on NPM
  2. Update the package.json over in we-are-next/gh-webhooks
  3. If the tests pass, the updated webhooks will be automatically deployed.

If you're making a lot of updates and find publishing slow and tedious, check out cut-release.

Usage

CLI

To manually add labels to an existing repo, there are two things that you'll need.

Firstly, install github-labels:

npm install --global github-labels

Then, get a local copy of the config.json in this repo.

git clone git@github.com:we-are-next/gh-labels.git

Cool! Now you can run the following command to create labels:

labels -c gh-labels/config.json user/repo

You may optionally remove any existing labels by using the force option:

labels -c gh-labels/config.json -f user/repo
Node
npm install --save @next/gh-labels
var labels = require('@next/gh-labels')

labels.forEach(function (label) {
  // do something
})
1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago