Using the GitHub App template as a base I created this simple app that installed on a repo allows you to put a mandatory step and wait for the builds triggered to pass to be able to merge.
bundle install
- Create a copy of the
.env-example
file called.env
. - Add your GitHub App's private key, app ID, and webhook secret to the
.env
file.
- Run
ruby server.rb
orrerun 'server.rb'
on the command line.
PD: it's my first ruby code so feedback is more than welcome =D!