CI/CD with GitHub Actions · 12-day planAll days
Day 3 of 12 25 minon:Branches & pathscron
Control exactly when workflows run. Trigger on pushes and pull requests, narrow them down with branch, tag and path filters, run on a schedule with cron, and add a Run workflow button with inputs.
By the end of today you can
- Trigger workflows on push and pull_request
- Filter by branches, tags and changed paths, including ignore lists
- Schedule workflows with cron syntax
- Add a manual trigger with workflow_dispatch and inputs
- Combine several events in one workflow
What's inside
- 5 sections
- 3 diagrams and mind maps
- 4 code examples you can run
- 5-question quiz
- 1Push and pull request
- 2Filters
- 3On a schedule
- 4A button with inputs
- 5Several events at once
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free