From 0cdb0376130c30b2f6262bb0120b6ece41dcde4d Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Thu, 16 Mar 2023 23:28:25 +0100 Subject: [PATCH] Fix the ci action taking branches from .git --- .github/scripts/validate-and-lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}