mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-11 09:03:13 +00:00
fix: remove trailing hyphens if any after cut
This commit is contained in:
committed by
Romain Lespinasse
parent
596b602d8a
commit
19f9c84ac6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user