Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7ec34de
📝 Update WeeklyReport on 2025-07-05 04:57
github-actions[bot] Jul 5, 2025
d1feee5
📊 Update MonthlyReport on 2025-07-05 04:57
github-actions[bot] Jul 5, 2025
720b497
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
d59bdd1
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
cd4d8c2
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
597cb5b
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
d2a8960
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
e07d779
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
cc8a243
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
ca369ac
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
2760906
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
ab6a1d8
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
cc5cb70
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
131fca2
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
fafb429
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
b02c80a
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
198e1fd
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
d5556ac
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
182f72c
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 5, 2025
3aa236d
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 7, 2025
d552633
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 7, 2025
b4e1752
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 7, 2025
fe407d8
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 8, 2025
1b1be36
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 14, 2025
3216ef8
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 14, 2025
67d4161
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 17, 2025
1a31f86
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 21, 2025
45d34be
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 24, 2025
2eaedca
test
TongWu Jul 25, 2025
eec3caa
📝 Update WeeklyReport on 2025-07-25 16:33 SGT
github-actions[bot] Jul 25, 2025
45b3352
📊 Update MonthlyReport on 2025-07-25 16:33 SGT
github-actions[bot] Jul 25, 2025
53cacaa
Merge remote-tracking branch 'origin/main' into dev
github-actions[bot] Jul 28, 2025
84f9cb5
fix weekly release asset filename
TongWu Jul 29, 2025
42abe9c
Update requirements_full_list.txt
TongWu Jul 29, 2025
35e23dd
Merge pull request #33 from TongWu/codex/fix-filename-timestamp-in-we…
TongWu Jul 29, 2025
1314bf4
Delete Microsoft.VisualStudio.Services.py
TongWu Jul 29, 2025
ea552af
📝 Update WeeklyReport on 2025-07-29 16:16 SGT
github-actions[bot] Jul 29, 2025
26b919e
📊 Update MonthlyReport on 2025-07-29 16:16 SGT
github-actions[bot] Jul 29, 2025
0d24f1f
📝 Update WeeklyReport on 2025-07-29 16:17 SGT
github-actions[bot] Jul 29, 2025
73a5c52
📊 Update MonthlyReport on 2025-07-29 16:17 SGT
github-actions[bot] Jul 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 35 additions & 18 deletions .github/workflows/GenerateReport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,32 +415,43 @@ jobs:
id: find_latest
run: |
echo "📁 Scanning for latest report set..."
latest_json=$(find WeeklyReport -type f -name "WeeklyReport_*.json" | \
sed -E 's/\.json$//' | \
sort -t '_' -k2 | \
tail -n 1).json

if [[ -z "$latest_json" || ! -f "$latest_json" ]]; then
echo "❌ No valid JSON report found."
latest_csv=$(find WeeklyReport -type f -name "WeeklyReport_*.csv" | sort | tail -n 1)

if [[ -z "$latest_csv" || ! -f "$latest_csv" ]]; then
echo "❌ No weekly CSV report found."
exit 1
fi

base_name="${latest_json%.json}"
csv_file="${base_name}.csv"
base_name="${latest_csv%.csv}"
html_file="${base_name}.html"
json_file="${base_name}.json"

echo "📝 Latest base: $base_name"
echo "📄 CSV: $csv_file"
echo "📄 CSV: $latest_csv"
echo "📄 HTML: $html_file"
echo "📄 JSON: $latest_json"
echo "📄 JSON: $json_file"

echo "CSV_PATH=$csv_file" >> $GITHUB_ENV
echo "HTML_PATH=$html_file" >> $GITHUB_ENV
echo "JSON_PATH=$latest_json" >> $GITHUB_ENV
echo "CSV_PATH=$latest_csv" >> $GITHUB_ENV
echo "CSV_FILENAME=$(basename \"$latest_csv\")" >> $GITHUB_ENV

echo "CSV_FILENAME=$(basename "$csv_file")" >> $GITHUB_ENV
echo "HTML_FILENAME=$(basename "$html_file")" >> $GITHUB_ENV
echo "JSON_FILENAME=$(basename "$latest_json")" >> $GITHUB_ENV
if [[ -f "$html_file" ]]; then
echo "HTML_PATH=$html_file" >> $GITHUB_ENV
echo "HTML_FILENAME=$(basename \"$html_file\")" >> $GITHUB_ENV
else
echo "⚠️ HTML report not found: $html_file"
echo "HTML_PATH=" >> $GITHUB_ENV
echo "HTML_FILENAME=" >> $GITHUB_ENV
fi

if [[ -f "$json_file" ]]; then
echo "JSON_PATH=$json_file" >> $GITHUB_ENV
echo "JSON_FILENAME=$(basename \"$json_file\")" >> $GITHUB_ENV
else
echo "⚠️ JSON report not found: $json_file"
echo "JSON_PATH=" >> $GITHUB_ENV
echo "JSON_FILENAME=" >> $GITHUB_ENV
fi

# 🗓️ Get the Monday of current week
MONDAY_DATE=$(date -d "$(date +%Y-%m-%d -d @$(( $(date +%s) - ($(date +%u) - 1) * 86400 )))" +%Y-%m-%d)
Expand Down Expand Up @@ -474,10 +485,16 @@ jobs:
run: |
gh release create "$RELEASE_TAG" \
"$CSV_PATH#${CSV_FILENAME}" \
"$HTML_PATH#${HTML_FILENAME}" \
"$JSON_PATH#${JSON_FILENAME}" \
--title "Weekly Report - $MONDAY_DATE_DISPLAY (Generated at $GENERATED_DATE)" \
--notes "Automated weekly report"

if [[ -n "$HTML_PATH" ]]; then
gh release upload "$RELEASE_TAG" "$HTML_PATH#${HTML_FILENAME}" --clobber
fi

if [[ -n "$JSON_PATH" ]]; then
gh release upload "$RELEASE_TAG" "$JSON_PATH#${JSON_FILENAME}" --clobber
fi
env:
GH_TOKEN: ${{ secrets.GH_PAT }}

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
902 changes: 902 additions & 0 deletions WeeklyReport/2025-06-30/WeeklyReport_20250705_124618.csv

Large diffs are not rendered by default.

Loading
Loading