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

CEHENKLE/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

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%