Keep quality issues out of your default branch by applying autofixes, delegating remediation work to Copilot, or dismissing irrelevant findings.
Tip
If you're new to Code Quality, see Preventing code quality issues from reaching your default branch for a guided walkthrough of how Code Quality works on pull requests.
When you open a pull request, Code Quality uses CodeQL to perform a rule-based scan of your changes and posts findings as comments by github-code-quality[bot]. Each finding includes a suggested autofix. Findings are labeled by severity (Error, Warning, Note), and administrators can set quality gates to block merges based on the severity of these findings.
github-code-quality[bot].If you have a Copilot license, you can delegate the remediation work to Copilot cloud agent. Comment on the pull request mentioning @Copilot and request that Copilot fix the detected issues.

Copilot responds with an eyes emoji (👀) to your comment, starts a new agent session, and opens a pull request with the necessary fixes.
You can track Copilot cloud agent's work:
You need a Copilot license to invoke Copilot cloud agent.
Sign up for Copilot