github GitHub Changelog ·

GitHub REST API Now Supports Code Coverage Ruleset Management

infragaengineer
feature

GitHub has made its REST API generally available for managing code coverage ruleset conditions, which enforce minimum coverage percentages or maximum tolerable drops for pull requests. This enables programmatic creation, update, and reading of these rules, supporting consistent management across repositories and integration with infrastructure-as-code workflows. The feature requires GitHub Code Quality and configured code coverage uploads. It is available on GitHub Enterprise Cloud and GitHub Team, excluding GitHub Enterprise Server.

Features (1)
  • Programmatic Management for Code Coverage Rulesets

    The GitHub REST API is now generally available for managing code coverage ruleset conditions. This allows developers to programmatically create, update, and read rules that enforce minimum code coverage percentages or set maximum tolerable coverage drops for pull requests. This capability is designed to enhance consistency across many repositories and integrate with existing infrastructure-as-code workflows. Usage requires GitHub Code Quality to be enabled and code coverage uploads configured within the repository, and it is available on GitHub Enterprise Cloud and GitHub Team.

Read the original announcement →

https://github.blog/changelog/2026-09-18-manage-the-code-coverage-ruleset-condition-with-the-rest-api

Related releases