-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6bf0f38
Showing
4 changed files
with
402 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github-labeler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
github-labeler | ||
============== | ||
|
||
CLI that sets GitHub labels exactly as written in YAML file | ||
|
||
## Usage | ||
|
||
```console | ||
$ go build | ||
$ ./github-labeler | ||
``` | ||
|
||
## What this app does | ||
|
||
- Create a label (e.g. when no label described in YAML) | ||
- Edit a label (e.g. when its color was changed) | ||
- Delete a label (e.g. when the label not described in YAML exists on GitHub) | ||
|
||
## YAML example | ||
|
||
```yaml | ||
labels: | ||
- name: kind/proactive | ||
description: Categorizes issue or PR as related to proactive tasks. | ||
color: 9CCC65 | ||
- name: kind/reactive | ||
description: Categorizes issue or PR as related to reactive tasks. | ||
color: FFA000 | ||
|
||
repos: | ||
- name: org/repo | ||
labels: | ||
- kind/proactive | ||
- kind/reactive | ||
``` | ||
## Author | ||
@b4b4r07 | ||
## License | ||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This config is example | ||
|
||
labels: | ||
- name: "area/kubernetes" | ||
description: "Indicates an issue on Kubernetes area." | ||
color: "1d76db" | ||
- name: "area/security" | ||
description: "Indicates an issue on security area." | ||
color: "1d76db" | ||
- name: "kind/discussion" | ||
description: "Categorizes issue or PR as related to discussion." | ||
color: "bfd4f2" | ||
- name: "kind/incident" | ||
description: "Categorizes issue or PR as related to an incident." | ||
color: "d93f0b" | ||
- name: "kind/proactive" | ||
description: "Categorizes issue or PR as related to proactive tasks." | ||
color: "9CCC65" | ||
- name: "kind/reactive" | ||
description: "Categorizes issue or PR as related to reactive tasks." | ||
color: "FFA000" | ||
- name: "lifecycle/stale" | ||
description: "Denotes an issue or PR has remained open with no activity and has become stale." | ||
color: "784212" | ||
- name: "lifecycle/frozen" | ||
description: "Indicates that an issue or PR should not be auto-closed due to staleness." | ||
color: "C2F8FF" | ||
- name: "P0" | ||
description: "" | ||
color: "d93f0b" | ||
- name: "P1" | ||
description: "" | ||
color: "fbca04" | ||
- name: "P2" | ||
description: "" | ||
color: "f9bb5e" | ||
|
||
repos: | ||
- name: b4b4r07/github-labeler | ||
labels: | ||
- area/kubernetes | ||
- area/security | ||
- kind/discussion | ||
- kind/incident | ||
- kind/proactive | ||
- kind/reactive | ||
- lifecycle/stale | ||
- P0 | ||
- P1 | ||
- P2 |
Oops, something went wrong.