actions-marketplace-validations/Git SHA Trimmer

Trims Github sha in desired length for use in workflow and set it to environment variable. Intended for Docker image tagging

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
sha-lengthDesired length of git SHA to trim with from the beginningyes7
prefixPrefix the trimmed SHA withno""
join-byCharacter to separate prefix with trimmed SHAno""
env-namename of the env variable you want to setnoTRIMMED_SHA

no outputs