github-actions is not a contributor

This commit is contained in:
tree🌴 2024-01-26 00:20:08 +01:00
parent 28044db906
commit ad366090e9

View file

@ -28,8 +28,11 @@ async function getContributors () {
//}
});
const arr = await response.json();
console.log(arr)
for (const item of arr) {
if (item.login === "github-actions[bot]") {
continue;
}
const found = output.find(i => i.login === item.login)
if (!found) {
output.push(item)