Skip to content

๐Ÿค– Action: PR Summarizer

AI-powered deep technical analysis and high-fidelity visual summaries for Pull Requests, providing surgical visibility into code impact.


[!IMPORTANT] The PR Summarizer leverages LLM intelligence to automatically read code diffs and inject a beautiful, executive-level summary directly into the Pull Request description.

๐Ÿš€ Key Impact

  • ๐Ÿ—๏ธ Structural Intelligence: Automatically identifies new classes, functions, and deleted methods with professional badges ([NEW], [MOD], [FIX]).
  • ๐ŸŒ API Footprint: Scans for new or modified API routes (Express/Flask) and documents the effective impact.
  • ๐ŸŽฏ Locator Awareness: Highlights exactly which UI locators were updated in .yaml files for GUI test suites.
  • ๐Ÿ“Š Impact Analysis: Generates a dynamic metrics table with visual intensity bars (โ–ˆ) to represent the volume of changes.
  • โœจ Gherkin Insights: Extracts new BDD scenarios and quality tags (@smoke, @critical) from changed feature files.

๐Ÿš€ Quick Start

Drop this snippet into your PR intelligence workflow:

steps:
  - name: ๐Ÿค– Generate AI Summary
    uses: carlos-camara/qa-hub-actions/pr-summarizer@main
    with:
      github-token: ${{ secrets.GITHUB_TOKEN }}
      target: "description"

โš™๏ธ Configuration

Input Description Required Default
github-token GitHub token for PR description/comment updates. Yes N/A
target Where to post the summary: description or comment. No description
domain-mapping Optional JSON mapping of file patterns to domains. No {}

๐Ÿ“Š Impact Analysis Example

The action injects a premium overview into your PR:

Category Scope Status
Backend 5 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ
Testing 12 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ
Docs 3 โ–ˆโ–ˆโ–ˆ

[View Full Wiki](https://carlos-camara.github.io/qa-hub-actions/actions/pr-summarizer/)