halleck45/AST Metrics analysis

Prevent architectural regressions: analyzes pull requests and reports only new or worsened issues. Full analysis on push.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Nov 30, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: halleck45/action-ast-metrics@6dd3e20e02fce41ed20eb9c4030a9c53633f2ec3 # v1.0.5

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

namedescriptionrequireddefault
versionVersion of AST Metrics to use (e.g. v0.28.0). Pinning a version is recommended for reproducible checks.nolatest
directoryDirectory to analyzeno.
baseGit reference to compare the pull request with. Default: the base branch of the pull request.no""
fail-onFail the check when a regression of at least this severity is introduced: high, medium, any or never. Default: never (informative mode).nonever
commentPost (and update) a single review comment on the pull request. Best effort: requires the pull-requests: write permission; silently falls back to the job summary otherwise (e.g. pull requests from forks).notrue
sarifUpload regressions to GitHub code scanning as SARIF. Requires the security-events: write permission, and GitHub Advanced Security on private repositories.nofalse
html-artifactUpload the full HTML report as a build artifact. Default: true on push, false on pull requests (auto).noauto
max-findingsMaximum number of regressions displayed in the summary and the commentno5

no outputs