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.
- 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.
- 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".
- Pull requests from outside contributors are reviewed by default; an admin can make them wait for a maintainer's "bugbot run" comment instead.
- 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.