travis-automerge
travis-automerge copied to clipboard
A script to automerge successful builds to a branch
This command `travis encrypt -r user/repo 'GITHUB_SECRET_TOKEN='`generated wrong keys for me. In console i've got something like that: ``` Setting environment variables from .travis.yml $ export GITHUB_SECRET_TOKEN=[secure] The previous command...
@cdown, this variant of your original script merges pull requests instead of branches. Sending you a PR in case you find it a useful addition to your source repo.
@emmekappa writes: > Hi Chris, > > I read your article @ https://chrisdown.name/2015/09/27/auto-merging-successful-builds-from-travis-ci.html > > I sugget you to edit the script to include the GITHUB_SECRET_TOKEN also during the cloning...
Here's the pull request. I also fixed the leakage issue.