diff --git a/.github/scripts/changed-files.sh b/.github/scripts/changed-files.sh index b5bf7f294d..f44c6fc26b 100755 --- a/.github/scripts/changed-files.sh +++ b/.github/scripts/changed-files.sh @@ -35,16 +35,16 @@ if ! files="$(git diff "${base_commit}...${head_commit}" --name-only)"; then fi for file in $(awk -F "/" '{ print $1}' <<< "$files" | uniq); do - if [[ "$file" =~ "changelog" ]]; then + if [[ "$file" == "changelog" ]]; then continue fi - if [[ "$file" =~ "website" ]]; then + if [[ "$file" == "website" ]]; then docs_changed=true continue fi - if [[ "$file" =~ "ui" ]]; then + if [[ "$file" == "ui" ]]; then ui_changed=true continue fi