File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,12 @@ jobs:
135135 env :
136136 example : ${{ inputs.example }}
137137 run : |
138- if [[ ! "$example" =~ ^[a-z0-9- ]{1,20}$ ]] || [[ "$example" =~ \.\. ]] || [[ "$example" == -* || "$example" == *- ]]; then
138+ if [[ ! "$example" =~ ^[a-zA-Z ]{1,20}$ ]] || [[ "$example" =~ \.\. ]] || [[ "$example" == -* || "$example" == *- ]]; then
139139 echo "Error: Invalid input - only lowercase alphanumeric and internal hyphens allowed"
140140 exit 1
141141 fi
142- SAFE_PREFIX="safe -"
143- CHART_NAME="${SAFE_PREFIX}$(echo "$example" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9-]//g' )"
142+ # SAFE_PREFIX="kb -"
143+ CHART_NAME="${SAFE_PREFIX}$(echo "$example" | tr '[:upper:]' '[:lower:]')"
144144 RAND_SUFFIX=$(openssl rand -hex 2 | tr -dc 'a-f0-9')
145145
146146 cat <<EOF >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments