From 0631e5ec0b46c7506dce4e85179e4b638f53aed9 Mon Sep 17 00:00:00 2001 From: FonduemangVI <15520607+FonduemangVI@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:48:02 +1100 Subject: [PATCH] Exclude Actions-user --- .github/scripts/update-contributors.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/update-contributors.js b/.github/scripts/update-contributors.js index 0e38abcba..1e10c5b5b 100644 --- a/.github/scripts/update-contributors.js +++ b/.github/scripts/update-contributors.js @@ -23,8 +23,8 @@ function fetchPage() { } response.data.forEach((user) => { - // Exclude bots - if (user.type === 'Bot' || user.login.toLowerCase().includes('bot')) return; + // Exclude bots and actions-user + if (user.type === 'Bot' || user.login.toLowerCase().includes('bot') || user.login === 'actions-user') return; if (index % 6 === 0) { contributors += ''; @@ -33,7 +33,7 @@ function fetchPage() { const userHtml = ` - ${user.login} + ${user.login}
${user.login}