https://github.com/jcgay/protector
Protect GitHub branches
https://github.com/jcgay/protector
branch github protection
Last synced: 6 months ago
JSON representation
Protect GitHub branches
- Host: GitHub
- URL: https://github.com/jcgay/protector
- Owner: jcgay
- License: mit
- Created: 2016-11-28T21:54:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T09:47:14.000Z (over 8 years ago)
- Last Synced: 2025-05-07T13:40:32.037Z (9 months ago)
- Topics: branch, github, protection
- Language: Go
- Homepage:
- Size: 1.9 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Protector
Protect (and free) your GitHub branches.
Greatly inspired by [audit](https://github.com/jessfraz/audit) and [pepper](https://github.com/jessfraz/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
[](https://travis-ci.org/jcgay/protector)
[](https://goreportcard.com/report/github.com/jcgay/protector)
[](https://coveralls.io/github/jcgay/protector?branch=master)
### Release
make release
### List available tasks
make help
### macOS
To run `md5sum` and `sha256sum`, I use zsh aliases:
make SHELL=/bin/zsh