Skip to content

This is a python script to loop through all your repos from your API token and update review counts and enforce admins off the master branch

License

Notifications You must be signed in to change notification settings

FlySwatter/github-branch-protection-rules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github-branch-protection-rules

This is a python script to loop through all your repos from your API token and update review counts and enforce admins off the master branch

Creating this to mass update all of our repos settings.

First you need to create a personal token (this way the script will know what access you have to repos). https://github.com/settings/tokens I gave it all access except to delete repos, well because I don't want that power in any PythonScripts

Uses https://github.com/PyGithub/PyGithub

About

This is a python script to loop through all your repos from your API token and update review counts and enforce admins off the master branch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%