GitHub Actions schedule events never trigger in a private repository #214650
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. ⭐ |
|
It's not a private repo thing, and from your list it's not your config either. Public repos are hitting the same thing right now. #214648 is public with a valid If you need the job to run on time meanwhile, trigger it from outside through workflow-dispatch, which already works for you. A Cloudflare Worker with a cron trigger does it in a few lines: export default {
async scheduled(controller, env, ctx) {
const res = await fetch(
'https://api.github.com/repos/OWNER/REPO/actions/workflows/your-workflow.yml/dispatches',
{
method: 'POST',
headers: {
Authorization: `Bearer ${env.GH_TOKEN}`,
Accept: 'application/vnd.github+json',
'User-Agent': 'schedule-fallback',
},
body: JSON.stringify({ ref: 'main' }),
},
)
if (!res.ok) throw new Error(`dispatch failed: ${res.status} ${await res.text()}`)
},
}with For a private repo the token just has to cover it: a fine-grained PAT with access to that repo and Actions: Read and write. The User-Agent header is required by the GitHub API and Workers fetch doesn't set one. Cron triggers are UTC, same as Actions. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
ARC (Actions Runner Controller)
Discussion Details
Hi everyone,
I’m experiencing an issue with scheduled GitHub Actions workflows in my private repository.
Since November 30, 2026, scheduled workflows have not been triggering at all.
What works:
What doesn’t work:
I’ve already tried:
The diagnostic workflow uses:
on:
schedule:
- cron: '11,26,41,56 * * * *'
workflow_dispatch:
The diagnostic workflow doesn’t use secrets, external APIs, or Telegram. It only prints a message.
Is there a known issue with scheduled GitHub Actions workflows in private repositories?
Could this be related to workflow schedule registration or an issue on GitHub’s side?
Any suggestions for further troubleshooting would be appreciated.
All reactions