From ad366090e904808b7557bf95186c16f64875f6c5 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 26 Jan 2024 00:20:08 +0100 Subject: [PATCH] github-actions is not a contributor --- utils/contributors.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/contributors.js b/utils/contributors.js index efb6b2c..cc68c6e 100644 --- a/utils/contributors.js +++ b/utils/contributors.js @@ -28,8 +28,11 @@ async function getContributors () { //} }); const arr = await response.json(); - console.log(arr) for (const item of arr) { + if (item.login === "github-actions[bot]") { + continue; + } + const found = output.find(i => i.login === item.login) if (!found) { output.push(item)