exclude hughrun from contributors
This commit is contained in:
parent
d05f7ba683
commit
cf06a819cc
5
.github/scripts/contributors.js
vendored
5
.github/scripts/contributors.js
vendored
|
@ -12,7 +12,10 @@ 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) ) {
|
||||||
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`)
|
$('#contributors-list').append(`<li>${name}</li>\n`)
|
||||||
|
|
|
@ -5,4 +5,3 @@ Andrew Kelly
|
||||||
Hugh Rundle
|
Hugh Rundle
|
||||||
Sonya Lange
|
Sonya Lange
|
||||||
Stephanie Schwarze
|
Stephanie Schwarze
|
||||||
hughrun
|
|
||||||
|
|
Loading…
Reference in a new issue