Files
NSPanel_HA_Blueprint/.github/workflows/validate_esphome.yml
2023-10-11 11:47:01 +02:00

28 lines
968 B
YAML

name: Validate ESPHome YAML
on:
push:
paths:
- "nspanel_esphome_*.yaml"
pull_request:
#schedule:
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
code_scan:
name: Validate ESPHome YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
- name: Validate nspanel_esphome_advanced.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_advanced.yaml
- name: Validate nspanel_esphome_addon_climate_cool.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_cool.yaml
- name: Validate nspanel_esphome_addon_climate_heat.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
- name: Validate nspanel_esphome_prebuilt.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_prebuilt.yaml