ernanej/badge-generator

Generate and save custom Shields.io badges directly from your GitHub Actions workflow.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
nameThe right-hand side value of the badge (e.g. "98.7%").yes
prefixThe left-hand label of the badge (e.g. "coverage"). Optional.no""
iconOptional logo icon from Shields.io (e.g. "jest", "github", "npm").no""
colorThe background color of the badge (e.g. "green", "blue", "#ffaa00").noblue
styleBadge style (flat, flat-square, plastic, for-the-badge, social).noflat
pathOutput file path for the generated badge SVG (e.g. "badges/coverage.svg").yes
labelColorOptional background color for the left-side label (e.g. "#333").no""
logoColorOptional color for the logo icon (e.g. "white", "#ffcc00").no""
linkOptional URL or comma-separated URLs to make the badge clickable.no""
cacheSecondsOptional Shields.io cache duration in seconds.no""
badge_branchThe branch where the badge should be committed (e.g. badge-generator).nobadge-generator
main_branchThe default branch of the repository (e.g. main).nomain
github_tokenGitHub token to post comments on pull requests.no""
comment_titleOptional custom title for the pull request comment (e.g. "Vitest Coverage Result").no""

no outputs