jcgay / protector

Protect GitHub branches
MIT License
4 stars 1 forks source link
branch github protection

Protector

Protect (and free) your GitHub branches.
Greatly inspired by audit and pepper.

Usage

$> protector -h                                                                                                                                                           

protector - v0.1.0-SNAPSHOT
  -branches value
        branches to include (as regexp)
  -dry-run
        do not make any changes, just print out what would have been done
  -free
        remove branch protection
  -orgs value
        organizations name to protect
  -repos value
        repositories fullname to protect (ex: jcgay/maven-color)
  -token string
        GitHub API token
  -v    print version and exit (shorthand)
  -version
        print version and exit

Build

Status

Build Status Code Report Coverage Status

Release

make release

List available tasks

make help

macOS

To run md5sum and sha256sum, I use zsh aliases:

make <task> SHELL=/bin/zsh