PR Reviews require a connected GitHub integration and an active Mjolnir configuration. Enable PR Reviews from the Mjolnir Configuration page.
How it works
When a pull request is opened (or pushed to, depending on your trigger mode), Mjolnir:- Receives the PR diff and metadata from GitHub
- Reviews the changed code against the rest of your repository
- Surfaces any new security issues introduced by the change
- Posts the results back to GitHub as a Check run
- Optionally fails the check if findings meet your blocking severity threshold
Configuration
Mjolnir PR review settings are managed on the Mjolnir Configuration page. From there you can:- Enable PR Review: turn the GitHub Check on or off
- Trigger mode: review on PR open only, or on every push
- Blocking severity threshold: fail the GitHub Check on Critical only, High and above, Medium and above, or never
- Auto-suppression: when the same finding pattern is dismissed across multiple PRs, automatically create a suppression rule so it stops being raised
- Auto-suppression threshold: how many distinct PRs must dismiss a pattern before auto-suppression kicks in
The PR Reviews list
The list view shows every PR review across your repositories.- Filter by repository or status (Queued, Running, Completed, Failed)
- Sort by date or by number of open suggestions
- Click any review to open its detail page
Review detail
The detail view shows everything Mjolnir found:- PR summary: title, author, repository, head SHA, links back to GitHub and the GitHub Check run
- Diff stats: files changed, lines added/removed
- Suggestions: each issue Mjolnir raised, grouped by file, with severity and a suggested code fix
- Status bar: counts of open, accepted, and ignored suggestions
- Mjolnir summary: a high-level write-up of what Mjolnir saw in this PR
Accepting or ignoring a suggestion
For each suggestion, your team can:- Accept the suggested fix to apply it back to the PR via a GitHub commit suggestion
- Ignore the suggestion if it doesn’t apply (the equivalent of “won’t fix”)
Triggering a review manually
If you want to ask Mjolnir to review a specific PR that wasn’t auto-reviewed (or to re-review a PR after changes), there are two ways to do it:- From GitHub: when the Mjolnir GitHub App is installed, a “Run Mjolnir Review” button is available on the PR
- Direct link: visit
/pentest/mjolnir/pr-reviews/trigger?repo=owner/repo&pr=123in Odin (this is the URL the GitHub button calls)
Trigger modes
| Mode | Behaviour |
|---|---|
| Review on PR open only | Automatically reviews when a PR is first opened. Use the “Run Mjolnir Review” button on subsequent commits. Best for keeping costs down. |
| Review on every push | Automatically reviews on every push. If multiple commits arrive rapidly, only the latest is reviewed. Best for continuous feedback. |
Suppression Rules
Manage patterns Mjolnir should not raise in PRs