Skip to content

Commit

Permalink
Conditional json validate
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Dec 11, 2023
1 parent abf9d36 commit b1b0bd8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/json_validate.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit b1b0bd8

Please sign in to comment.