diff --git a/.github/workflows/validate_schemas.yml b/.github/workflows/validate_schemas.yml index 337cf8b4e..9a8e69d4d 100644 --- a/.github/workflows/validate_schemas.yml +++ b/.github/workflows/validate_schemas.yml @@ -19,7 +19,7 @@ jobs: run: | echo "Finding YAML and JSON files with a \$schema property…" files=$(grep -rl "\$schema:" . --include="*.yaml" --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -) - json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | grep -v "context7.json" | paste -sd '|' -) + json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -) all_files=$(echo -e "$files\n$json_files" | paste -sd '|' -) if [ -z "$all_files" ]; then echo "No YAML or JSON files with \$schema were found."