chore: several automation improvements

Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
This commit is contained in:
Christian Kotzbauer 2020-12-26 17:49:53 +01:00
parent 3d4ad16b9a
commit 60ac30d37d
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{ "command": "hold", "arg": "cancel", "action": "remove-label", "label": "hold" },
{ "command": "label", "arg": "(.*)", "action": "add-label", "label": "$1" },
{ "command": "remove-label", "arg": "(.*)", "action": "remove-label", "label": "$1" },
{ "command": "kind", "arg": "(bug|feature|documentation|test|cleanup)", "action": "add-label", "label": "kind/$1" },
{ "command": "kind", "arg": "(bug|feature|documentation|test|cleanup|security)", "action": "add-label", "label": "kind/$1" },
{ "command": "lifecycle", "arg": "(stale|frozen)", "action": "add-label", "label": "lifecycle/$1" },
{ "command": "remove-lifecycle", "arg": "(stale|frozen)", "action": "remove-label", "label": "lifecycle/$1" }
],

1
.github/labels.json vendored
View File

@ -5,6 +5,7 @@
{ "name": "kind/test", "color": "#ddc23b", "description": "Categorizes issue or PR as related to tests." },
{ "name": "kind/cleanup", "color": "#ededed", "description": "Categorizes issue or PR as related to cleaning up code, process, or technical debt." },
{ "name": "kind/dependencies", "color": "#ededed", "description": "Pull requests that update a dependency file" },
{ "name": "kind/security", "color": "#10cc8a", "description": "Categorizes issue or PR as related to security." },
{ "name": "lifecycle/stale", "color": "#795548", "description": "Denotes an issue or PR has remained open with no activity and has become stale." },
{ "name": "lifecycle/frozen", "color": "#d3e2f0", "description": "Indicates that an issue or PR should not be auto-closed due to staleness." },
{ "name": "size/XS", "color": "#009900", "description": "Denotes a PR that changes 0-9 lines, ignoring generated files." },