actions-marketplace-validations/compile-badges-action

⚙️Save all your README badges as SVGs to save bandwidth

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
input_markdown_fileThe file to load and parse for badges to replacenoREADME.md
output_markdown_fileThe file to write when parsing and replacing is completenoREADME.md
output_image_dirThe directory to write all the fetched badge SVGs to. This path must be relative and contained in the current repository. noreadme
current_repositoryThe current repository in owner/name format. This value is used to generate URLs to raw.githubusercontent.com from a relative path in the repository. It is recommended this be left as the default value. no${{ github.repository }}
current_branchThe current branch/ref in github.ref format. This value is used to generate URLs to raw.githubusercontent.com from a relative path in the repository. It is recommended this be left as the default value. no${{ github.ref }}
badge_url_templateThe template string used to generate URLs to the compiled badges. You can use this field to adjust which CDN this action should compile for (ex. githack instead of githubusercontent). This template is populated using the string-template library (https://www.npmjs.com/package/string-template) with the following available varibles: - `repo`: The string from the `current_repository` input. - `branch`: The branch name parsed from the `current_branch` input. - `path`: The path supplied by `ouput_image_dir` where badges are being stored. This path is automatically stripped of trailing slashes. - `badge`: The filename of the compiled badge output. nohttps://raw.githubusercontent.com/{repo}/{branch}/{path}/{badge}

no outputs