Welcome to Part 4 of the GitHub Actions Tutorial Series!
In this video, we dive into workflow triggers — the events that tell GitHub Actions when to run your workflows.
You'll learn:
The difference between on: push and on: pull_request
How to schedule workflows with CRON
How to filter by branches and file paths
How to combine multiple triggers in a single workflow
Whether you're building CI/CD pipelines, scheduled jobs, or automation bots — understanding triggers is Key.
Sample Code:
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '0 2 * * *'
Watch the full playlist:: https://www.youtube.com/watch?v=OuUCERXaAok&list=PL1c4TEBHFIRtUnU1peoLpjbODiQhPdVFo
Drop your questions or workflow examples in the comments!