diff --git a/.github/scripts/validate-and-lint.sh b/.github/scripts/validate-and-lint.sh index f3dfc1c91..cfb5d5fd4 100755 --- a/.github/scripts/validate-and-lint.sh +++ b/.github/scripts/validate-and-lint.sh @@ -22,7 +22,7 @@ while IFS= read -r -d $'\0' filename; do fi # Remove temp file rm "${filename}.pretty" -done < <(/usr/bin/find . -type f \( -name "*.xsd" -or -name "*.xml" \) -print0) +done < <(/usr/bin/find . -type f \( -name "*.xsd" -or -name "*.xml" \) -not -path "./git" -print0) if [ ${PARSING_ERROR} -ne 0 ]; then exit ${PARSING_ERROR}