A GitHub Bot to automatically delete your fork's branches after a pull request has been merged.
Branch: master
Clone or download
Latest commit 78c0dd7 Dec 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor update vendor Sep 25, 2018
version update generated project files Jan 1, 2018
.gitignore
.goosarch update generated project files Jul 16, 2018
.travis.yml update travis Dec 29, 2018
.traviskey update travis Dec 29, 2018
Dockerfile
LICENSE
Makefile update makefile Sep 25, 2018
README.md Update ToC for README.md Dec 29, 2018
VERSION.txt Bump version to v0.4.7 Sep 25, 2018
basic.mk update travis Dec 29, 2018
go.mod update vendor Sep 25, 2018
go.sum update vendor Sep 25, 2018
main.go
snapcraft.yaml Don't delete the default branch (#11) Oct 25, 2018

README.md

ghb0t

Travis CI GoDoc Github All Releases

A GitHub Bot to automatically delete your fork's branches after a pull request has been merged.

NOTE: This will never delete a branch named "master" AND will never delete a branch that is not owned by the current authenticated user. If the pull request is closed without merging, it will not delete it.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/ghb0t

Usage

$ ghb0t -h
ghb0t -  A GitHub Bot to automatically delete your fork's branches after a pull request has been merged.

Usage: ghb0t <command>

Flags:

  -d         enable debug logging (default: false)
  -interval  check interval (ex. 5ms, 10s, 1m, 3h) (default: 30s)
  -token     GitHub API token (or env var GITHUB_TOKEN) 
  -url       Connect to a specific GitHub server, provide full API URL (ex. https://github.example.com/api/v3/) (default: <none>)

Commands:

  version  Show the version information.