actions-marketplace-validations/LOC Badge

Generate a badge to display total Lines of Code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 22, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/deathsy_gha-loc-badge@9cf618a681312e0ff55a9416549e4c71a751d177 # no releases — HEAD as of 2026-07-12

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

namedescriptionrequireddefault
directoryThe directory to scan.no./
badgeThe output path to save the badge svg - including extension!no./badge.svg
patternsThe file patterns to search for, separated by pipes ("|").no**
ignoreThe file patterns to ignore, even if they matched "patterns", separated by pipes ("|").nonode_modules
badge_labelThe label to use for the badge.noLines of Code
badge_colorThe color to use for the badge.noblue
badge_styleThe body style to use for the badge. ('flat' or 'classic')noclassic
badge_scaleThe scale to resize this badgeno1
badge_labelcolorThe color to use for this badge label.no555
debugEnable debug loggingnofalse
namedescription
total_linesThe total line count.
counted_filesA count of all files that were included in the total.
elapsed_msThe time that this scan took.
output_pathThe absolute path to the SVG that was generated.
output_dirThe absolute path to the directory that contains the output svg.