참고 항목
GitHub Code Quality은(는) 현재 공개 미리 보기에 있으며 변경될 수 있습니다. 공개 미리 보기에서 Code Quality은(는) 요금이 청구되지 않지만 Code Quality 스캔은 GitHub Actions 분을 소모합니다.
Overview
GitHub Code Quality helps you ensure your codebase is reliable, maintainable, and efficient. Whether you're building a new feature, reducing technical debt, or reporting on repository health, Code Quality provides actionable insights and automated fixes so you can improve and maintain the code health of your repository efficiently.
Key features and benefits
With Code Quality, you can:
- Identify code quality risks and opportunities in pull requests and through repository scans.
- Review clear explanations for findings and apply one-click Copilot-powered autofixes.
- Use repository dashboards to track reliability and maintainability scores, identify areas needing attention, and prioritize remediation.
- Set up rulesets for pull requests to enforce code quality standards and block changes that do not meet your criteria.
- Easily assign remediation work to Copilot 코딩 에이전트, if you have a Copilot license.
Availability and usage costs
GitHub Code Quality is available for organization-owned repositories on GitHub Team and GitHub Enterprise Cloud plans.
GitHub Code Quality won't be billed during public preview. However, Code Quality scans will consume GitHub Actions minutes. See GitHub Code Quality 청구.
참고 항목
- You don't need a Copilot or a Code Security license to use Code Quality or apply Copilot-powered autofixes.
- During the 공개 미리 보기, an enterprise policy that blocks the use of Code Security by repository owners will also block use of Code Quality. See 엔터프라이즈에서 GitHub Code Quality를 사용하는 것을 허용하기.
Supported languages
Code Quality performs rule-based analysis of the following languages using CodeQL:
- C#
- Go
- Java
- JavaScript
- 파이썬
- 루비
- TypeScript
Code Quality also performs AI-powered analysis with results displayed separately on the "AI 결과" repository dashboard. Unlike the rule-based CodeQL analysis that scans the entire codebase and pull requests, this AI-powered analysis only examines files recently pushed to the default branch and may identify issues in languages beyond those listed above. For more information, see GitHub Code Quality의 책임 있는 사용.
Understanding where Code Quality findings appear after enablement
Once you enable Code Quality for a repository, you'll see CodeQL scans for:
- Every new pull request opened against the default branch
- All existing pull requests to the default branch when they are updated, triggering a new run of CI tests
- The whole codebase on the default branch at the time and date shown on the "코드 품질" settings page
In addition, you'll see an AI-powered analysis of all recent pushes to the default branch.
Pull request results
When CodeQL finds rule-based problems on pull requests, you'll see comments from the github-code-quality[bot]. Where possible, each comment will include a 코파일럿 자동 수정 suggestion on how to fix the problem. See 끌어오기 요청을 병합하기 전에 코드 품질 결과 수정.
Default branch results
Code Quality findings on the default branch are reported on "코드 품질" pages on the Security tab for the repository:
- 표준 결과 shows the results of CodeQL quality analysis. See 리포지토리 코드의 품질 향상.
- AI 결과 shows the results of AI-powered analysis of the files most recently pushed to the default branch. See AI를 사용하여 최근에 병합된 코드의 품질 향상.
Scan information
Each CodeQL analysis will use GitHub Actions minutes and can be seen on the Actions tab of the repository as a run of the dynamic "코드 품질" workflow.
Next steps
- Enable Code Quality for your repository, see GitHub Code Quality 활성화. Enterprise owners may need to first update their Advanced Security policies, see 엔터프라이즈에서 GitHub Code Quality를 사용하는 것을 허용하기
- See how GitHub Code Quality works on your default branch to surface code quality issues and help you understand your repository's code health at a glance. See GitHub 코드 품질에 대한 빠른 시작.