팁
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.
How Code Quality works on pull requests
When you open a pull request, Code Quality runs two types of analysis and posts findings as comments on the pull request.
-
github-code-quality[bot]findings: Code Quality uses CodeQL to perform a rule-based scan of your changes. These findings are posted as comments bygithub-code-quality[bot]and include 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. -
Copilot findings: If your organization has Copilot licenses and AI features are enabled for your enterprise, Code Quality uses Copilot 코드 검토 to identify quality issues that rules-based analysis may not detect. These findings are posted as comments by Copilot, and include a suggested autofix. See GitHub Copilot 코드 검토 정보.
Resolving a finding
- On GitHub, navigate to your open pull request.
- On the Files Changed tab, scroll to a comment left by
github-code-quality[bot]or Copilot. - Carefully review the comment and the suggested autofix for logic, security, and style.
- If you agree with the suggestion and you want to apply the fix, click Commit suggestion, or Add suggestion to batch.
- Alternatively, if the finding isn't relevant or actionable, you can dismiss the finding. For example, you might dismiss a finding that is in legacy code no longer maintained, is a known exception to your team's coding standards, or is a false positive that doesn't pose a real quality risk.
- For comments left by
github-code-quality[bot], click Dismiss finding. - For comments left by Copilot, click Resolve.
- For comments left by
Delegating remediation work to Copilot
또는 Copilot 라이선스가 있는 경우, Copilot 클라우드 에이전트에게 수정 작업을 위임할 수 있습니다. 끌어오기 요청에서 @Copilot을 언급하고 Copilot에게 발견된 문제를 수정하도록 요청합니다.

Copilot은 사용자의 주석에 눈 이모티콘(👀)으로 응답하고, 새 에이전트 세션을 시작하고, 필요한 수정 사항을 이용해 끌어오기 요청을 엽니다.
Copilot 클라우드 에이전트의 작업을 추적할 수 있습니다.
- 끌어오기 요청에서 작업이 진행됨에 따라 요약이 업데이트됩니다.
- 에이전트 페이지 또는 세션 로그를 사용하여 에이전트 세션 관리을 참조하세요.
Copilot를 호출하려면 Copilot 클라우드 에이전트 라이선스가 필요합니다.
등록 Copilot