From 1032ee94722e49164fbc32b1ae8454b34c612862 Mon Sep 17 00:00:00 2001 From: Damien Date: Thu, 23 Apr 2026 12:08:18 +0200 Subject: [PATCH] ci(nightly): switch from daily to on-change + weekly schedule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce GitHub Actions minutes consumption on the Free plan. The nightly was running 3 jobs (full-live, slow-live, arm64-smoke) every day at 04:23 UTC regardless of code changes, consuming ~1,590 min/month (80% of the 2,000 min quota). New triggers: - Weekly (Sunday 04:23 UTC): catches environment drift (base image updates, dependency changes) even without code changes - On push to main/dev: runs full test coverage on every real change - Manual dispatch: unchanged The CI workflow (ci.yml) continues to handle PR/push feedback with lighter tests. This nightly adds the full live_api suite, slow tests, and unconditional ARM smoke that CI excludes. Projected savings: ~1,590 → ~320 min/month. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- .github/workflows/nightly.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e598c08..eaea356 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,7 +2,11 @@ name: Nightly Validation on: schedule: - - cron: '23 4 * * *' + # Weekly full validation: Sunday 04:23 UTC (catches environment drift) + - cron: '23 4 * * 0' + push: + # On-change: run full suite on every push to main/dev + branches: [main, dev] workflow_dispatch: concurrency: