diff --git a/.github/workflows/json_validate.yml b/.github/workflows/json_validate.yml index 136014d07..1b8fa1f33 100644 --- a/.github/workflows/json_validate.yml +++ b/.github/workflows/json_validate.yml @@ -1,6 +1,14 @@ name: Validate JSONs -on: [push, pull_request] +on: + push: + paths: + - 'custom_components/battery_notes/data/**' + - '.github/workflows/**' + pull_request: + paths: + - 'custom_components/battery_notes/data/**' + - '.github/workflows/**' jobs: verify-json-validation: