ophi-dev/mehen Source Metrics

Publish source code metric trends for pull requests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionVersion of the mehen npm package to run. Empty means latest.no""
install-methodHow to provide the mehen CLI: npm, cargo, or path.nonpm
mehen-pathPath to a mehen executable when install-method is path.nomehen
node-versionNode.js version used by the action runner.no24
pathsRepository-relative files or directories to compare. Newline, comma, or semicolon separated.no.
includeGlob patterns to include. Newline, comma, or semicolon separated.no""
excludeGlob patterns to exclude. Newline, comma, or semicolon separated.no""
exclude-testsExclude common test-file patterns (e.g. *_test.go, **/__tests__/**, *.spec.ts) in addition to any user-provided excludes.notrue
metricsComma-separated metrics passed to mehen diff.no""
fromBase git revision. Defaults to the PR base branch or main.no""
toHead git revision. Defaults to the PR head SHA or HEAD.no""
show-unchangedInclude files where all selected metrics are unchanged.nofalse
commentCreate or update a pull request comment.notrue
github-tokenGitHub token used to update pull request comments.no""
thresholdsAdverse per-file delta limits, for example: cyclomatic=5,cognitive=3,loc.lloc=100.no""
fail-on-thresholdFail the action when any configured threshold is exceeded.notrue
comment-titleMarkdown heading used for the sticky pull request comment.no## 📊 Source Code Metrics
namedescription
violationsNumber of threshold violations.
report_jsonPath to the JSON diff report produced by mehen.
report_markdownPath to the rendered Markdown report.