Files
github-slug-action/docs/how-to/configure-slug-maxlength.md
2026-03-12 14:02:09 +01:00

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-maxlength input must not be empty. If left empty, the action will fail during preflight validation.

See also