mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-05 21:56:27 +02:00
Only full words
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
ADDON_LOWER="$(printf '%s' "$addon" | tr '[:upper:]' '[:lower:]')"
|
||||
[ -z "$ADDON_LOWER" ] && continue
|
||||
|
||||
if [[ "$TEXT_LOWER" == *"$ADDON_LOWER"* ]]; then
|
||||
if [[ " $TEXT_LOWER " == *" $ADDON_LOWER "* ]]; then
|
||||
user="$(jq -r --arg addon "$addon" '.[$addon]' .github/addon_submitters.json)"
|
||||
if [ -z "$user" ] || [ "$user" = "null" ]; then
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user