GitHub has introduced a new feature for push rules in rulesets that allows for exceptions to be made for specific file paths, meaning that a rule can apply everywhere else except for those exempted paths. This feature is currently available in public preview.