A gem and executable to check out a repo, run bundle update, then commit and open a PR. One more in a long line of robots to make our lives easier.
Oh, and it's called
bimble because I sometimes misspell
bundle that way.
This code is open source under the MIT license. See the LICENSE.md file for full details.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install bimble
You need to be able to clone via SSH from the user the script will run as.
Once the bundle is updated,
Gemfile.lock only will be committed on a new
GITHUB_OAUTH_TOKEN is set in
a pull request will be automatically opened (see below).
Currently, the best way to run it is probably to set up cron jobs to run the above command for each of your repositories. The branch name has the date in, so it's probably best not to run more than once a day. We make our Jenkins build server run all ours once a week.
Github OAuth Token
The following environment variables should be set in a
.env file in order to use this app.
To generate this token, run
generate_github_oauth_token and follow the instructions. You'll need
to be on a machine with a web browser.
- Fork it
- 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 new Pull Request