lemonade-hq/PR Complexity Analyzer

Analyzes GitHub pull request complexity using LLMs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pr-urlGitHub PR URL (e.g., https://github.com/owner/repo/pull/123)no${{ github.event.pull_request.html_url }}
openai-api-keyOpenAI API key for LLM analysisyes
github-tokenGitHub token for API access (defaults to GITHUB_TOKEN)no${{ github.token }}
modelOpenAI model namenogpt-5.1
formatOutput format (json or markdown)nojson
output-filePath to write output file (optional)no
timeoutRequest timeout in secondsno120
max-tokensMaximum tokens for diff excerptno50000
hunks-per-fileMaximum hunks per fileno2
sleep-secondsSleep between GitHub API callsno0.7
api-base-urlBase URL for OpenAI-compatible API endpointno
namedescription
scoreComplexity score (1-10)
explanationExplanation of the complexity score
modelModel used for analysis (e.g., gpt-4, gpt-5.1)
outputFull analysis result in JSON format