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(`
  • ${name}
  • \n`) diff --git a/contributors.txt b/contributors.txt index e6f4dbb..584ddb7 100644 --- a/contributors.txt +++ b/contributors.txt @@ -4,5 +4,4 @@ Gareth Dixon Andrew Kelly Hugh Rundle Sonya Lange -Stephanie Schwarze -hughrun +Stephanie Schwarze \ No newline at end of file