fix(actions): correct fields for commit history
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
# Use our own heatmap.json instead of Gitea API
|
# Use our own heatmap.json instead of Gitea API
|
||||||
HEATMAP_FILE="public/heatmap.json"
|
HEATMAP_FILE="public/heatmap.json"
|
||||||
TOTAL_COMMITS=$(jq '[.[] | .count] | add' "$HEATMAP_FILE")
|
TOTAL_COMMITS=$(jq '[.days[] | .count] | add' "$HEATMAP_FILE")
|
||||||
|
|
||||||
echo "Global Commit Velocity: $TOTAL_COMMITS"
|
echo "Global Commit Velocity: $TOTAL_COMMITS"
|
||||||
echo "COMMIT_VELOCITY=$TOTAL_COMMITS" >> $GITHUB_ENV
|
echo "COMMIT_VELOCITY=$TOTAL_COMMITS" >> $GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user