subhashmahimaluri/PR Review Insight — PR quality, security & a11y gate

Scan the PR for dead code, duplication, complexity, security, OWASP, a11y, pentest hygiene and Sonar-style smells. One premium PR comment — graphs on top, details collapsed — and a merge gate on what the PR introduced.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token (use secrets.GITHUB_TOKEN)yes
mode`report` (PR scan + comment) or `baseline` (record default-branch baseline)noreport
baseline-branchOrphan branch holding baselines, history and band SVGsnopr-review-insight-baseline
baseline-modeHow to resolve the baseline: `auto` (recorded branch, falling back to scanning the merge-base in this run), `branch`, `scan` (dual-scan — no baseline branch needed, requires checkout fetch-depth: 0), or `off`noauto
gatesJSON overriding the config file `gates` key, e.g. {"newFindings":{"critical":0,"major":5},"duplication":{"maxPercent":5}}no
ignoreExtra ignore globs (comma or newline separated)no
strictA scanner crash fails the job (default: degrade to a warning)nofalse
commentPost/update the PR commentnotrue
check-runPost a check run with inline annotationsnotrue
annotationsInline annotations on touched lines: `new`, `all` or `none`nonew
report-filePath for the versioned JSON report artifactnocode-report.json
sarif-fileAlso emit SARIF here (upload with github/codeql-action/upload-sarif)no
html-fileSelf-contained interactive HTML report (print → PDF ready)nocode-report.html
fix-plan-fileMarkdown fix plan — new findings first with one ready-to-paste AI prompt each (Copilot Chat etc.), pre-existing debt as per-category batchesnofix-plan.md
upload-artifactUpload report + HTML + fix plan as a run artifact and link it from the PR comment (📥 download the full report)notrue
namedescription
stateReport state (passed | gate-failed | new-findings | improved | no-change | no-baseline | invalid-data | scan-error)
verdictGate verdict (pass | warn | fail)
total-findingsTotal findings in the scan
new-findingsFindings introduced by this PR
report-filePath of the JSON report artifact