fix: check to see if 100 was caused by default heatmap limit
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user