drud/ghlabel

Name: ghlabel

Owner: DRUD

Description: A tool to automate GitHub issue label management

Created: 2017-08-04 21:12:32.0

Updated: 2017-09-05 15:54:45.0

Pushed: 2017-09-02 05:29:42.0

Homepage:

Size: 1127

Language: Makefile

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ghlabel

CircleCI Go Report Card project is maintained

Manually creating issue labels for each repository in an organization is a tedious and error prone process that simply doesn't scale.

Ghlabel aims to solve this problem by being a tool to automatically standardize GitHub issue labels. It does so by using issue labels from a reference repository, and applying those labels to all or a single repository in a GitHub organization or user's account.

Quickstart

Before getting started, you need to have an API token from GitHub to access any repositories. If you don't already have a token, you can get one here.

port GHLABEL_GITHUB_TOKEN=1234...

After the environment variable for the GitHub token is set, you're ready to go.

Download and install
Official release

We recommend downloading ghlabel using the latest release which is available here.

Manual install

For ghlabel, we use make to generate the executables for all operating systems and architectures.

ke {{linux, darwin, windows}}
Usage

The tool currently has two functions: previewing staged label changes and applying them.

As a safeguard, ghlabel runs in preview mode by default.

label --org=drud --ref=community

You can apply label changes using the --apply flag (or -a for short).

label --org=drud --ref=community --apply

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.