> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codethreat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automated PR Scanning

> Configure automatic security scanning for pull requests

Automatically scan every pull request for security vulnerabilities before merging.

## Enable Automated PR Scanning

[View complete setup guide →](/scanning/automated-scanning#pull-request-scanning)

Quick setup:

1. **Repository Settings** → **Automation**
2. Toggle **Auto-scan on PR** to enabled
3. Configure options (comments, AI reviews, thresholds)
4. Save configuration

## Configuration Options

**Post PR comments**: Add inline security feedback

**AI PR reviews**: Enable intelligent analysis

**Block merge on failure**: Require security approval

**Comment threshold**: Minimum severity to comment (Critical, High, Medium, Low)

## What's Next?

<CardGroup cols={2}>
  <Card title="PR Integration Overview" icon="code-pull-request" href="/pull-requests/overview">
    Understand PR workflow
  </Card>

  <Card title="AI PR Reviews" icon="brain" href="/ai/pr-reviews">
    Enable AI analysis
  </Card>
</CardGroup>
