Skip to content

Commit 054f77f

Browse files
committed
re-skip
1 parent ad0803f commit 054f77f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/validate_schemas.yml

Lines changed: 1 addition & 2 deletions
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" | paste -sd '|' -)
22+
json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | grep -v "context7.json" | 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."
@@ -35,4 +35,3 @@ jobs:
3535
uses: cardinalby/schema-validator-action@v3
3636
with:
3737
file: ${{ steps.collect.outputs.files }}
38-
mode: spec

0 commit comments

Comments
 (0)