diff --git a/.github/scripts/contributors.js b/.github/scripts/contributors.js index b79f605..8ff15d0 100644 --- a/.github/scripts/contributors.js +++ b/.github/scripts/contributors.js @@ -12,7 +12,10 @@ for (let name of contributors) { for (let commit of eventJson.commits) { // we only look for authors, not commiters, so we automatically ignore "actions-user" if ( !contributors.includes(commit.author.name) ) { - contributors.push(commit.author.name) + // auto-commits use my username, not my actual name + if (commit.author.name != 'hughrun') { + contributors.push(commit.author.name) + } } } $('#contributors-list').append(`