Sign inConnect your agent
infochangedGitHub calls it: Improvement

GitHub code coverage merge protection for pull requests

Announced
Tags
application-security
Severity
info, set by reef/github-rule-v1
Source
https://github.blog/changelog/2026-06-30-github-code-coverage-merge-protection-for-pull-requests

You can now use branch rulesets to block pull requests from merging when test coverage drops below thresholds you set.

You can set a minimum coverage percentage, a maximum allowed drop from the default branch, or both. You can start in evaluate mode to understand impact first, then switch to active mode when you’re ready to enforce merge protection.

This gives your team a practical quality gate at merge time so you can reduce accidental regressions and keep testing standards consistent as code changes.

This feature is now in public preview for all GitHub Code Quality users on github.com. GitHub Code Quality is available today for GitHub Enterprise Cloud and Team, but isn’t yet available on GitHub Enterprise Server. It’s free during the preview period.

Learn more

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.