fix: check to see if 100 was caused by default heatmap limit

This commit is contained in:
gitea-analytics-bot
2026-01-21 22:41:01 -05:00
parent 2241435af5
commit 9e48eff942

View File

@@ -26,7 +26,7 @@ jobs:
elif command -v apt-get &> /dev/null; then apt-get update && apt-get install -y jq; fi
fi
USER_URL="http://gitea-http:3000/api/v1/users/patrick/heatmap"
USER_URL="http://gitea-http:3000/api/v1/users/patrick/heatmap?limit=1000"
RAW_DATA=$(wget -qO- --header="Authorization: token ${{ secrets.GITHUB_TOKEN }}" "$USER_URL")
TOTAL_COMMITS=$(echo "$RAW_DATA" | jq '. | map(.contributions) | add')