2428392/Truncate String

Simple truncate string

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Aug 24, 2026
Maintenance Recency
Stalelast commit Apr 29, 2022
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: 2428392/gh-truncate-string-action@b3ff790d21cf42af3ca7579146eedb93c8fb0757 # v1.4.1

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

namedescriptionrequireddefault
stringToTruncateString to be truncatedyes
maxLengthMax length of the stringyes
removeDanglingCharactersRemove any of the provided dangling characters. No seperation between characters e.g. -,!%""
namedescription
stringThe truncated string