Docker and CI/CD · Junior · Question 47 of 75

What does on: [push, pull_request] define in a 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.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 47

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz