Named after Pepper Potts. Set all your GitHub repos master branches to be protected.

Clone this repo:
  1. 3a32d81 fix make cover by Jess Frazelle · 2 days ago master
  2. ae0daa9 fix by Jess Frazelle · 6 days ago
  3. 63b3f40 update travis coverage by Jess Frazelle · 6 days ago
  4. d49a652 update deps by Jess Frazelle · 6 days ago
  5. aabbed4 update travis by Jess Frazelle · 6 days ago

pepper

Travis CI

Named after Pepper Potts. Set all your GitHub repos master branches to be protected.

You can set which orgs to include and use --dry-run to see the changes before they are actually made. Your user is automatically added to the repositories it will consider.

Also see jessfraz/audit for checking what collaborators, hooks, deploy keys, and protected branched you have added on all your GitHub repositories.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/pepper

Usage

$ pepper -h
 _ __   ___ _ __  _ __   ___ _ __
| '_ \ / _ \ '_ \| '_ \ / _ \ '__|
| |_) |  __/ |_) | |_) |  __/ |
| .__/ \___| .__/| .__/ \___|_|
|_|        |_|   |_|

 Set all your GitHub repos master branches to be protected.
 Version: v0.4.0
 Build: 8b7274f

  -d        run in debug mode
  -dry-run  do not change branch settings just print the changes that would occur
  -nouser   do not include your user
  -orgs     organizations to include
  -token    GitHub API token (or env var GITHUB_TOKEN)
  -url      GitHub Enterprise URL
  -v        print version and exit (shorthand)
  -version  print version and exit
$ pepper --dry-run --token 12345 --orgs jessconf --orgs maintainerati
[OK] jessconf/jessconf:master is already protected
[OK] jessfraz/.vim:master is already protected
[OK] jessfraz/anonymail:master is already protected
[OK] jessfraz/apk-file:master is already protected
[UPDATE] jessfraz/certok:master will be changed to protected
...
[OK] jessfraz/weather:master is already protected
[OK] jessfraz/ykpiv:master is already protected
[OK] maintainerati/wontfix-cabal-site:master is already protected