This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each of the questions.
Which trigger should be used in a GitHub Actions workflow to run code checks when a pull request is created?
on: workflow_dispatch
on: [push]
on: [pull_request]
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?
The unit tests weren't found.
Missing functions in training scripts.
Stylistic errors like missing blank lines.
You must answer all questions before checking your work.
Was this page helpful?