Repo-policy-compliance only supports checking classic branch protection, but users can also define branch rulesets: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets. The application should support the latter.