GitHub Copilot — Question 7

As a developer with write access, you navigate to a code scanning alert in your repository. When will GitHub close this alert?

Answer options

Correct answer: D

Explanation

GitHub will close the alert when you find the relevant code and click on the alert within the pull request, indicating that you have reviewed it. The other options do not directly lead to the closure of the alert, as simply triaging, fixing, or analyzing does not complete the alert resolution process.