Knowledge check

Completed

Choose the best response for each of the questions.

1.

Which trigger should be used in a GitHub Actions workflow to run code checks when a pull request is created?

2.

A data scientist has updated the training script for a model and creates a pull request to merge the changes. The code checks fail and in the details it shows errors like E302 and W292. What is likely causing these errors?