{"repo":"rlespinasse/github-slug-action","free":true,"listed":false,"github":"https://github.com/rlespinasse/github-slug-action","clone":"git clone https://github.com/rlespinasse/github-slug-action.git","description":"GitHub Action to expose slug value of GitHub environment variables inside your GitHub workflow","language":"Shell","stars":340,"topics":["slug","continuous-integration","continuous-delivery","continuous-deployment","short","workflows","github-actions","hacktoberfest"],"license":"MIT","category":"workflow-automation","readme_excerpt":"GitHub Slug Action This GitHub Action exposes slug and short values of [GitHub environment variables][default-environment-variables] inside your workflow. Quick Start [!CAUTION] Use [Dependabot][dependabot] to maintain your github-slug-action version updated in your GitHub workflows. What It Does - SLUG -- Lowercase, replace special characters with - , limit to 63 characters. Dots and underscores preserved. - SLUG URL -- Same as SLUG, but dots and underscores are also replaced. Safe for URLs and subdomains. - SHORT -- Shorten Git SHA values to a unique prefix. - PART -- Extract portions of a variable (e.g., owner or repository name from GITHUB REPOSITORY ). - CS -- Case-sensitive variants of SLUG and SLUG URL (original casing preserved). [!TIP] Read the slug transformation rules for the full algorithm and rationale. Inputs Input Default Description ----- ------- ----------- prefix \"\" Value prepended to each generated variable name slug-maxlength 63 Max length of slugified values ( \"nolimit\" to disable) short-length (Git default) Length of short SHA values (minimum 4 ) See the inputs reference for details. Available Variables Variable Type Description -------- ---- ----------- GITHUB REF POINT Enhanced Branch or tag name (consistent across event types) GITHUB REPOSITORY OWNER PART Partial Owner extracted from repository GITHUB REPOSITORY NAME PART Partial Repository name extracted from repository GITHUB REPOSITORY SLUG Slug The owner and repository name GITHUB REF SLUG Slug Th","default_branch":null,"files":null,"tree":[],"storefront":"/r/rlespinasse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rlespinasse/github-slug-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}