Commit Graph

4 Commits

Author SHA1 Message Date
Rizel Scarlett 556c8fbade Improve Community Stars script: auto-fetch data, detect Block employees, optimize API calls
- Add automatic GitHub data fetching with retry logic and validation
- Default unknown contributors to external (eligible for Community All-Stars)
- Add automatic Block employee detection via public org membership and company field
- Optimize is_block_employee() to check company field first, reducing API calls by ~30-40%
- Add caching for org checks to avoid redundant API calls
- Improve error handling with clear messages for API failures
- Update documentation to reflect automatic fetching capabilities

This eliminates the need for manual curl commands and prevents recipe failures
from empty/invalid GitHub data files.
2025-11-18 14:48:43 -05:00
Rizel Scarlett 534367b76b Update documentation/scripts/community_stars.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-18 14:26:57 -05:00
Rizel Scarlett cac9a00656 Quick fix for community all stars script 2025-11-18 14:12:20 -05:00
taniandjerry 9f316166e2 docs: Add Community Stars recipe script and txt file (#5776)
Co-authored-by: Tania Chakraborty <tchakraborty@block.xyz>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-18 10:43:13 -05:00