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

Clone this repo:
  1. 5221690 [ImgBot] optimizes images (#7) by imgbot[bot] · 6 days ago master
  2. 0ac3596 Bump version to v0.5.4 by Jess Frazelle · 7 days ago v0.5.4
  3. a3d474b update deps by Jess Frazelle · 7 days ago
  4. 394cd79 Bump version to v0.5.3 by Jess Frazelle · 7 days ago v0.5.3
  5. 2b297af switch to new cli pkg by Jess Frazelle · 7 days ago

Travis CI GoDoc Github All Releases

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 genuinetools/audit for checking what collaborators, hooks, deploy keys, and protected branched you have added on all your GitHub repositories.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/pepper

Usage

$ pepper -h
pepper -  Tool to set all GitHub repo master branches to be protected.

Usage: pepper <command>

Flags:

  -d        enable debug logging (default: false)
  -dry-run  do not change branch settings just print the changes that would occur (default: false)
  -nouser   do not include your user (default: false)
  -orgs     organizations to include (default: [])
  -token    GitHub API token (or env var GITHUB_TOKEN)
  -url      GitHub Enterprise URL (default: <none>)

Commands:

  version  Show the version information.
$ pepper --dry-run --token 12345 --orgs jessconf --orgs maintainerati
[OK] jessconf/jessconf:master is already protected
[OK] genuinetools/.vim:master is already protected
[OK] genuinetools/anonymail:master is already protected
[OK] genuinetools/apk-file:master is already protected
[UPDATE] genuinetools/certok:master will be changed to protected
...
[OK] genuinetools/weather:master is already protected
[OK] genuinetools/ykpiv:master is already protected
[OK] maintainerati/wontfix-cabal-site:master is already protected