Add measurements for the Shelly Wave 1PM Mini Z-wave switch #1775
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate-light-model | |
on: | |
pull_request_target: | |
paths: | |
- '**/model.json' | |
- 'profile_library/model_schema.json' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
validate_model_json: | |
name: Validate model.json | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- name: Validate model.json against schema | |
uses: bramstroker/json-schema-validator@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
json_schema: ./profile_library/model_schema.json | |
json_path_pattern: model.json$ | |
send_comment: true | |
clear_comments: true |