From ae175612dc78922d4ad2152b5b75eada7f608521 Mon Sep 17 00:00:00 2001 From: "Flemming N. Larsen" Date: Mon, 3 Aug 2026 16:28:36 +0200 Subject: [PATCH] fix: stage empty ingestion outputs safely --- .github/workflows/ingest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ingest.yml b/.github/workflows/ingest.yml index 375feba..dad9a5c 100644 --- a/.github/workflows/ingest.yml +++ b/.github/workflows/ingest.yml @@ -53,6 +53,8 @@ jobs: python scripts/aggregate.py --root . git config user.name 'github-actions[bot]' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - git add results leaderboard matchmaking clients.json site/data + for path in results leaderboard matchmaking clients.json site/data; do + [ -e "$path" ] && git add -- "$path" + done git diff --cached --quiet || git commit -m 'chore: ingest Rumble result batch' git push