andy-c-jones/StructuraLens
Analyze C# solutions and report maintainability diffs on pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| solution | Path to solution (.sln/.slnx) or project (.csproj) | yes | — |
| working-directory | Working directory for analysis | no | . |
| github-token | GitHub token used for release downloads and PR comments | no | — |
| run-diff | Run base vs head diff on pull_request events | no | true |
| report-html | Generate HTML report | no | true |
| report-json | Generate JSON report | no | true |
| post-comment | Post a PR comment with actionable changes only (dependencies and added diagnostics) | no | true |
| max-projects | Max number of projects to include in comment table | no | 10 |
| fail-on | Fail the action check if diagnostics are added: none (default), error (fail on new errors), warning (fail on new errors or warnings) | no | none |
| version | StructuraLens release version (e.g., 1.2.0). Use 'latest' to auto-detect. | no | latest |
| analysis-mode | Analysis mode: Full or DiagnosticsAndReferences | no | Full |
Outputs
| name | description |
|---|---|
| base-report-json | Path to base JSON report |
| head-report-json | Path to head JSON report |
| diff-report-json | Path to diff JSON report |
| diff-report-html | Path to diff HTML report |