From d22829b6d4513b5e9ec02045cc16a74333f67a28 Mon Sep 17 00:00:00 2001 From: FonduemangVI Date: Sun, 31 Mar 2024 23:58:13 +1100 Subject: [PATCH] update to catch bot accounts --- .github/scripts/update-contributors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update-contributors.js b/.github/scripts/update-contributors.js index 564980ca4..241de5dc7 100644 --- a/.github/scripts/update-contributors.js +++ b/.github/scripts/update-contributors.js @@ -13,7 +13,7 @@ axios.get('https://api.github.com/repos/FonduemangVI/Guides/contributors') response.data.forEach((user) => { // Exclude bots - if (user.type === 'Bot') return; + if (user.type === 'Bot' || user.login.toLowerCase().includes('bot')) return; if (index % 6 === 0) { contributors += '';