Skip to content

Commit 99f2f94

Browse files
authored
Fix input check for helm test workflow (#1938)
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 2596671 commit 99f2f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_helm-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
env:
138138
example: ${{ inputs.example }}
139139
run: |
140-
if [[ ! "$example" =~ ^[a-zA-Z]{1,20}$ ]] || [[ "$example" =~ \.\. ]] || [[ "$example" == -* || "$example" == *- ]]; then
140+
if [[ ! "$example" =~ ^[a-zA-Z0-9]{1,20}$ ]] || [[ "$example" =~ \.\. ]] || [[ "$example" == -* || "$example" == *- ]]; then
141141
echo "Error: Invalid input - only lowercase alphanumeric and internal hyphens allowed"
142142
exit 1
143143
fi

0 commit comments

Comments
 (0)