ci: don't assign reviewers for "api" and "ui" labels

The labels as they're currently defined are too broad to meaningfully
add specific reviewers for them.
This commit is contained in:
dundargoc 2024-03-15 10:56:33 +01:00 committed by dundargoc
parent bf24298fea
commit 924a7ef8bb
1 changed files with 0 additions and 10 deletions

View File

@ -7,11 +7,6 @@ module.exports = async ({ github, context }) => {
const labels = pr_data.data.labels.map((e) => e.name);
const reviewers = new Set();
if (labels.includes("api")) {
reviewers.add("bfredl");
reviewers.add("famiu");
}
if (labels.includes("build")) {
reviewers.add("dundargoc");
reviewers.add("jamessan");
@ -103,11 +98,6 @@ module.exports = async ({ github, context }) => {
reviewers.add("dundargoc");
}
if (labels.includes("ui")) {
reviewers.add("bfredl");
reviewers.add("famiu");
}
if (labels.includes("vim-patch")) {
reviewers.add("seandewar");
reviewers.add("zeertzjq");