Push rules in rulesets now support path exceptions - GitHub Changelog
You can now configure push rules more granularly by exempting specific file paths, so a rule applies everywhere in scope except the paths you choose. Path exceptions are in public…