mirror of
https://github.com/rlespinasse/slugify-value.git
synced 2026-07-17 01:39:35 +00:00
feat: slugify a value
This commit is contained in:
21
action.yml
Normal file
21
action.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: "Slugify"
|
||||
description: "Github Action to slugify a value"
|
||||
author: "Romain Lespinasse"
|
||||
inputs:
|
||||
key:
|
||||
description: "Environment variable that will hold the value and serve as prefix to slugified value"
|
||||
required: true
|
||||
value:
|
||||
description: "Value to slugify"
|
||||
required: false
|
||||
branding:
|
||||
icon: "crop"
|
||||
color: "gray-dark"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: ${{ github.action_path }}/slugify.sh
|
||||
shell: bash
|
||||
env:
|
||||
INPUT_KEY: ${{ inputs.key }}
|
||||
INPUT_VALUE: ${{ inputs.value }}
|
||||
Reference in New Issue
Block a user