Ruboty::Byebranch

An Ruboty Handler + Actions to Delete merged branches.

Ruboty is Chat bot framework. Ruby + Bot = Ruboty

Installation

Add this line to your application's Gemfile:

gem 'ruboty-byebranch'

And then execute:

$ bundle

Commands

Command Pattern Description
byebranch byebranch (?<user>.+?) (?<repository>.+?) (?<exclude_branches>.+?)\z/ Delete merged branches

Usage

byebranch

  • Delete merged branch
@ruboty byebranch tbpgr eto master,release

ENV

Name Description
GITHUB_USER GitHub USER
GITHUB_TOKEN GitHub API Token

Dependency

Nothing

Contributing

  1. Fork it ( https://github.com/tbpgr/ruboty-byebranch/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request