GitHub Push Rules in Rulesets Now Support Path Exceptions
GitHub rulesets now support path exceptions for push rules, enabling more granular control over repository content. This allows administrators to exempt specific file paths from a rule, applying policies everywhere except the chosen paths. It helps maintain strong governance without needing to relax rules broadly or enforce them externally. This feature is currently in public preview and supports 'Restrict file paths' and 'Restrict file size' rules.
Features (1) ›
- Enable granular control with path exceptions for push rules
Push rules in rulesets now support path exceptions, allowing specific file paths to be exempted from a rule. This provides more granular control, ensuring rules apply everywhere in scope except the chosen paths, and avoids relaxing policies broadly. The feature is currently in public preview and supports 'Restrict file paths' and 'Restrict file size' rules.
https://github.blog/changelog/2026-08-25-push-rules-in-rulesets-now-support-path-exceptions
Related releases
- Block users directly from GitHub security advisories GitHub Changelog ·
- GitHub improves tools for managing blocked users GitHub Changelog ·
- Shared agentic work with GitHub Copilot in Microsoft Teams GitHub Changelog ·
- GitHub Copilot Integrates with Slack for Agentic Development Workflows GitHub Changelog ·
- GitHub's Issues Sidebar Now Supports Pinned Views, Plus Other Enhancements GitHub Changelog ·
- Windows 11 ARM64 VS2026 image generally available for GitHub Actions GitHub Changelog ·