mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-05-17 10:25:08 +00:00
911 B
911 B
Configure the maximum length for slug values
Change the maximum length of slugified values. The default is 63 characters (the DNS label length limit).
Usage
steps:
- name: Inject enhanced GitHub environment variables
uses: rlespinasse/github-slug-action@v5
with:
slug-maxlength: 80
Disable the length limit
Set slug-maxlength to "nolimit" to disable truncation entirely:
steps:
- name: Inject enhanced GitHub environment variables
uses: rlespinasse/github-slug-action@v5
with:
slug-maxlength: nolimit
Warning
The
slug-maxlengthinput must not be empty. If left empty, the action will fail during preflight validation.
See also
- Inputs reference for the full specification
- Why 63 characters? for the rationale behind the default