mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-07-01 18:30:29 +00:00
feat: add _CS suffix to keep value case-sensitive
This commit is contained in:
committed by
Romain Lespinasse
parent
38c43d3f60
commit
6c93fcbf53
@@ -40,6 +40,7 @@ This GitHub Action will expose the slug/short values of [some GitHub environment
|
||||
- `SLUG_URL` on a variable to have a `slug` variable compliant to be used in an URL (Like `SLUG` but `.` is also replaced by `-`)
|
||||
- `SHORT` on a variable will limit the string size to 8 characters (useful for _sha_ value)
|
||||
- `<KEY>_PART` on a variable will give a part of a variable defined by a key
|
||||
_ `<VAR>_CS` on others variables to keep the value case-sensitive
|
||||
|
||||
</p>
|
||||
</details>
|
||||
@@ -70,6 +71,8 @@ Check for more [examples][3] (OS usage, URL use, ...)
|
||||
|
||||
### Slug variables
|
||||
|
||||
**NOTE:** `_CS` suffix available
|
||||
|
||||
| Variable | Slug version of | Description |
|
||||
| ------------------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| [GITHUB_REPOSITORY_SLUG](docs/slug-variables.md#github_repository_slug) | GITHUB_REPOSITORY | The owner and repository name. |
|
||||
@@ -82,6 +85,8 @@ Check for more [examples][3] (OS usage, URL use, ...)
|
||||
|
||||
### Slug URL variables
|
||||
|
||||
**NOTE:** `_CS` suffix available
|
||||
|
||||
| Variable | Slug URL version of | Description |
|
||||
| --------------------------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| [GITHUB_REPOSITORY_SLUG_URL](docs/slug-url-variables.md#github_repository_slug_url) | GITHUB_REPOSITORY | The owner and repository name. |
|
||||
|
||||
Reference in New Issue
Block a user