mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-05-17 18:35:07 +00:00
473 B
473 B
GitHub Slug action
This action slug and expose some github variables.
Slug a variable will
- put the variable content in lower case,
- replace any caracter by
-except0-9anda-z, - limit the string size to 63 caracters
Environement Variables
GITHUB_REF_SLUG
Slug from GITHUB_REF env variables
Example usage
- uses: rlespinasse/github-slug-action@master
- name: Print slug variables
run: |
echo ${{ env.GITHUB_REF_SLUG }}