alexsim93/Pull Request Analytics

Provides informative reports on team and developer metrics, based on data from pull requests and code reviews

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: alexsim93/pull-request-analytics-action@2393847d9ed95dbecf321a527f7402aeb3012040 # v4.10.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
GITHUB_TOKENGithub tokenyes
GITHUB_REPO_FOR_ISSUEGithub repo for issueno
GITHUB_OWNER_FOR_ISSUEGithub owner for issueno
GITHUB_OWNERS_REPOSGithub owner/repository list separated by commano
ORGANIZATIONSGithub organizations separated by commano
SHOW_STATS_TYPESStats 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'notimeline, workload, pr-quality, code-review-engagement, response-time
AMOUNTAmount of PRsno100
REPORT_DATE_STARTStart date for report(d/MM/yyyy)no
REPORT_DATE_ENDEnd date for report(d/MM/yyyy)no
REPORT_PERIODReport 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_STARTStart time of core hours(HH:mm)no
CORE_HOURS_ENDEnd time of core hours(HH:mm)no
WEEKENDSSpecifies the days of the week considered as weekends. Values are represented as numbers, where 0 corresponds to Sundayno0,6
HOLIDAYSHolidays separated by comma(d/MM/yyyy)no
PERCENTILEPercentile value for timelineno75
REQUIRED_APPROVALSAmount of approvals required for PR to be approvedyes1
TOP_LIST_AMOUNTAmount of items in listsno5
REVIEW_TIME_INTERVALSIntervals for determining review times distributionno
APPROVAL_TIME_INTERVALSIntervals for determining approval times distributionno
MERGE_TIME_INTERVALSIntervals for determining merge times distributionno
PERIOD_SPLIT_UNITUnit for time segmentation. Can take values: 'years', 'quarters', 'months', 'none'nomonths
LABELSMultiple labels for issue separated by commano
ASSIGNEESMultiple assignees for issue separated by commano
ISSUE_TITLETitle for issueno
AGGREGATE_VALUE_METHODSAggregate value methods separated by comma. Can take values: 'percentile', 'average', 'median'nopercentile
HIDE_USERSHidden users separated by commano
SHOW_USERSno
INCLUDE_LABELSIncludes only PRs with mentioned labels. Values should be separated by commano
EXCLUDE_LABELSExcludes PRs with mentioned labels. Values should be separated by commano
FILTER_HEAD_BRANCHESIncludes only PRs from head branches matching the specified regular expression patternno
FILTER_BASE_BRANCHESIncludes only PRs to base branches matching the specified regular expression patternno
INCLUDE_USERSOnly data for the specified users will be included in the report. Multiple values should be separated by commasno
EXCLUDE_USERSData for the specified users will be excluded from the report. Multiple values should be separated by commasno
TIMEZONETimezone to use in actionno
EXECUTION_OUTCOMEOutcome format separated by comma. Can take values: 'markdown', 'new-issue', 'collection', 'existing-issue'nonew-issue
ISSUE_NUMBERIssue numberno
ALLOW_ANALYTICSAllows sending non-sensitive inputs to mixpanelnotrue
USE_CHARTSPrimarily uses charts and diagrams instead of tables to display datanofalse
SHOW_CORRELATION_GRAPHSShows correlation graphsnofalse
SHOW_ACTIVITY_TIME_GRAPHSShows activity time graphsnofalse
DISCUSSION_TYPE_PATTERNRegex pattern to extract discussion types from review commentsno
namedescription
JSON_COLLECTIONJSON string with stats
MARKDOWNMarkdown text with a report