Skip to main content

Maintain quality code

Learn how to use GitHub's code security and code quality features to maintain high-quality code in your repositories.

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.

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

Identify and resolve a code quality block on your pull request so you can merge your changes.