fix: filter bot accounts from contributors list#3765
Conversation
Add automatic bot filtering to update-contributors.sh: - Skip logins ending with [bot] suffix - Skip accounts with GitHub API type "Bot" Remove duplicate pullfrog[bot] entries from contributors-list.md. Closes #3764
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3765 +/- ##
=======================================
Coverage 40.09% 40.09%
=======================================
Files 521 521
Lines 19264 19264
Branches 5715 5715
=======================================
Hits 7723 7723
Misses 9339 9339
Partials 2202 2202
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@pullfrog remove the needless comment and all bot accounts from the ignore list |
|
Removed the comment and all bot account entries from Task list (2/2 completed)
|
|
@pullfrog remove the contributors ignore file altogether and remove any mention of it from the script |
|
Deleted Task list (4/4 completed)
|

Closes #3764
Changes
scripts/update-contributors.shTwo-layer bot filtering added to the contributor loop:
[bot]suffix check — skips any login ending with[bot]before the API call, catching all standard GitHub bot accounts (e.g.dependabot[bot],pullfrog[bot],renovate[bot]).typecheck — after fetching the user profile, skips accounts where the GitHub API returnstype: "Bot". This catches properly registered GitHub Apps that may not follow the[bot]naming convention.The
USERS+=append was moved to after both checks so the contributor count stays accurate.docs/.contributorsignoreAdded a comment explaining that
[bot]-suffixed accounts are now filtered automatically. Existing bot entries are kept as a safeguard.docs/partials/contributors-list.mdRemoved the two duplicate
pullfrog[bot]entries (lines 118–119).