fix: remove trailing hyphens if any after cut

This commit is contained in:
rlespinasse
2022-06-16 22:02:08 +02:00
committed by Romain Lespinasse
parent 596b602d8a
commit 19f9c84ac6
6 changed files with 51 additions and 37 deletions

View File

@@ -32,8 +32,9 @@ This GitHub Action will expose the slug/short values of [some GitHub environment
- put the variable content in lower case
- replace any character by `-` except `0-9`, `a-z`, `.`, and `_`
- remove leading and trailing `-` character
- remove leading `-` characters
- limit the string size to 63 characters
- remove trailing `-` characters
<details>
<summary>Others <b>Slug-ish</b> commands are available</summary>