Skip to content

Commit 81e7d70

Browse files
committed
validate context7 schema
1 parent fce9a81 commit 81e7d70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.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)