Menu

GitHub Actions scheduled workflow didn't run? Get alerted when it's skipped
πŸ“°

GitHub Actions scheduled workflow didn't run? Get alerted when it's skipped

DEV Community: githubΒ·Brie LabΒ·3 days ago
#npfzLwnT
#devtogithub#technology#devto#dev#github
Long article (365 words) β€” no AI summary yet.
Reading 0:00
15s threshold

A failed GitHub Actions run sends you an email. A scheduled run that never starts sends nothing.

If you use on: schedule for backups, data syncs, reports or cleanup, these are the ways a run quietly goes missing:

Delays and drops under load. GitHub documents that scheduled runs can be delayed during periods of high load, and some queued runs may be dropped. The top of the hour is the busiest time.

Auto-disable after 60 days. In public repositories, scheduled workflows are disabled automatically when there has been no repository activity for 60 days.

The workflow file moved or broke. Schedules only run from the default branch; a YAML error or a rename on that branch stops them without a failed run to look at.

The fix: a heartbeat as the last step

Instead of watching for failures, expect a "still alive" signal.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.