Skip to content

Commit d9f0f2e

Browse files
authored
validate context7 schema (#339)
1 parent 09ebdb6 commit d9f0f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate_schemas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: |
2020
echo "Finding YAML and JSON files with a \$schema property…"
2121
files=$(grep -rl "\$schema:" . --include="*.yaml" --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -)
22-
json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | grep -v "context7.json" | paste -sd '|' -)
22+
json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -)
2323
all_files=$(echo -e "$files\n$json_files" | paste -sd '|' -)
2424
if [ -z "$all_files" ]; then
2525
echo "No YAML or JSON files with \$schema were found."

0 commit comments

Comments
 (0)