From b794d2037a90c47ec33847f6363a7f93b55d67d6 Mon Sep 17 00:00:00 2001 From: "planetrenox@protonmail.com" Date: Wed, 28 Oct 2026 14:19:47 +0000 Subject: [PATCH] Run the star chart workflow every 4 hours Co-Authored-By: Claude Opus 5.5 --- .github/workflows/stars.yml | 5 ++--- stars.mjs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stars.yml b/.github/workflows/stars.yml index ae5a1e8..c176fb9 100644 --- a/.github/workflows/stars.yml +++ b/.github/workflows/stars.yml @@ -1,9 +1,8 @@ name: stars on: schedule: - # Every ~2.5h (cron can't do half hours, so two interleaved 5-hour schedules) - - cron: '17 0-23/5 * * *' - - cron: '47 2-23/5 * * *' + # Every 4h + - cron: '17 */4 * * *' workflow_dispatch: permissions: contents: write diff --git a/stars.mjs b/stars.mjs index bff53a7..1bfde27 100644 --- a/stars.mjs +++ b/stars.mjs @@ -168,7 +168,7 @@ ${isoStar(ex, ey, S)} ` } -// Only redraw when the star count or the UTC day changes, so the hourly job doesn't commit (and deploy) every run +// Only redraw when the star count or the UTC day changes, so the scheduled job doesn't commit (and deploy) every run const key = (stars, now) => `${stars.length}@${date(now)}` export { svg, markers }