Skip to Content
PR Reviews

PR Code Reviews

CodeStax provides AI-powered security reviews on your pull requests, catching vulnerabilities before they’re merged.

How It Works

  1. A pull request is opened (or updated) on your repository
  2. CodeStax receives a webhook notification from your SCM provider
  3. The PR diff is analyzed by CodeStax’s security scanners
  4. Results are posted back with a risk score and findings

Triggering a PR Review

Automatic (via Webhooks)

When webhooks are configured, PR reviews are triggered automatically on:

  • New PR opened
  • New commits pushed to an existing PR
  • PR reopened after being closed

Manual

  1. Go to Dashboard → PR Reviews
  2. Select a repository
  3. Enter the PR number
  4. Click Trigger Review

Review Results

Risk Score

Every PR review gets a Risk Score from 0 to 100:

ScoreLevelColorMeaning
75-100CriticalRedSevere security issues — do not merge
50-74HighOrangeSignificant issues — review before merging
25-49MediumYellowMinor issues — consider fixing
0-24LowGreenClean or minimal risk

Review Details

Each review shows:

  • PR title and number
  • Author name
  • Source → Target branch
  • Files changed, lines added/deleted
  • Scan duration
  • Individual findings with severity and file location

Review Dashboard

Navigate to Dashboard → PR Reviews to see all reviews:

  • Total Reviews — All reviews triggered
  • Completed — Finished reviews
  • In Progress — Currently scanning
  • Average Risk Score — Across all completed reviews

Filtering

  • Search by PR title, author, or PR number
  • Filter by status (Pending, Scanning, Completed, Failed)
  • Filter by repository

Review Limits

PlanPR Reviews / Month
Free0
Pro20
TeamUnlimited
EnterpriseUnlimited