Skip to content

Commit 35322cd

Browse files
committed
Filter out additional bot and automated accounts from contributors list
1 parent d838109 commit 35322cd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/update-contributors.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,13 @@ async function readReadme() {
184184
* @returns {string} HTML for contributors section
185185
*/
186186
function formatContributorsSection(contributors) {
187-
// Filter out GitHub Actions bot
188-
const filteredContributors = contributors.filter((c) => !c.login.includes("[bot]") && !c.login.includes("R00-B0T"))
187+
// Filter out GitHub Actions bot, cursor, and roomote
188+
const filteredContributors = contributors.filter((c) =>
189+
!c.login.includes("[bot]") &&
190+
!c.login.includes("R00-B0T") &&
191+
c.login !== "cursor" &&
192+
c.login !== "roomote"
193+
)
189194

190195
// Start building with Markdown table format
191196
let markdown = `${START_MARKER}

0 commit comments

Comments
 (0)