Automate Branch Rules

The tool lets you automate the addition, removal or alteration of the branch protection rules for 1 or more branches & repositories in one go. This helps users to bulk update the branch rules which saves lot of time when you have hundreds of branches and repositories in your github organization and personal accounts. The tool also supports Organisations in GitHub Enterprise Server version 3 and above.

To checkout the CLI version of the tool click here. The CLI supports only GitHub Enterprise Cloud Organisations and has certain limitations.

Supported branch protection rules

The tool currently supports adding or modifying the below branch protection rules

  • Require pull request reviews before merging
  • Dismiss stale pull request approvals when new commits are pushed
  • Require review from Code Owners
  • Restrict who can dismiss pull request reviews
  • Require status checks to pass before merging
  • Require branches to be up to date before merging
  • Require linear history
  • Require signed commits
  • Include administrators
  • Restrict who can push to matching branches
  • Allow force pushes
  • Allow deletions


  • Do not support GitHub Enterprise Server which is not exposed to the internet
  • Personal repositories inside GitHub Enterprise server is not supported

Other GitHub tools

  Update work item state in Azure DevOps 🔁 when the pull request is merged using GitHub Action.

  Get User and Organization Reports 📈 with GraphQL.

  Auto create GitHub resources with just a few input values.

  Users can provide GitHub Teams access to repositories with varying access levels.
  The tool with the help of few inputs will Provide bulk access for teams to the mapped repositories in the excel file