We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99292b0 commit 0910289Copy full SHA for 0910289
1 file changed
.github/workflows/contributors.yml
@@ -17,8 +17,8 @@ jobs:
17
env:
18
GH_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }}
19
run: |
20
- # Fetch contributors from GitHub API
21
- contributors=$(gh api repos/dtvem/dtvem/contributors --paginate --jq '.[] | "<a href=\"\(.html_url)\"><img src=\"\(.avatar_url)\" width=\"64\" height=\"64\" alt=\"\(.login)\"/></a>"')
+ # Fetch contributors from GitHub API (exclude bots)
+ contributors=$(gh api repos/dtvem/dtvem/contributors --paginate --jq '.[] | select(.type != "Bot") | select(.login | test("\\[bot\\]$") | not) | "<a href=\"\(.html_url)\"><img src=\"\(.avatar_url)\" width=\"64\" height=\"64\" alt=\"\(.login)\"/></a>"')
22
23
# Build the contributors section
24
contrib_section="<!-- readme: contributors -start -->
0 commit comments