Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 911 Bytes

File metadata and controls

33 lines (24 loc) · 911 Bytes

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