This is the source code of the is-a.dev Reviewbot! The bot uses octokit.js as the library.
- Node.js
- A GitHub App subscribed to Pull Request events and with the following permissions:
- Pull requests: Read & write
- Metadata: Read-only
- (For local development) A tunnel to expose your local server to the internet (e.g. smee, ngrok)
- Your GitHub App Webhook must be configured to receive events at a URL that is accessible from the internet.
- Clone this repository.
- Create a
.envfile similar to.env.exampleand set actual values. - Install dependencies with
npm. - Start the server with
npm run server. - Ensure your server is reachable from the internet.
- If you're using
smee, runsmee -u <smee_url> -t http://localhost:3000/api/webhook.
- If you're using
- Ensure your GitHub App includes at least one repository on its installations.