megachangelog
Feature

Code coverage merge protection for pull requests

Branch rulesets now support blocking pull requests from merging when test coverage drops below thresholds you set, allowing you to enforce minimum coverage percentages.

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 post GitHub code coverage merge protection for pull requests appeared first on The GitHub Blog.

branch-rulescode-coveragepull-requestsquality-gates

Source: original entry ↗

More from GitHub

Follow GitHub to get its new changes in your feed and email digest.

Feature

Copilot model policy API for enterprise, orgs, and teams

REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.

copilotapienterprisepolicymanagement
Announcement2026.10.19

GitHub Copilot models deprecated

GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.

copilotmodelsdeprecationai
Announcement

Some Git over HTTPS may temporarily require authentication

GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.

githttpsauthenticationavailabilitytraffic
See all GitHub changes →