Scenario: The Daily Bugle, a well-known New York newspaper, operates out of the Flatiron Building under the leadership of its gruff publisher, J. J. Jameson. Peter Parker, a developer at the Daily Bugle, is implementing Machine Learning Operations (MLOps) to streamline workflows. Peter needs to automate model training by triggering a machine learning pipeline whenever a change is detected in the repository. Question: What action should Peter take to successfully automate this process?