Turn it on
- Open Repositories in the sidebar.
- Switch on Review every repository.
- Check the count: Kody lists how many repositories it will start reviewing, and how many it skips.
- Click Review every repository.
Reviews on these repositories count like reviews on any other repository, and pull request
authors in them may take license seats.
What gets reviewed
- Every repository the credential can see. On GitHub with the Kodus app, that is the repositories the app is installed on. With a GitHub token, it is the repositories of the connected organization that the token can access (for a personal account, every repository the account can access). On GitLab, it is the projects the token’s user is a member of.
- Not archived repositories. They are always skipped. Azure DevOps counts a disabled repository as archived; Kody does not detect archived repositories on Bitbucket Cloud.
- Not forks and mirrors, unless you tick Also review forks and mirrors when turning it on.
New repositories
Kody checks for new repositories every 10 minutes and sets them up the same way as a repository you add by hand: webhook, settings, code graph and recent pull request history.- A pull request opened on a new repository after it was set up gets a review as usual.
- A pull request opened before that (in the first minutes after the repository was created)
is reviewed on its next push, or right away with
@kody start-review. - On GitHub with the Kodus app, a new repository is set up as soon as GitHub reports it. For repositories created after the app was installed with access to all repositories, the app needs the Repository webhook event (self-hosted: add it in your GitHub App settings).
API_CRON_SYNC_ALL_REPOSITORIES (default every 10 minutes).
Leave a repository out
Open the repository’s code review settings and turn off Automated code review (Code review → General). Kody keeps it that way after every sync, and its pull request authors do not take license seats from automatic reviews.@kody commands still work on it.
While Review every repository is on, repositories cannot be added or removed by hand on
Repositories: the next sync would add removed ones back.