fix: remove trailing hypen if any after cut

This commit is contained in:
Romain Lespinasse
2022-06-16 13:57:00 +02:00
parent 33cd7a701d
commit 0141d9b38d
2 changed files with 10 additions and 9 deletions

View File

@@ -29,8 +29,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>