Turn on PR review
PR review is on by default. Two switches control it:- For your organization: the Triggers switch on PR review in Workflows.
- For each repository: the PR Reviews column in Coverage → Repositories.
When a review runs
A review runs when a pull request is opened, reopened, marked ready for review, or gets new commits.- Drafts aren’t reviewed until they’re ready.
- New commits cancel the older review.
- Pull requests from forks are reviewed.
- Pull requests with more than 300 changed files are skipped.
- When your monthly allowance runs out, Enclave comments to say it skipped the review.
Run the Workflow "PR review".
What the review does
- Analyzes the changed code, and the dependencies if a manifest or lockfile changed.
- Drops issues that aren’t real, aren’t security issues, or don’t point at the change.
- Adjusts severity based on whether the code is reachable from the internet.
- Saves the findings to Risk and comments on the pull request.
PR findings in Risk
Open Risk → PR findings to see every PR finding with its repository, pull request, and severity. Open a finding to see the issue, its impact, and the affected lines. Click AI fix prompt to copy a prompt for your coding assistant. PR findings don’t have a triage status, and closing the pull request doesn’t change them.Dependency analysis
When a pull request changes a manifest or lockfile, Enclave checks the changed packages for supply-chain risk, not just known CVEs. It looks for:- Compromised or malicious packages
- Typosquats and untrusted packages
- Attacks hidden in routine version bumps
- Known vulnerabilities
The binary
bun.lockb format isn’t supported.