Skip to content
Menu

Help article

Code review (and Bugbot)

Ask any agent to review your branch with /review or /review-security. Bugbot reviews GitHub pull requests on your repositories, or your Team's, automatically, commenting on the pull request and setting the "iTwins Bugbot" check.

  1. In a conversation on the repository, type /review for bugs and correctness, or /review-security for a security review. The agent reviews the branch against its base and lists findings.
  2. A Team admin turns Bugbot on per repository in Settings > Git & PRs > Bugbot (on the web), with the iTwins GitHub App installed on it, and chooses when it runs: every push, once per pull request, or only when someone comments "bugbot run".
  3. Pull requests from outside contributors are reviewed by default; an admin can make them wait for a maintainer's "bugbot run" comment instead.
  4. Bugbot reads the pull request, comments on what it finds and never pushes. Each review is a cloud agent run billed to the Team; when the Team spend limit is reached, the check says so and Bugbot comments that the commit was not reviewed.
Questions? Email support@itwins.com

All help and contact options