fix: rev-list not available in git version, updated
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user