Ways to trigger a review
After you install the GitHub App on a repository, reviews start:- Automatically when a PR is opened (or marked ready for review). Strix does not review draft PRs.
- Automatically on new pushes to an open PR when
review_on_pushis enabled in your PR review settings. - When you tag Strix in a PR comment. To start (or restart) a review, write
@strixor@strix-securityin a PR comment or an inline review comment. The commenter must be a repository owner, member, or collaborator. Comments from GitHub Apps and bots also start a review. - Through the API with
POST /api/v1/pr-reviews/start(refer to the section below).
List PR reviews
pr_reviews:read
Get a PR review
pr_reviews:read
Start a PR review
Start a review for a pull request. Specify the repository full name and the PR number:pr_reviews:write
PR review settings
Read the PR review configuration of your organization:pr_reviews:read
The review_on_push setting controls automatic reviews when you push commits to an open PR. When this setting is off, reviews run only when a PR is opened or when a comment includes @strix.
Update the configuration. All fields are required:
pr_reviews:write