Scheduled workflows never trigger, but manual runs succeed<Your question, feedback, or bug report about GitHub Actions> #214491
Replies: 2 comments 1 reply
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
This sounds like the classic scheduled-workflow gotcha: scheduled runs only fire from the workflow file on the default branch, and GitHub pauses the schedule after 60 days without any repository activity. Since manual runs work, the YAML itself is fine, so I would check three things. First, confirm the workflow file on main is the exact version you expect — if the schedule was only added on another branch, or the file was recently edited, the scheduled event is registered from the default-branch copy. Second, check the repository's recent activity: a push or any commit can re-enable a schedule that GitHub paused after inactivity. Third, look in the Actions tab for any skipped or cancelled scheduled runs around the expected times; sometimes the run is created but immediately skipped because a previous run is still in progress and a concurrency setting cancels it. A small test also helps: add a second workflow with a simple cron, such as every 15 minutes, that just echoes a message, and see whether that one fires. If the test workflow fires and the production one does not, the difference is almost certainly in that workflow's own trigger configuration or run history rather than in the repository settings. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Schedule & Cron Jobs
Discussion Details
I'm experiencing an issue with scheduled GitHub Actions workflows in a private repository. Manual runs succeed, but scheduled runs never appear in the workflow history.
My workflow uses the following configuration:
on:
workflow_dispatch:
schedule:
- cron: '45 2,8,14,20 * * *'
What I've already verified:
The workflow file is located on the default branch (main).
YAML syntax and cron expression are correct.
GitHub Actions is enabled and all actions are permitted.
Manual workflow runs complete successfully.
Different scheduling intervals have been tested, including a five-minute interval.
The latest successful manual production run was on November 30 at 22:02 UTC. Three expected scheduled runs on December 1 have since failed to appear.
Has anyone experienced a similar issue? Could this be related to scheduled event registration or a repository-level restriction?
Are there any additional diagnostics or steps to resolve this?
Thanks in advance!
All reactions