Quiz 4 Question 6 of 20

You want a GitHub Copilot agent to run automatically every time a pull request is opened against the main branch. The agent should analyze the diff and post a review comment. Which GitHub Actions workflow trigger and job configuration correctly invokes the agent in this CI context?

Select an answer to reveal the explanation.

Motivation