docs: Ignore copilot from Contributors.
This commit is contained in:
parent
956fbe08d4
commit
449efae0bc
1 changed files with 2 additions and 2 deletions
|
|
@ -24,13 +24,13 @@
|
|||
<script setup>
|
||||
import { ref, onMounted } from "vue";
|
||||
|
||||
const IGNORE_LOGINS = ["dependabot[bot]"];
|
||||
const IGNORE_LOGINS = ["dependabot[bot]", "copilot"];
|
||||
let contributors = ref([]);
|
||||
fetch("https://api.github.com/repos/longbridge/gpui-component/contributors")
|
||||
.then((res) => res.json())
|
||||
.then((items) => {
|
||||
let filtered = items.filter(
|
||||
(item) => !IGNORE_LOGINS.includes(item.login),
|
||||
(item) => !IGNORE_LOGINS.includes(item.login.toLowerCase()),
|
||||
);
|
||||
contributors.value = filtered.slice(0, 24);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue