This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days.
By Jake Marsh · Updated
The error
The Actions tab of a public GitHub repository with an on: schedule workflow and no recent commits.
Quick fix
- Open the Actions tab, select the workflow and click Enable workflow. The schedule starts again.
- It will be disabled again after another 60 days without repository activity, so pick one of the longer-term options below if the job matters.
Why this happens
GitHub turns off scheduled workflows in public repositories after 60 days with no activity. Scheduled workflows are also disabled by default in forks.
Other solutions
- Trigger the workflow with workflow_dispatch or repository_dispatch from an outside scheduler instead of on: schedule.
- If the job only needs to call a URL, skip Actions and have a hosted scheduler call that URL. RunLater does this on any cron schedule and keeps a log of each response.
Check a schedule before you deploy it: the cron expression explainer shows the next 10 run times.
Frequently asked questions
How do I stop GitHub from disabling my scheduled workflow?
Any repository activity, such as a commit, resets the 60-day clock, but it has to keep happening. The lasting fix is to drop on: schedule and start the workflow with workflow_dispatch from an outside scheduler.
Does this happen in private repositories?
GitHub documents the 60-day rule for public repositories. Scheduled workflows in forks are disabled by default whether or not the repository is busy.
Why is my scheduled workflow running late even when it is enabled?
GitHub can delay on: schedule runs when Actions is busy, especially at the start of every hour, and may drop some queued runs.
Have the URL called on schedule, with retries
RunLater calls your URL on a cron schedule or at an exact time, in your timezone, retries failed calls with backoff and logs each response, so a timeout or a 5xx shows up in a log instead of disappearing.