schedule
The workflow event that starts runs on a timetable written as cron expressions.
In more detail
Schedules always run on the default branch and times are in UTC. Runs can start a little late when GitHub is busy.
Example
schedule:
- cron: '17 3 * * 1'Related terms
- cron — The Unix and Linux service that runs commands automatically on a schedule, such as every night at two in the morning.
- on — The top-level workflow key that lists which events start the workflow, with optional filters for each.
Taught in
- Triggers and the Event Model — Continuous Integration & Continuous Delivery Pipelines
- Triggers In Depth: Filters, Schedules And Dispatch — GitHub Actions (GH-200) Exam Prep
- Outputs, Artifacts, Caches And Job Summaries — GitHub Actions (GH-200) Exam Prep
- Script Injection: When An Issue Title Becomes Code — GitHub Actions (GH-200) Exam Prep