Scheduled workflow does not create any runs although the workflow is active on main #205999
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. ⭐ |
|
Because no run object is created at all, I agree this should be debugged as a scheduler/trigger materialization problem, not as a runner, environment, secret, or application failure. A supported, low-risk refresh path is to disable and re-enable only this workflow, then observe a few non-top-of-hour windows: gh workflow disable staging-cron.yml --repo OWNER/REPO
gh workflow enable staging-cron.yml --repo OWNER/REPO
gh api repos/OWNER/REPO/actions/workflows/staging-cron.yml \
--jq '{id, name, path, state, created_at, updated_at}'Then check whether GitHub has created any scheduled run objects: gh api 'repos/OWNER/REPO/actions/runs?event=schedule&per_page=20' \
--jq '{total_count, runs: [.workflow_runs[] | {
id, name, event, status, conclusion, created_at, run_started_at, html_url
}]}'GitHub documents disable/enable as a supported workflow operation: And the Your case is stronger than an ordinary delayed cron, though, because you are seeing zero run objects across valid cron windows while push/PR workflows work. If disable/enable does not produce schedule runs after several windows, I would send Support/GitHub staff a compact evidence packet: One small YAML note: If the heartbeat also stays at zero, that is the cleanest evidence that the missing piece is before job execution: the scheduled event is not being materialized for the workflow/repository. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Schedule & Cron Jobs
Discussion Details
Hello,
I am experiencing an issue with a scheduled GitHub Actions workflow in a private repository.
The workflow is active and exists on the default branch
main, but GitHub is not creating any workflow run objects for the configuredscheduleevents.Workflow details:
.github/workflows/staging-cron.ymlmain2/5 * * * *5/10 * * * *Expected behavior:
GitHub should create a workflow run with
event=schedulefor every matching cron slot.Actual behavior:
No workflow run object is created.
There are no runs in any of these states:
Checks already completed:
The workflow previously created real scheduled runs successfully, but newer schedule events are no longer materialized.
The application-level safety gate cannot explain the problem because it is evaluated only after GitHub creates a workflow run. In this case, GitHub does not create the run object at all.
The issue continued after the recent GitHub Actions incidents were reported as resolved.
Could GitHub staff confirm whether this may be an internal scheduler registration or event dispatch issue?
Is there a safe supported way to refresh the schedule registration for this workflow without changing its functional behavior?
I can provide repository ID, workflow ID, previous scheduled run IDs, missed UTC slots, and the redacted workflow file if GitHub staff needs them.
No secret, credential, OIDC token, or environment-variable value is included in this discussion.
All reactions