Run a GitHub Actions workflow every 2 minutes
GitHub Actions has no exact expression for “Every 2 minutes”. Here is why, a workaround, and the platforms that can do it. GitHub Actions takes POSIX cron in on.schedule and runs it on the default branch, in UTC unless the entry sets a time zone.
Why GitHub Actions can’t do this exactly
Defined on crontab as */2 * * * * · “Every 2 minutes”
GitHub Actions runs schedules at most every 5 minutes; this asks for more often.
WorkaroundTrigger the workflow from outside with workflow_dispatch or repository_dispatch, or run the schedule somewhere else.
Runs late on GitHub? Start it on the minute →
GitHub Actions gotchas
FAQ
What is the GitHub Actions cron expression for “Every 2 minutes”?
There is none that matches exactly. GitHub Actions runs schedules at most every 5 minutes; this asks for more often.
Which time zone does a GitHub Actions schedule use?
In UTC by default. Add timezone: with an IANA name, such as Asia/Tokyo, next to cron: in the schedule entry.
Can GitHub Actions run every minute?
No. The documented minimum is every 5 minutes. For tighter intervals, trigger the workflow from outside with workflow_dispatch or repository_dispatch.
Does GitHub Actions support @hourly or @daily?
No. GitHub does not support @yearly, @monthly, @weekly, @daily, @hourly or @reboot. Use the five fields.