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,9 +12,12 @@ for (let name of contributors) {
for (let commit of eventJson.commits) { for (let commit of eventJson.commits) {
// we only look for authors, not commiters, so we automatically ignore "actions-user" // we only look for authors, not commiters, so we automatically ignore "actions-user"
if ( !contributors.includes(commit.author.name) ) { if ( !contributors.includes(commit.author.name) ) {
// auto-commits use my username, not my actual name
if (commit.author.name != 'hughrun') {
contributors.push(commit.author.name) contributors.push(commit.author.name)
} }
} }
}
$('#contributors-list').append(`<li>${name}</li>\n`) $('#contributors-list').append(`<li>${name}</li>\n`)
} }
} }

View file

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