Skip to content

Commit

Permalink
docs: move the filter to updateContributor script .js
Browse files Browse the repository at this point in the history
  • Loading branch information
derecklhw committed Aug 26, 2024
1 parent 2a5419a commit 3098c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontendmu-data/scripts/update-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function updateContributors() {
})
.filter((contributor) => {
// Exclude the following contributors from the list
const excludedContributors = ["actions-user"];
const excludedContributors = ["actions-user", "GitHub Action[bot]", "GitHub Action"];
return !excludedContributors.includes(contributor.username);
});

Expand Down
3 changes: 1 addition & 2 deletions packages/frontendmu-nuxt/pages/team.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ interface Contributor {
const contributors: Contributor[] = Contributors
const NuxtLink = resolveComponent('NuxtLink')
const displayContributors = computed(() => contributors?.filter((c: Contributor) => c.username !== 'github-actions[bot]')) || []
</script>

<template>
Expand Down Expand Up @@ -96,7 +95,7 @@ const displayContributors = computed(() => contributors?.filter((c: Contributor)
</div>

<ul id="team" role="list" class="mx-auto grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-4 md:gap-x-6 lg:gap-x-8">
<li v-for="person in displayContributors" :key="person.username">
<li v-for="person in contributors" :key="person.username">
<a :href="`https://github.com/Front-End-Coders-Mauritius/frontendmu-astro/commits?author=${person.username}`"
target="_blank" class="space-y-4"
>
Expand Down

0 comments on commit 3098c5d

Please sign in to comment.