GitHub Action for pull request review stats
Top 75.6% on sourcepulse
This GitHub Action analyzes and displays statistics related to pull request reviewers and contributors, aiming to improve team performance, reduce review times, and encourage review quality. It's designed for development teams and project managers seeking data-driven insights into their code review process.
How It Works
The action integrates with GitHub workflows to collect data on reviewer activity, such as total reviews, time to review, and comments per review. It processes this data to generate sortable tables and optional charts, which can be embedded directly into pull request descriptions or sent to external platforms like Slack or Microsoft Teams via webhooks.
Quick Start & Requirements
uses: flowwer-dev/pull-request-stats@main
to your GitHub Actions workflow file.repo
permissions is needed. Specific permissions (contents: read
, pull-requests: write
) may need to be explicitly set at the job level if not default.Highlighted Details
totalReviews
, timeToReview
, totalComments
, commentsPerReview
, reviewedAdditions
, reviewedDeletions
, and reviewedLines
.openedPullRequests
, revisionSuccessRate
, and lines added/deleted.include
, exclude
) and date periods.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Telemetry and advanced integrations (Slack, Teams) are premium features requiring sponsorship. The action's ability to comment on PRs can be blocked by organization-level permission settings, requiring explicit configuration.
3 months ago
Inactive