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
Size: 1127
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
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.
We recommend downloading ghlabel using the latest release which is available here.
For ghlabel, we use make
to generate the executables for all operating systems and architectures.
ke {{linux, darwin, windows}}
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