First clone this repository, then check .env.example for which environment variables
you need to set before running this bot.
We recommend you to create a new GitHub account for your bot, which is going to be
used to author the comments.
Now run
npm install
npm startA Dockerfile is also provided, you can use it to run the bot:
docker build -t graphql-vigilant-bot .
docker run --env-file ./.env -p 7010:7010 graphql-vigilant-botOr use docker-compose:
docker-compose upThe bot will be available at http://localhost.
You can also deploy directly to Heroku:
You need to add a webhook pointing to this bot, use application/json as
the Content Type, and select the Pull request event.
Make sure to set a secret, and keep note of it, you will need to add it to your .env file.
Since this bot depends on Github webhooks, we gonna need to use ngrok to redirect the webhook request to our machine.
Run:
./ngrok http $PORTWhere $PORT is the port you are going to run the bot.
Grab the *.ngrok.io URL and add it as webhook on your repo.
Syntax Errors
Breaking Changes

