Docker and CI/CD · Junior · Question 47 of 75
What does on: [push, pull_request] define in a workflow?
- 1The order in which jobs are executed
- 2The branches the workflow is allowed to push to
- ✓Correct answer: The events that trigger the workflow
Explanation
Triggers can be narrowed with branches and paths, and there are many more events: schedule, workflow_dispatch for manual runs, release and others.