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

Clone this repo:
  1. 5533051 fix by Jess Frazelle · 6 days ago master
  2. 335332a Bump version to v0.4.5 by Jess Frazelle · 6 days ago v0.4.5
  3. ea8c5ab use new cli package by Jess Frazelle · 6 days ago
  4. 8a56bcf update generated project files by Jess Frazelle · 6 days ago
  5. bb3742a Bump version to v0.4.4 by Jess Frazelle · 8 days ago v0.4.4

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.