https://github.com/gedex/gembel
Bulk update GitHub issue labels
https://github.com/gedex/gembel
Last synced: over 1 year ago
JSON representation
Bulk update GitHub issue labels
- Host: GitHub
- URL: https://github.com/gedex/gembel
- Owner: gedex
- License: bsd-3-clause
- Created: 2017-12-10T18:32:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T05:56:20.000Z (almost 8 years ago)
- Last Synced: 2025-02-15T08:24:30.372Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gembel
======
gembel — command line app to bulk update GitHub issue labels.
## Install
### From brew
```
brew install gedex/tap/gembel
```
Check the [tap source](https://github.com/gedex/homebrew-tap) for more details.
### From binaries
Download your preferred flavor from the [releases page](https://github.com/gedex/gembel/releases/latest) and install manually.
### From Go Get
```
go get github.com/gedex/gembel
```
## Using gembel
Before using gembel, you need `GITHUB_TOKEN` (can be retrieved from [here](https://github.com/settings/tokens)).
Once you've that, set it to your bash profile or provide it when running the app:
```
GITHUB_TOKEN="token" gembel
```
`` is JSON file with following structure:
```json
{
"labels": [
{
"name": "[Type] Bug",
"color": "e11d21",
"replace": "bug"
},
{
"name": "[Type] Enhancement",
"color": "c7def8"
}
],
"repositories": [
"gedex/repo-name",
"gedex/another-repo-name"
]
}
```
It requires `labels` (label properties to apply) and `repositories` (the
target repositories). If label has `replace` property (optional), it will replace
matching label in the repository with the new one in `name`. If you want to
mimic labels from another repository, you can use [glek](https://github.com/gedex/glek)
to export repository issue labels.