Connect your code
ReviewGlass needs to read your pull requests and post the comments you approve. An admin of your organisation connects GitHub once, under Organisation → Code access.
The GitHub App (recommended)
- Open Code access and choose Install the GitHub App.
- On GitHub, pick your account or organisation and the repositories ReviewGlass may review.
- GitHub sends you back; the installation is listed under Connected.
GitHub shows what the App asks for: to read your code, to read and write pull requests (to post the comments you approve), and to read and write checks (the ReviewGlass check of an automatic review). It asks for no more than that. There is no token to create or renew, and automatic reviews need it. To add or remove repositories later, change the installation on GitHub.
A token instead
Create a fine-grained personal access token on GitHub, limited to the repositories you want reviewed, with read access to contents and pull requests and write access to pull requests. Paste it under Or connect a token. It is stored encrypted and shown afterwards only by its last four characters. If something about the token needs your attention, ReviewGlass says so and asks you to confirm.
Disconnecting
An admin can Disconnect either one on the same page. Uninstalling the App on GitHub also stops ReviewGlass at once.
Next: your first review.