Ruboty::Byebranch
A 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
- Fork it ( https://github.com/tbpgr/ruboty-byebranch/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request