fix: rev-list not available in git version, updated

This commit is contained in:
gitea-analytics-bot
2026-01-21 22:07:29 -05:00
parent d9fc61f7dc
commit 46a04844b6

View File

@@ -21,7 +21,7 @@ jobs:
- name: Process Statistics and Update README
run: |
HUMAN_COUNT=$(git rev-list --count --icase --author="patrick|Patrick Beane" --since="2026-01-01T00:00:00" ${{ github.ref_name }})
HUMAN_COUNT=$(git log --format='%aN' --since="2026-01-01T00:00:00" ${{ github.ref_name }} | grep -iE "patrick|Patrick Beane" | wc -l)
echo "COMMIT_VELOCITY=$HUMAN_COUNT" >> $GITHUB_ENV