| version | Version of the mehen npm package to run. Empty means latest. | no | "" |
| install-method | How to provide the mehen CLI: npm, cargo, or path. | no | npm |
| mehen-path | Path to a mehen executable when install-method is path. | no | mehen |
| node-version | Node.js version used by the action runner. | no | 24 |
| paths | Repository-relative files or directories to compare. Newline, comma, or semicolon separated. | no | . |
| include | Glob patterns to include. Newline, comma, or semicolon separated. | no | "" |
| exclude | Glob patterns to exclude. Newline, comma, or semicolon separated. | no | "" |
| exclude-tests | Exclude common test-file patterns (e.g. *_test.go, **/__tests__/**, *.spec.ts) in addition to any user-provided excludes. | no | true |
| metrics | Comma-separated metrics passed to mehen diff. | no | "" |
| from | Base git revision. Defaults to the PR base branch or main. | no | "" |
| to | Head git revision. Defaults to the PR head SHA or HEAD. | no | "" |
| show-unchanged | Include files where all selected metrics are unchanged. | no | false |
| comment | Create or update a pull request comment. | no | true |
| github-token | GitHub token used to update pull request comments. | no | "" |
| thresholds | Adverse per-file delta limits, for example: cyclomatic=5,cognitive=3,loc.lloc=100. | no | "" |
| fail-on-threshold | Fail the action when any configured threshold is exceeded. | no | true |
| comment-title | Markdown heading used for the sticky pull request comment. | no | ## 📊 Source Code Metrics |