Github action - new timezone feature....not working? #191400
-
🏷️ Discussion TypeBug 💬 Feature/Topic AreaSchedule & Cron Jobs Discussion DetailsPasted below is the scheduled time I implemented with the new timezone feature (5:33AM). Previously, I had been using UTC time with caused the action to be triggered at 6:30 or 5:30 depending on time of year......but after pushing this new .yml to my main, the action is being ran at 7:00AM ish.... any reasons why? Has anyone else switched from UTC to using your local timezone and ran into a similar issue? on: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
💬 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. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
@JoeDittmer this could be a real issue, but the first thing I’d check is the YAML shape. GitHub’s current docs still say Likely cause Try: I think that in your version timezone is outside the schedule item, so GitHub is much less likely to treat it as the timezone for that cron expression. |
Beta Was this translation helpful? Give feedback.
-
|
The timezone feature itself isn't broken, and your YAML is correct. What you're hitting is the scheduler lag. GitHub runs With There's no direct fix for this. If you need the trigger to fire close to the scheduled time, a common workaround is to use an external cron service (cron-job.org, Zapier, etc.) that hits the If the drift is inconsistent rather than constant, also worth checking the GitHub status page to rule out a broader incident. |
Beta Was this translation helpful? Give feedback.

The timezone feature itself isn't broken, and your YAML is correct. What you're hitting is the scheduler lag.
GitHub runs
schedule:triggers on shared infrastructure, and during peak hours the actual trigger time can be anywhere from 15 minutes to 2+ hours behind. This was always the case with UTC, it just wasn't as noticeable if your cron happened to fire during a low-traffic window.With
America/Los_Angelesand33 5 * * *, GitHub converts that to roughly 12:33 UTC internally. Mid-day UTC is one of the busier windows, which explains the consistent drift you're seeing.There's no direct fix for this. If you need the trigger to fire close to the scheduled time, a common workaround is to us…