Skip to content

Commit

Permalink
Fix the ci action taking branches from .git (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
skinkie authored Mar 16, 2023
1 parent 241cf4b commit e5ce837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/validate-and-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e5ce837

Please sign in to comment.