Interview Prep/GitHub Actions/Workflows Not Triggering & Invalid Files

A cron set to `0 9 * * *` runs at 14:30 local time, and sometimes 15 minutes late.

BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → Cron is UTC (09:00 UTC is 14:30 IST), and scheduled runs are queued best-effort, delayed at the top of the hour when load peaks.

Diagnose →

gh run list --workflow nightly.yml --json createdAt --limit 10

Fix → Convert to UTC (30 3 * * * for 09:00 IST) and pick an off-peak minute like 17.

Prevent → Comment the local time next to every cron line.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files