fix: commit counts (hopefully)

This commit is contained in:
aayush262 2024-11-05 22:58:11 +05:30 committed by GitHub
parent 7ec889a915
commit ffd9fecf26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,7 +224,7 @@ jobs:
echo "$top_contributors" echo "$top_contributors"
# Get commit count for this contributor on the dev branch # Get commit count for this contributor on the dev branch
branch_commit_count=$(git rev-list --count dev --author="$login") branch_commit_count=$(git log --author="$login" --author="$name" --oneline | awk '!seen[$0]++' | wc -l)
# Debug: Print recent_commit_counts # Debug: Print recent_commit_counts
echo "Debug: recent_commit_counts contents:" echo "Debug: recent_commit_counts contents:"