GitHub REST API Now Supports Code Coverage Ruleset Management
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.
https://github.blog/changelog/2026-09-18-manage-the-code-coverage-ruleset-condition-with-the-rest-api
Related releases
- GitHub Copilot to deprecate several AI models by October 2026, advises users to update GitHub Changelog ·
- GitHub Copilot adds new model selection, code review features, and Sentry integration GitHub Changelog ·
- Stage-only npm tokens for safer automation are now available GitHub Changelog ·
- GitHub Copilot Usage Metrics API Adds Agentic CLI Customization Data GitHub Changelog ·
- GitHub Copilot Impact Dashboard Adds Feature Engagement Metrics GitHub Changelog ·
- GitHub Actions Workflow Execution Protections Now Generally Available GitHub Changelog ·