Skip to main content

Improve code quality at scale with GitHub

Inconsistent code quality slows every team down and adds risk you can't easily see. GitHub Code Quality catches issues before they merge and reports on code health across your organization. Follow this adoption path to evaluate the feature, run a pilot, prove its value, and roll it out at scale.

1

Phase 1: Evaluate and build your business case

3 Articles1-2 hours

Evaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.

  1. GitHub Code Quality
  2. GitHub Code Quality billing
  3. Viewing and managing GitHub Code Quality costs
2

Phase 2: Plan your pilot

2 Articles2-4 hours

Select a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.

  1. Code Quality enablement across organizations and enterprises
  2. Preventing code quality issues from reaching your default branch
3

Phase 3: Launch your pilot

4 Articles1-2 hours

Allow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.

  1. Allowing use of GitHub Code Quality in your enterprise
  2. Enabling GitHub Code Quality
  3. Setting code quality thresholds for pull requests
  4. Setting code coverage thresholds for pull requests
4

Phase 4: Assess the pilot and decide

4 Articles1-2 weeks

Compare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.

  1. Exploring GitHub Code Quality results in your organization
  2. Interpreting the code quality results for your repository
  3. Viewing and managing GitHub Code Quality costs
  4. Disabling GitHub Code Quality
5

Phase 5: Scale and optimize

3 ArticlesOngoing

Expand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.

  1. Rolling out GitHub Code Quality at scale
  2. Exploring GitHub Code Quality results in your organization
  3. Viewing and managing GitHub Code Quality costs
1

Phase 1: Evaluate and build your business case

3 Articles1-2 hours

Evaluate Code Quality alongside other code quality tools to determine whether it meets your organization's needs and build a business case. Review its use cases, supported languages, quality findings, and code coverage reporting. Learn how usage is billed and which cost controls are available before you plan your budget.

  1. GitHub Code Quality
  2. GitHub Code Quality billing
  3. Viewing and managing GitHub Code Quality costs
2

Phase 2: Plan your pilot

2 Articles2-4 hours

Select a small, active group of repositories for your pilot and decide how you'll measure success. Identify the teams and repository owners who will provide feedback, prepare them for the findings they'll see on pull requests, and plan how you'll communicate remediation options, gather feedback, and monitor costs during the pilot.

  1. Code Quality enablement across organizations and enterprises
  2. Preventing code quality issues from reaching your default branch
3

Phase 3: Launch your pilot

4 Articles1-2 hours

Allow Code Quality for your enterprise, then enable it for your pilot repositories. Configure thresholds for Code Quality findings and code coverage. Start the ruleset in evaluate mode to see which pull requests would be blocked, adjust the thresholds based on the results, then enable enforcement.

  1. Allowing use of GitHub Code Quality in your enterprise
  2. Enabling GitHub Code Quality
  3. Setting code quality thresholds for pull requests
  4. Setting code coverage thresholds for pull requests
4

Phase 4: Assess the pilot and decide

4 Articles1-2 weeks

Compare the pilot results with the success measures you defined. Review code health at the repository and organization level, monitor costs, and gather feedback from developers. Use what you learn to decide whether to expand, adjust, or stop the rollout.

  1. Exploring GitHub Code Quality results in your organization
  2. Interpreting the code quality results for your repository
  3. Viewing and managing GitHub Code Quality costs
  4. Disabling GitHub Code Quality
5

Phase 5: Scale and optimize

3 ArticlesOngoing

Expand Code Quality to more repositories based on what you learned from the pilot. As you expand, adjust organization-level enablement and enforcement, and continue to monitor code health, license usage, GitHub Actions minutes, and GitHub AI Credits usage.

  1. Rolling out GitHub Code Quality at scale
  2. Exploring GitHub Code Quality results in your organization
  3. Viewing and managing GitHub Code Quality costs