We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0803f commit 054f77fCopy full SHA for 054f77f
1 file changed
.github/workflows/validate_schemas.yml
@@ -19,7 +19,7 @@ jobs:
19
run: |
20
echo "Finding YAML and JSON files with a \$schema property…"
21
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" | paste -sd '|' -)
+ json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | grep -v "context7.json" | paste -sd '|' -)
23
all_files=$(echo -e "$files\n$json_files" | paste -sd '|' -)
24
if [ -z "$all_files" ]; then
25
echo "No YAML or JSON files with \$schema were found."
@@ -35,4 +35,3 @@ jobs:
35
uses: cardinalby/schema-validator-action@v3
36
with:
37
file: ${{ steps.collect.outputs.files }}
38
- mode: spec
0 commit comments