Decides when the CI/CD pipeline should run. Detects push, PR, tag, ignores commits without impact, and prioritizes branches.