From 60ac30d37d7d32d3a2f2acc459a59190fbc2a580 Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Sat, 26 Dec 2020 17:49:53 +0100 Subject: [PATCH] chore: several automation improvements Signed-off-by: Christian Kotzbauer --- .github/label-commands.json | 2 +- .github/labels.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/label-commands.json b/.github/label-commands.json index e7cda1b..ba9a19a 100644 --- a/.github/label-commands.json +++ b/.github/label-commands.json @@ -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" } ], diff --git a/.github/labels.json b/.github/labels.json index d5444ea..7a31b4f 100644 --- a/.github/labels.json +++ b/.github/labels.json @@ -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." },