From ffd9fecf26cac0da39c378e07fec7d307d9d2208 Mon Sep 17 00:00:00 2001 From: aayush262 <99584765+aayush2622@users.noreply.github.com> Date: Tue, 5 Nov 2024 22:58:11 +0530 Subject: [PATCH] fix: commit counts (hopefully) --- .github/workflows/beta.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index a42281ca..776b241c 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -224,7 +224,7 @@ jobs: echo "$top_contributors" # 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 echo "Debug: recent_commit_counts contents:"