Custom Action for Branch Protection

I have created a GitHub Custom Action using pure Javascript & Node.js to set branch protection rules with all repositories in an organization. I have published it in Marketplace today. You can include it in a GiHub Action workflow and schedule the workflow with this action to set / remove branch protection rules to specific branches (for example, main and release) in all the repositories in an organization. This is mainly for Administrative purposes. I have provided the flexibility to include / exclude repos from branch protection using text files. I have also given provision to configure the rules per branch using a json file. Refer the documentation, use the action if you need and let me know. Please find the link below