Scheduled GitHub Actions workflows never trigger, while manual runs work #211380
Replies: 2 comments
|
💬 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. ⭐ |
|
Nothing in the repo is misconfigured, and the file you have now is fine. GitHub is not creating schedule events for it, and only GitHub can fix that. Check it with one call and then leave the workflow file alone: gh api "repos/dominikskaro/tcg-tracker/actions/runs?event=schedule" --jq .total_countIt returns 0 (I checked at 09:58 UTC), while the workflow is The Same report this month, all private repos so far: #211322, #211326, #211258. Nobody found a config cause. Open a ticket at support.github.com with the workflow id (397662312) and the Until it clears, fire the workflow from an outside cron (a server, a Cloudflare Worker, cron-job.org) with a fine-grained token limited to this repo and Actions: Read and write: curl -X POST -H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.github+json" \
https://api.github.com/repos/dominikskaro/tcg-tracker/actions/workflows/397662312/dispatches \
-d '{"ref":"main"}' |
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 need help diagnosing scheduled workflows that never create runs in my public repository:
https://github.com/dominikskaro/tcg-tracker
What I have verified:
The repository’s default branch is main, and the workflow files are on that branch.
The repository does not appear to be a fork.
In Actions, both workflows show “Disable workflow” in the menu, so they appear to be enabled.
Manually running the TCG Tracker workflow with workflow_dispatch works.
The TCG Tracker schedule was tested first with Europe/Zagreb timezone support, then without a timezone using a UTC cron schedule. Neither produced scheduled runs.
I added an enabled Schedule Probe workflow using */5 * * * *. It only prints the event name and UTC time; it does not scrape websites or access secrets. It did not create a run after 15 minutes.
The scraper job uses runs-on: ubuntu-latest. No self-hosted runner is configured.
Because no scheduled run is created, there are no job logs or run IDs to inspect. Could you help determine why scheduled events are not being enqueued for this repository, or whether there is a repository/account setting preventing them?
I can provide screenshots of the workflow pages and a successful manual run if helpful.
All reactions