Skip to content

Commit

Permalink
Restrict validation to pull request related only to schema folders.
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Ralf <[email protected]>
  • Loading branch information
nakohdo committed Aug 1, 2024
1 parent abae54b commit 97f65b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/validate-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
# Forked from: https://github.com/marketplace/actions/validate-json
name: Validate JSON schemas for assets and materials

on: pull_request
on:
pull_request:
paths:
- 'examples/**'
- 'schemas/**'

jobs:
json-schema-validation:
Expand Down

0 comments on commit 97f65b1

Please sign in to comment.