I have a git repository where some of the configuration files are auto-generated by scripts and pushed to the main branch. I like to enable branch protection rule to protect the main branch but like to disable these rules for certain file patterns.
Whether this is possible in Github?