🟡 🏥 In Practice Published: · 2 min read ·

GitHub: Code Quality Reaches General Availability with CodeQL Analysis and Copilot Autofix Fixes

Screen showing a pull request with CodeQL alerts and Copilot Autofix suggestions

GitHub Code Quality has reached General Availability status on the Enterprise Cloud and Team plans, combining CodeQL deterministic analysis with AI detection of issues in pull requests and Copilot Autofix fixes. New features include organization-level enablement, code coverage metrics, and quality gates through rulesets, priced at $10 per committer per month.

🤖

This article was generated using artificial intelligence from primary sources.

What exactly is reaching General Availability?

GitHub Code Quality — a product that combines CodeQL, GitHub’s deterministic static code analysis engine, with AI-assisted issue detection in pull requests — has reached General Availability (GA) status on the GitHub Enterprise Cloud and GitHub Team plans. GA status means the feature has left the beta phase and is available to all users on those plans in a production-supported version, rather than the previously limited access.

Deterministic analysis versus AI detection

CodeQL performs deterministic analysis: it scans code using predefined queries and rules, so the same code always produces the same result. AI-assisted detection adds a layer that recognizes subtler issue patterns beyond the reach of fixed CodeQL queries, and Copilot Autofix then suggests concrete fixes that a developer can apply directly to the pull request. The combination of the two approaches covers both known error patterns and new variants that deterministic rules alone do not catch.

New features: dashboards, coverage, and quality gates

The GA version brings organization-wide enablement with centralized dashboards for reviewing code quality status, code coverage metrics — the percentage of code covered by tests — pulled directly from test reports, and quality gates: rules that use GitHub rulesets to block merging a pull request if the code fails to meet defined quality criteria. The price is $10 per active committer per month, plus additional usage-based charges for AI features and CodeQL computational resources.

Organization-wide dashboards give teams a centralized view across all repositories at once, so administrators no longer have to manually go through every pull request to assess code quality. The combination of code coverage metrics and quality gate rules means a team can predefine a threshold below which a pull request cannot be merged into the main branch, turning automated quality checks from a recommendation into a mandatory step in the development process.

Frequently Asked Questions

What is CodeQL and how does it differ from AI-assisted detection?
CodeQL is GitHub's deterministic static analysis engine that scans code using predefined queries and always produces the same result, while AI-assisted detection recognizes subtler issue patterns beyond the reach of those fixed rules.
What is a quality gate in GitHub Code Quality?
A quality gate is a rule set through GitHub rulesets that blocks merging a pull request if the code fails to meet defined quality criteria, such as a code coverage threshold or a number of detected issues.
How much does GitHub Code Quality cost?
The price is $10 per active committer per month, plus additional usage-based charges for AI features and CodeQL computational resources, available on the GitHub Enterprise Cloud and GitHub Team plans.

📬 AI news in your inbox

A daily digest built your way — pick topics, sources and cadence. One-click unsubscribe.