Skip to main content

How-to guides for GitHub Code Quality

Learn how to use GitHub Code Quality with these detailed guides.

Enabling GitHub Code Quality

Use Code Quality to automatically catch, fix, and report on code quality issues in pull requests and on your default branch.

Interpreting the code quality results for your repository

View GitHub Code Quality findings for your default branch and fix them to improve your quality rating.

Setting code quality thresholds for pull requests

Create a Code Quality gate for pull requests to increase the quality of code merged into your repository.

Resolving a block on your pull request

Learn how to identify and resolve a code quality block on your pull request so you can merge your changes.

Allowing use of GitHub Code Quality in your enterprise

Define policies for Advanced Security that allow repository owners to enable GitHub Code Quality.