Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions scripts/update-contributors.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,15 @@ async function readReadme() {
* @param {Array} contributors Array of contributor objects from GitHub API
* @returns {string} HTML for contributors section
*/
const EXCLUDED_LOGIN_SUBSTRINGS = ['[bot]', 'R00-B0T'];
const EXCLUDED_LOGIN_EXACTS = ['cursor', 'roomote'];

function formatContributorsSection(contributors) {
// Filter out GitHub Actions bot
const filteredContributors = contributors.filter((c) => !c.login.includes("[bot]") && !c.login.includes("R00-B0T"))
// Filter out GitHub Actions bot, cursor, and roomote
const filteredContributors = contributors.filter((c) =>
!EXCLUDED_LOGIN_SUBSTRINGS.some(sub => c.login.includes(sub)) &&
!EXCLUDED_LOGIN_EXACTS.includes(c.login)
)

// Start building with Markdown table format
let markdown = `${START_MARKER}
Expand Down
Loading