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).
More on Workflows Not Triggering & Invalid Files
You pushed a new workflow file and nothing appears in the Actions tab.Beginner`Invalid workflow file: .github/workflows/ci.yml#L14 You have an error in your yaml syntax on line 14`Beginner`The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 5): Unexpected value 'steps'`BeginnerThe workflow runs on push to `main` but never on pull requests.BeginnerThe "Run workflow" button for `workflow_dispatch` does not appear.BeginnerA cron set to `0 9 * * *` runs at 14:30 local time, and sometimes 15 minutes late.Beginner