




















@@ -280,6 +280,33 @@ jobs:
280280 ]);
281281 const prExemptLabels = new Set(["maintainer", "no-stale", "bad-barnacle"]);
282282 const maintainerAssociations = new Set(["OWNER", "MEMBER", "COLLABORATOR"]);
283+ const maintainerLogins = new Set([
284+ "altaywtf",
285+ "BunsDev",
286+ "cpojer",
287+ "gumadeiras",
288+ "hydro13",
289+ "hxy91819",
290+ "jalehman",
291+ "joshavant",
292+ "joshp123",
293+ "mbelinky",
294+ "mukhtharcm",
295+ "ngutman",
296+ "obviyus",
297+ "odysseus0",
298+ "onutc",
299+ "osolmaz",
300+ "sebslight",
301+ "sliverp",
302+ "steipete",
303+ "thewilloftheshadow",
304+ "tyler6204",
305+ "velvet-shark",
306+ "vignesh07",
307+ "vincentkoc",
308+ "visionik",
309+ ].map(login => login.toLowerCase()));
283310284311 const issueCloseMessage = [
285312 "Closing due to inactivity.",
@@ -310,6 +337,7 @@ jobs:
310337 missingStale: 0,
311338 exemptLabel: 0,
312339 maintainerAuthor: 0,
340+ maintainerAssignee: 0,
313341 notOldEnough: 0,
314342 disabledType: 0,
315343 };
@@ -347,6 +375,14 @@ jobs:
347375 }
348376349377 const assigned = (item.assignees || []).length > 0;
378+ const assignedToMaintainer = (item.assignees || []).some(assignee =>
379+ maintainerLogins.has(assignee.login.toLowerCase()),
380+ );
381+ if (assignedToMaintainer) {
382+ skipped.maintainerAssignee += 1;
383+ continue;
384+ }
385+350386 let eligible = false;
351387 let lane = "";
352388 if (isPr && assigned) {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。