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

A scheduled workflow stopped running weeks ago, no errors.

BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → In a public repo, schedules are disabled after 60 days of no repository activity ("This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days"). Or the workflow was disabled manually, or the cron was edited on a non-default branch.

Diagnose →

gh workflow list --all
gh workflow view nightly.yml

Fix → gh workflow enable nightly.yml; make sure the schedule is on the default branch.

Prevent → Monitor critical schedules with a heartbeat (the job pings a dead-man's switch like Healthchecks.io).

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files