exclude hughrun from contributors

This commit is contained in:
Hugh Rundle 2021-02-01 16:27:14 +11:00
parent d05f7ba683
commit cf06a819cc
2 changed files with 5 additions and 3 deletions

View file

@ -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(`<li>${name}</li>\n`)

View file

@ -4,5 +4,4 @@ Gareth Dixon
Andrew Kelly
Hugh Rundle
Sonya Lange
Stephanie Schwarze
hughrun
Stephanie Schwarze