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 organization.
The tool currently supports adding or modifying the below branch protection rules-
You can run the tool as Docker Container or cli using Python. Refer to the below sections in both cases.
Python 3.8 or above installed on your machine
Install the latest version of pip
python -m pip install --upgrade pip
Install the Python library stdiomask
pip install stdiomask
Install the Python library PyGithub
pip install pygithub
Note :warning: Run the above commands as a root user (linux) or as an administrator mode in command prompt (windows).
To learn how to setup and use the tool click here.
The scripts and documentation in this project are released under the MIT License