bigdra50/Unilyze

Static analysis and code quality gates for Unity and .NET projects

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bigdra50/unilyze@163754e29c5ffa0d3cb117f62857e50325ff6f0a # v0.6.0

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

namedescriptionrequireddefault
project-pathPath to the project directory to analyzeno.
unilyze-versionNuGet version of Unilyze to install (omit for latest)no""
dotnet-version.NET SDK version passed to actions/setup-dotnetno10.0.x
nuget-sourceAdditional NuGet source (path or URL) for dotnet tool install; useful for local pack smoke testsno""
metricBadge metric for the quality gate (codehealth, smells, or reference metric mi)nocodehealth
fail-underFail when codehealth min or reference metric mi average is strictly below this valueno""
fail-overFail the gate when smell warning count is strictly above this value (or any critical smell exists)no""
baselineBaseline JSON file path; suppresses known smells during analysis and badge gatingno""
base-refGit ref for the diff regression gate (empty skips diff)no""
fail-on-regressionWhen base-ref is set, exit 2 on aggregate regression (avg/min CodeHealth drop or smell increase)notrue
sarifWhen true, emit a SARIF file (upload with github/codeql-action/upload-sarif in a later step)nofalse
step-summaryWhen base-ref is set, append diff markdown to GITHUB_STEP_SUMMARYnotrue
pr-commentWhen base-ref is set on a pull_request event, upsert one sticky PR comment with the diff markdownnofalse
tokenGitHub token for PR comments (needs pull-requests write when pr-comment is true)no${{ github.token }}
namedescription
codehealthMinimum CodeHealth score across analyzed types (1.0-10.0)
miReference metric - average Maintainability Index across method-bearing types
smellsWarning-level code smell count (critical smells are not included in this number)
gate-resultBadge gate outcome (passed, failed, or skipped when no gate thresholds are set)
sarif-pathRelative path to the generated SARIF file when sarif input is true; empty otherwise