A tool for performing actions on GitHub repos or a single repo.
A tool for performing actions on GitHub repos or a single repo.
Named after Pepper Potts. A tool for performing actions on GitHub repos or a single repo.
Actions include:
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.
Table of Contents
Table of Contents
For installation instructions from binaries please visit the Releases Page.
$ go get github.com/genuinetools/pepper…Protect all master branches.
$ pepper protect --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 protectedAudit collaborators, branches, hooks, deploy keys etc.
…Add a collaborator to all the repositories.
…$ pepper collaborators --dry-run --admin j3ssb0t
...t
[UPDATE] jessfraz/blog will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/bolt will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/boulder will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/buildkit will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/cadvisor will have j3ssb0t added as a collaborator (admin)
...Update all merge settings to allow specific types only.
…$ pepper merge --dry-run --squash
UPDATE] jessfraz/.vim will be changed to squash
[OK] jessfraz/1up is already set to squash
[UPDATE] jessfraz/acs-engine will be changed to squash
[UPDATE] jessfraz/acs-ignite-demos will be changed to squash
[UPDATE] jessfraz/apparmor-docs will be changed to squash
[UPDATE] jessfraz/baselayout will be changed to squash
...Update the release body according to the template.
$ pepper release --repo genuinetools/img
Updated release v0.5.0/v0.5.0 for repo: genuinetools/imgNo open issues yet, or sync has not completed.