alexsim93/Pull Request Analytics
Provides informative reports on team and developer metrics, based on data from pull requests and code reviews
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 21, 2025
- License
- MIT
Pinned Snippet
uses: alexsim93/pull-request-analytics-action@2393847d9ed95dbecf321a527f7402aeb3012040 # v4.10.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Github token | yes | — |
| GITHUB_REPO_FOR_ISSUE | Github repo for issue | no | — |
| GITHUB_OWNER_FOR_ISSUE | Github owner for issue | no | — |
| GITHUB_OWNERS_REPOS | Github owner/repository list separated by comma | no | — |
| ORGANIZATIONS | Github organizations separated by comma | no | — |
| SHOW_STATS_TYPES | Stats types that should be displayed in report. Values must be separated by comma. Can take values: 'timeline', 'workload', 'pr-quality', 'code-review-engagement', 'response-time' | no | timeline, workload, pr-quality, code-review-engagement, response-time |
| AMOUNT | Amount of PRs | no | 100 |
| REPORT_DATE_START | Start date for report(d/MM/yyyy) | no | — |
| REPORT_DATE_END | End date for report(d/MM/yyyy) | no | — |
| REPORT_PERIOD | Report period from now. Values format [unit]:value separated by commas. Supported units: 'years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds'. Example: 'weeks:2' | no | — |
| CORE_HOURS_START | Start time of core hours(HH:mm) | no | — |
| CORE_HOURS_END | End time of core hours(HH:mm) | no | — |
| WEEKENDS | Specifies the days of the week considered as weekends. Values are represented as numbers, where 0 corresponds to Sunday | no | 0,6 |
| HOLIDAYS | Holidays separated by comma(d/MM/yyyy) | no | — |
| PERCENTILE | Percentile value for timeline | no | 75 |
| REQUIRED_APPROVALS | Amount of approvals required for PR to be approved | yes | 1 |
| TOP_LIST_AMOUNT | Amount of items in lists | no | 5 |
| REVIEW_TIME_INTERVALS | Intervals for determining review times distribution | no | — |
| APPROVAL_TIME_INTERVALS | Intervals for determining approval times distribution | no | — |
| MERGE_TIME_INTERVALS | Intervals for determining merge times distribution | no | — |
| PERIOD_SPLIT_UNIT | Unit for time segmentation. Can take values: 'years', 'quarters', 'months', 'none' | no | months |
| LABELS | Multiple labels for issue separated by comma | no | — |
| ASSIGNEES | Multiple assignees for issue separated by comma | no | — |
| ISSUE_TITLE | Title for issue | no | — |
| AGGREGATE_VALUE_METHODS | Aggregate value methods separated by comma. Can take values: 'percentile', 'average', 'median' | no | percentile |
| HIDE_USERS | Hidden users separated by comma | no | — |
| SHOW_USERS | — | no | — |
| INCLUDE_LABELS | Includes only PRs with mentioned labels. Values should be separated by comma | no | — |
| EXCLUDE_LABELS | Excludes PRs with mentioned labels. Values should be separated by comma | no | — |
| FILTER_HEAD_BRANCHES | Includes only PRs from head branches matching the specified regular expression pattern | no | — |
| FILTER_BASE_BRANCHES | Includes only PRs to base branches matching the specified regular expression pattern | no | — |
| INCLUDE_USERS | Only data for the specified users will be included in the report. Multiple values should be separated by commas | no | — |
| EXCLUDE_USERS | Data for the specified users will be excluded from the report. Multiple values should be separated by commas | no | — |
| TIMEZONE | Timezone to use in action | no | — |
| EXECUTION_OUTCOME | Outcome format separated by comma. Can take values: 'markdown', 'new-issue', 'collection', 'existing-issue' | no | new-issue |
| ISSUE_NUMBER | Issue number | no | — |
| ALLOW_ANALYTICS | Allows sending non-sensitive inputs to mixpanel | no | true |
| USE_CHARTS | Primarily uses charts and diagrams instead of tables to display data | no | false |
| SHOW_CORRELATION_GRAPHS | Shows correlation graphs | no | false |
| SHOW_ACTIVITY_TIME_GRAPHS | Shows activity time graphs | no | false |
| DISCUSSION_TYPE_PATTERN | Regex pattern to extract discussion types from review comments | no | — |
Outputs
| name | description |
|---|---|
| JSON_COLLECTION | JSON string with stats |
| MARKDOWN | Markdown text with a report |